Next Article in Journal
Study on the Evolution of Mechanical Properties and Acoustic Emission of Medium-Permeability Sandstone under Multi-Level Cyclic Loading Stress Paths
Previous Article in Journal
Qualitative and Quantitative Potential of Low-Cost Near-Infrared (NIR) Devices for Rapid Analysis of Infant Formulas for Regular and Special Needs
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Integrating MILP, Discrete-Event Simulation, and Data-Driven Models for Distributed Flow Shop Scheduling Using Benders Cuts

by
Roderich Wallrath
1,2,* and
Meik B. Franke
1
1
Sustainable Process Technology, Faculty of Science and Technology, University of Twente, Drienerlolaan 5, 7522 NB Enschede, The Netherlands
2
Bayer AG, Kaiser-Wilhelm-Allee 1, 51373 Leverkusen, Germany
*
Author to whom correspondence should be addressed.
Processes 2024, 12(8), 1772; https://doi.org/10.3390/pr12081772
Submission received: 20 July 2024 / Revised: 12 August 2024 / Accepted: 20 August 2024 / Published: 21 August 2024
(This article belongs to the Section Advanced Digital and Other Processes)

Abstract

:
Digitalization plays a crucial role in improving the performance of chemical companies. In this context, different modeling, simulation, and optimization techniques such as MILP, discrete-event simulation (DES), and data-driven (DD) models are being used. Due to their heterogeneity, these techniques must be executed individually, and holistic optimization is manual and time-consuming. We propose Benders decomposition to combine these techniques into one rigorous optimization procedure. The main idea is that heterogeneous models can simultaneously be optimized as Benders subproblems. We illustrate this concept with the distributed permutation flow shop scheduling problem (DPFSP) and assume that a MILP, DES, and DD model exist for three flow shops. Our approach can compute bounds and report gap information on the optimal makespan for five medium-sized literature instances. The approach is promising because it enables the optimization of heterogeneous models and makes it possible to build optimization capabilities on an existing model and tool landscape in chemical companies.

1. Introduction

In the chemical industry, advanced modeling and optimization techniques are crucial for operational decision-making. Their relevance is growing with the digital transformation of production, increasing sustainability requirements, and tougher global competition. Chemical companies often use a variety of different modeling and optimization techniques, each adapted for specific purposes and each with its own strengths and limitations. For example, mixed integer linear programming (MILP) can capture the discrete and continuous aspects of scheduling and planning problems, but it requires problem abstraction and simplification to have acceptable solution times. Discrete-event simulation (DES) can represent the dynamic behavior from the supply chain to the shop floor level in detail and can include stochastic effects, but it is costly to optimize DES models, and the solution quality can be inferior to MILP. Data-driven (DD) methods can exploit large amounts of data and bridge the gap if first principles are not known or are too complicated, but solutions may lack interpretability and causality, and the solution reliability can be inferior to MILP and DES.
As a result, modeling and optimization techniques may exist in many successful but siloed applications. A unifying, rigorous optimization framework is lacking, which would enable chemical companies to move from traditional, component-oriented optimization to system-wide optimization. Different research attempts on this topic have already been made. The need for integrated methods in optimization is studied in [1], and a unified treatment of mathematical programming, constraint programming, and global optimization is suggested. However, simulation techniques and data-driven approaches are not addressed. In [2], a bibliometric analysis of hybrid approaches involving optimization and machine learning algorithms is conducted. It shows that there is a growing interest in combining metaheuristic approaches, such as particle swarm optimization, with machine learning techniques. However, the integration of rigorous optimization techniques is not covered in the analysis. In [3], a comprehensive overview and taxonomy of simulation-optimization methods are given, and the synergies between the methods are discussed. However, the authors conclude that there are gaps in the simulation-optimization interaction matrix, and they specifically suggest investigating the AME-OSI combination. In this combination, the optimization proceeds in iterations that contain one or more simulation runs (OSI), and each run is used to refine and enhance the analytical model (AME). Furthermore, unifying optimization and decision-making frameworks have already been suggested for industrial settings, for example, to support collaborative supply chain decision-making in the chemical industry [4], to optimize supplier selection for green and sustainable supply chains [5], and to improve operational strategies and overall decision orchestration in pharmaceutical companies [6]. However, these frameworks operate on a conceptual level, and they lack a rigorous, algorithmic integration layer that interlinks the different methods, models, and tools.
Herein, we propose a novel framework that integrates MILP, DES, and DD models into one rigorous optimization framework for production scheduling in the chemical industry. The main idea is based on [7,8,9], which suggests using Benders decomposition for a MILP-DES integration. The advantage of Benders decomposition is that different model types can be considered in the different subproblems as long as Benders cuts can be generated from the subproblem solutions. In this work, we use this concept to integrate three different model types into one optimization framework. We show that the integration of MILP, DES, and DD models is possible and that the Benders master problem can guide the search process in these models efficiently while yielding dual bounds on the overall problem. We apply our approach to literature instances of the well-known distributed permutation flow shop scheduling problem (DPFSP) with a makespan minimization objective, as presented in [10]. The DPFSP is an important real-world problem in production and supply chain management in chemical companies and is one of the fastest-growing topics in the scheduling and operations research literature [11]. Production and supply chain management are very often related to heterogeneous methods, models, and tools that originate from the different regions, manufacturing sites, and production plants of chemical companies. To this end, we study DPFSP instances featuring three factories (plants) and assume that a MILP, a DES, and a DD model exist for these factories. To the best of our knowledge, this is the first approach that integrates different simulation and optimization methods rigorously and provides a comprehensive and flexible solution framework for the pre-existing and specialized models and tools in chemical companies.
The rest of the article is structured as follows: In Section 2, we review current approaches to distributed flow shop (DFS) optimization and Benders decomposition. In Section 3, we present the optimization framework featuring the Benders master problem, Benders cuts, and different types of subproblems. In Section 4, we apply our approach to a literature case study of a DPFSP featuring three factories, represented by a MILP, DES, and DD model, and discuss the progression of the upper and lower bounds. In Section 5, we discuss the approach from an industrial perspective. In Section 6, we present ethical considerations and conclude with an outlook for future research in Section 7.

2. Literature

In the following, we briefly review current techniques for DFS optimization as well as Benders decomposition.

2.1. Distributed Flow Shop Optimization

A DFS consists of several flow shops arranged in parallel. DFS scheduling is the task of assigning each job to one of the flow shops and sequencing all jobs in each flow shop. The decision variables, therefore, include assignment and sequence variables. Each flow shop consists of multiple machines, and the sequence (permutation) of the jobs can either change between the machines (distributed non-permutation flow shop) or be fixed (distributed permutation flow shop). DFS scheduling, as initially mentioned in [12], can therefore be seen as a combination of parallel machine scheduling [13,14,15,16] and flow shop scheduling [17,18,19], which are both well-studied problems. Reviews and classifications of DFS scheduling problems have recently been proposed [11,20].
DFS scheduling problems are most commonly solved with the makespan minimization objective [21], which translates into the minimization of the maximum completion time among all jobs. A standard method for DFS scheduling is mathematical programming, such as MILP [10] or constraint programming (CP) [22]. A general advantage of mathematical programming lies in its ability to use the structure of closed-form models to optimize the solution process, for example, by generating cuts, solving the dual problem, and pruning the search space. However, a mathematical programming model must be set up, which is often a difficult and time-consuming task. Especially for complex systems, such as real-world DFS, building accurate and tractable mathematical models quickly becomes an impossible task from a practical point of view. In this context, heuristics and metaheuristics become important alternatives because they do not require mathematical programming models. Since they are based on the systematic evaluation of a black-box model, simulation and DD models can be used. Heuristic approaches have traditionally held a very strong position for DFS scheduling due to their simplicity and effectiveness. Based on the well-known Nawaz-Enscore-Ham (NEH) heuristic for simple flow shop problems [23], an improved heuristic that implements a novel insertion rule is proposed [24]. Closely related are iterated greedy methods, as initially proposed for permutation flow shops in [25]. The basic idea is to repeatedly construct an initial solution, destruct it by removing some jobs, and then reconstruct it by re-inserting the removed jobs in a new sequence to find a potentially better solution. This iterative process, combined with local search heuristics and optimization techniques, is one of the most successful approaches to DFS scheduling and has led to multiple research contributions. In [26], a modified iterated greedy procedure is adopted for the DPFSP. To this end, a bounded search iterated greedy algorithm is presented in [27], which exploits the specific structure of DPFSP. The authors claim that their heuristic improved the state-of-the-art of existing heuristics at that time. In [28], an enhanced two-stage iterated greedy method is suggested, which again led to a significant performance improvement. In addition to heuristic approaches, different metaheuristics, such as scatter search [29], taboo search [30], and genetic algorithms [31], have been adopted successfully. Although they are not always as efficient as heuristic approaches, metaheuristics generally require less customization as they are based on general and versatile search strategies. In addition, many standard packages are available as open-source codes for metaheuristics. Both heuristic and metaheuristic methods are compatible with a variety of different model types, as long as they can be evaluated as a black-box model. Therefore, they could also be used to optimize heterogeneous models.
However, heuristics and metaheuristics have two crucial drawbacks. Since they are primal search methods, they do not use dual bounds to reduce the search space and do not provide optimality gap information. Hence, finding good solutions relies on smart, but ultimately brute-force, primal search strategies. The solution quality cannot be assessed by optimality gap information, and the user must decide when to terminate the search process, leaving the potential solution improvement unknown. This work presents an alternative mathematical optimization framework that is capable of integrating heterogeneous models, uses dual bounds, and reports optimality gap information. The framework is based on Benders decomposition, which we review in the following.

2.2. Benders Decomposition

Benders decomposition [32] is a technique in mathematical programming that allows the splitting of the variables of an optimization problem into complicating and non-complicating variables to obtain a master problem with the complicating variables and independent subproblems with the non-complicating variables. The master and subproblems are solved individually in an iterative procedure in which constraints (Benders cuts) are generated from the dual information of subproblem solutions and added to the master problem. The advantage of Benders decomposition is that smaller, tractable subproblems are obtained, which can be treated, for example, using specialized algorithms. In [33], Benders decomposition is used to solve an improved, position-based MILP model of the DPSFP. The master problem contains the binary decision variables that encode the factory assignment and position of jobs. The subproblems contain the continuous decision variables, which are the completion times of jobs. A hybrid Benders decomposition algorithm is presented, which applies the local search algorithm (LS3) [28] to improve each master problem solution heuristically before sending it to the subproblems. With the improved and original master problem solution, two cuts are generated in each Benders iteration, which accelerates the convergence of the algorithm. In [34], the mixed no-idle permutation flow shop scheduling problem is solved using a similar concept. The referenced local search heuristic (RLS) [35] is used to generate several neighborhood master solutions, which lead to multiple Benders cuts. To the best of our knowledge, these are the only reported applications of Benders decomposition for (distributed) flow shop scheduling problems. Furthermore, in these applications, the subproblems are linear programs (LPs), which result from fixing the integer variables of the original MILP model. Therefore, we extend our literature analysis to Benders decomposition applied to scheduling problems in general, in which the subproblems do not directly come from the original MILP model but are of different types.
In [36], the Benders decomposition concept is generalized, and logic-based Benders cuts are proposed, which may be derived from any type of subproblem as long as the cuts represent valid inequalities. The combination of a MILP master problem and CP subproblem is well-known and shows superior performance over monolithic MILP or CP models for many types of scheduling problems, such as project scheduling with multi-skilled personnel [37], single batching machine scheduling [38], preemptive flexible job-shop scheduling [39], and two-stage flexible flow shop scheduling with unrelated parallel machines [40]. The idea of using a DES model as a subproblem in the Benders decomposition framework is relatively new. In one of the first examples [8], this concept is suggested to optimize the buffer allocation problem (BAP) in multi-stage serial-parallel manufacturing systems. Benders cuts are derived from a DES model to find the optimal design parameters of a joint workstation, workload, and buffer allocation system. In [9], this concept is further developed, and improved logic-based Benders cuts are proposed for the master problem to solve operational scheduling tasks. The approach is applied to a shift scheduling problem as well as a personnel allocation problem and can solve realistic-sized instances exactly in reasonable computing times.
This work presents a novel use case for Benders decomposition. In contrast to [7,8,9], we apply Benders decomposition to the DPFSP. In contrast to [33], we use three different model types in the subproblems and thereby leverage Benders decomposition as an integration framework, which can be used to combine pre-existing heterogeneous models in the chemical industry.

3. Methodology

We first introduce the general concept of using Benders decomposition with heterogeneous subproblems in Section 3.1 and then adopt the concept of distributed permutation flow shops in Section 3.2.

3.1. Benders Decomposition with Heterogeneous Subproblems

We consider the minimization problem shown in Equation (1) involving continuous variables x R n and binary variables y 0 , 1 n . Benders decomposition can be applied with respect to x and y , such that (1) decomposes into a part (1d), which contains the combinatorial complexity and encodes the logical behavior, and a part (1c), which involves continuous decisions that are linked to the binary decisions.
min z
z = c T x
s . t .       A x + B y b  
C y d
x 0
y 0 , 1 n
This yields the MILP Benders master problem in (2), which computes lower bounds μ on z . The master problem consists of the constraints block (1d) of the original problem, optimality cuts μ   u T b B x with u   O O , and feasibility cuts 0 u T b B x with u   F F , that are generated based on solutions of the subproblems (1c). The set O contains all dual solutions of (1) for which the dual problem is feasible and bounded, while the set F contains all dual solutions for which the dual problem is unbounded. However, we only need to generate cuts from the subsets O and F , since only a finite number of cuts are active constraints in the optimum of (2).
min μ s . t .   μ u T b B y         u O 0 u T b B y         u F C y d   μ R y 0 , 1 n
In each Benders iteration, we obtain a solution vector y ^ from (2). Based on y ^ , we solve the individual subproblems of the form (3), where y ^ s is the part of the solution vector y ^ that corresponds to subproblem s S , x s is the corresponding part of the decision vector x , and A s , B s , b s , and c s T describe subproblem s .
min z s s . t .   z s =   c s T x s A s x s + B s y ^ s b s     x s 0
We argue that this classical Benders decomposition framework can be used to integrate LP, DES, and DD models for the DPFSP, as illustrated in Figure 1. The basic idea is to generate Benders cuts from an LP model f L P , a DES model f D E S , and a DD model f D D which act as the Benders subproblems, such that S = { L P ,   D E S ,   D D } . For the LP subproblem, the dual multipliers u L P can be directly retrieved from the dual solution. For the DES subproblem, the dual multipliers u D E S correspond to the sensitivity information of the DES solutions and can be derived, using a dual mapping. For the DD subproblem, no dual multipliers can be derived and only the objective value information z D D can be used to generate logic-based Benders cuts of the form μ E D D y D D + e D D , where the cut parameters E D D and e D D are determined through the evaluation of the DD models. For all three models feasibility cuts can be formulated that exclude y ^ s from the feasible set of the master problem. In the following, this concept is explained in more detail and applied to the DPFSP.

3.2. Application to the DPFSP

We consider the DPFSP as reviewed in Section 2.1, assume the makespan minimization objective, and apply Benders decomposition as discussed in Section 3.1, which leads to a mixed-integer programming (MIP) master problem and three subproblems of different model types. The task of the master problem is to assign each job to a factory and determine the sequence of the jobs for each factory. The task of the subproblems is to compute the makespan (primal information) and, if possible, the makespan sensitivity (dual information), from which the dual multipliers and Benders cuts are derived.
MIP master problem. The Benders master problem (4) is based on job sequencing variables y i j f , which are equal to one if job i precedes job j on factory f and are zero otherwise, as well as job assignment variables a i f , which are equal to one if job i is assigned to factory f and are zero otherwise. Constraints (4e) ensure that each job is assigned to exactly one factory, and constraints (4f) enforce the precedence relation between two jobs that are assigned to the same factory. Constraints (4g) and (4h) assign an artificial job with index zero to each factory and schedule it as the first job. As a result, it is possible to express the precedence relation of all real jobs i , j by y i j f 0 , which is needed to build the Benders optimality cuts. We do not need to consider feasibility cuts for the DPSFP because the flow shop subproblems always return primal feasible solutions when a set of jobs and permutations are assigned to them. Constraints (4b) are the optimality cuts from the LP subproblem; constraints (4c) are the optimality cuts from the DES subproblem; and constraints (4d) are the approximative optimality cuts from the DD subproblem. The parameter vector t s contains the processing times of all jobs assigned to subproblem s , and T is a Big-M factor. The underlying assumption of the cuts (4d) is that each job assigned to the DD subproblem contributes to the makespan z D D equally, where N D D is the number of jobs assigned to the DD subproblem. Therefore, we compute the average makespan contribution per job z D D N D D and assume that a change in the job permutation causes a relaxation by z D D N D D . While this approximation may exclude combinatorial effects on the makespan and therefore may cut off the global optimum, it strengthens the cuts. Furthermore, we select these approximative optimality cuts for the DD subproblem because we introduce some model inaccuracies compared to the LP and DES models, as we use a deep neural network to approximate the flow shop.
min µ
s . t .         μ u L P T t L P T ( 1 y L P )     u L P O L P  
μ u D E S T t D E S T ( 1 y D E S )     u D E S O D E S
μ y D D T z D D N D D , , z D D N D D     N D D , z D D O D D
f = 1 K a i f   = 1     i 1 , , N
y i j f + y j i f = a i f a j f     i , j 1 , , N i j ,               f 1 , , F
a 0 f = 0     f 1 , , K
y i 0 f = 0     i 1 , , N ,   f 1 , , K
In each Benders iteration, the master problem (4) is solved, which yields a lower bound on the makespan c m a x of the DPFSP as well as a job assignment and permutation for each factory subproblem. The subproblems compute the dual multipliers { u L P ,   u D E S } and individual makespans { z L P , z D E S , z D D } . Based on this primal and dual feedback, Benders cuts are formulated and added to (4), and an upper bound on c m a x is computed. The resulting algorithm is shown in Algorithm 1. Computational settings for the MIP master problem are shown in Table 1, and general system settings are shown in Appendix B, Table A2. In the following, we introduce the flow shop subproblems.
Algorithm 1: Benders Algorithm.
  Input: DPFSP featuring MILP, DES, and DD subproblem
  Output: Makespan-optimized schedule ( c m a x , δ ) containing job assignments a i f and job sequences y i j f  
Initialize: c m a x = ,   δ = , k = 0 , t = 0
  while ( k < maximum iterations and t < timeout and δ > 0) do
    solve Benders master problem and obtain μ k
    solve subproblems with current master solution a i f k , y i j f k
    obtain makespan c m a x k = m a x c m a x , 1 k , c m a x , 2 k , c m a x , 3 k
derive dual multipliers u L P k , u D E S k and parameters E D D , e D D
    build Benders cut for MILP, DES, and DD subproblem
add Benders cuts to the master problem
    if ( c m a x k < c m a x ) do
      update upper bound: c m a x c m a x k
    update current gap: δ c m a x μ k c m a x
increment k and t
LP subproblem. The LP subproblem represents factory one and consists of a MILP model (with fixed integer variables) of a permutation flow shop featuring m machines as shown in (5). Given an input job permutation y ^ L P , the completion time c i m 1 of each job i assigned to this factory is computed for each machine m . The objective is to minimize the makespan z L P = c m a x , 1 . The intra-machine constraints (5b) enforce the job sequence induced by y ^ L P , where t j m 1 is the processing time of job i on machine m in factory 1 and T is a Big-M factor. The inter-machine constraints (5c) enforce valid completion times as jobs move from one machine m to the next m + 1 in the flow shop. From each solution of this model, dual multipliers u L P are obtained, which correspond to the active constraints (5b) and (5c) given the job permutation y ^ L P . Based on u L P , the Benders cuts (4b) are built. Computational settings for the LP subproblem are shown in Table 1.
min c m a x , 1
s . t .                         c i m 1 + t j m 1   c j m 1 + T 1 y ^ i j 1     i , j 1 , , N i j ,   m 1 , , M
c i m 1 + t i m 1   c i ( m + 1 ) 1 + T 1 a ^ i 1       i 1 , , N ,   m 1 , , M 1
c m a x , 1 c i M 1                   i 1 , , N
DES subproblem. The DES subproblem represents factory two and consists of a DES model of a permutation flow shop featuring m machines as shown in Figure 2. Given an input job permutation y ^ D E S , the completion times c i m 2 of each job i assigned to this factory are computed for each machine m . The objective is to minimize the makespan z D E S = c m a x , 2 of this factory. From each solution of the DES model, dual multipliers u D E S are computed using the concept of critical path mapping as described in [7]. Based on u D E S , the Benders cuts (4c) are built. The computational settings for the DES subproblem are shown in Table 2.
DD subproblem. The DD subproblem represents factory three and consists of a deep neural network model as specified in Table 3. The model input is a job permutation y ^ D D and the output is the makespan z D D = c m a x , 3 . The model was trained on 400,000 randomly generated job permutations, based on which makespans were computed using a DES model. The training progression of one exemplary literature instance is shown in Figure 3. Note that we had to build a DD model artificially by sampling the DES model because we wanted to illustrate the functionality of Benders decomposition for heterogeneous models. In real-world settings, DD models often pre-exist and are the only way to query complex production data sets for KPIs such as the makespan.

4. Computational Studies

We consider the five DPFSP instances (Instances and solutions taken from http://soa.iti.es/problem-instances, accessed on 2 February 2024), as presented in [10], featuring K = 3 factories, M = 5 machines, and N = 10 jobs. The literature IDs of the instances we used are given in Appendix A, Table A1. According to [10], the number of possible solutions for instances of this size is 66 * 10 ! = 239500800 .
We analyze the upper- and lower-bound progression reported by the Benders algorithm with respect to the Benders iterations. Figure 4 shows that for all instances, meaningful lower bounds are found. Both lower bounds (LB) and upper bounds (UB) improve as the algorithm progresses. For four of the five instances, the Benders algorithm approximates the best-known literature solution through LBs and UBs. For instance, in 86, a better UB than the best-known literature solution is found.
For all instances, the remaining optimality gap δ = ( U B L B ) / U B after 3000 Benders iterations and approximately ten hours of solution time is still more than 29 percent, as shown in Table 4, which shows some limitations of the approach. The relatively large remaining gap is due to the large number of possible solutions compared to the relatively small number of iterations and the fact that the Benders cuts cannot cover the large, combinatorial decision space sufficiently. We build the Benders cuts based on precedence variables y i j f and Big-M factors T for the LP and DES subproblems to obtain a strong relaxation mechanism in the cuts. This mechanism is necessary, because a master solution that differs in one element y i j f from a previously evaluated master solution might lead to a completely different makespan. Therefore, a relaxation by T is required to account for combinatorial effects for the exact LP and DES models. Furthermore, as the processing times of jobs are not factory-specific and we only use simple Benders cuts, symmetric solutions arise, which may add to the slow convergence. They could be addressed using symmetry-breaking constraints, which could lead to an improvement in the effectiveness of the cuts and tighter LBs.
Despite these areas of improvement, we conclude that the Benders algorithm yields acceptable UBs after moderate solution time, which proves our concept of rigorous optimization on a set S of heterogeneous models { L P ,   D E S ,   D D } . In addition to the UBs, remaining optimality gaps δ are reported, which determine when to terminate the search process. The gap information is not available with primal search methods and therefore qualitatively distinguishes the Benders algorithm from heuristic and meta-heuristic approaches. On the other hand, it is known that these approaches are very effective when adapted to scheduling problems such as the DPFSP. They remain the best alternative if no gap information is required, since in this case no dual information has to be extracted from the subproblems, Benders cuts have to be formed, or a Benders master problem has to be solved, which is a computational disadvantage of the Benders algorithm compared to primal search methods.

5. Discussion and Practical Examples

The computational results show that Benders decomposition can be used to integrate heterogeneous flow shop problems and solve DFS scheduling problems with a makespan minimization objective. In the following, we discuss this approach from an industrial perspective and highlight two practical examples in supply chain and operations management in the chemical industry to which the optimization framework can be applied.
In the decision-making hierarchy of chemical companies, the link between supply chain planning and site manufacturing is critical for optimal operations. A common approach is to optimize a global supply chain model, resulting in setpoints and production targets for sites and plants. The shop floor level is not considered in detail in the global model and usually must be flexible enough to fulfill the propagated targets. On the other hand, detailed process models may exist on the site or plant level, which include all relevant shop floor constraints, such as process utilities, personnel, logistics, purchasing, maintenance, and downtime constraints. The Benders algorithm can be used to integrate these models with the global supply-chain model, ensuring optimized and feasible operations. Assessing the impact of changes at the supply chain level on production can then help reduce the cost of flexibility in production.
In chemical companies, often a range of different, heterogeneous models and tools pre-exist. The integration of these models into a single optimization framework is one advantage of the proposed approach. In addition, the ability to combine different model types gives modeling experts the freedom to select the best-fitting modeling technique for a given problem. While DES models may be suitable to describe large-scale systems with many constraints in continuous time, MILP can be used when systems are easy to describe but difficult to optimize. Similarly, DD or hybrid models might be the best-fitting solution for specific problems. As long as these models can be queried as black-box models and Benders cuts can be formulated, potentially based on dual information, they can be used in the proposed framework.
While we discussed two examples in the chemical industry, the proposed approach has broader implications that could extend to other industries such as pharmaceuticals and energy. The integration of diverse modeling techniques can enhance manufacturing science and technology (MSAT) in pharmaceutical companies as well as sector coupling and energy transition modeling in energy companies. Additionally, the framework has the potential to advance future technological developments, such as Industry 4.0 and smart manufacturing, by enabling more efficient and integrated decision-making across functional areas of companies.

6. Ethical Considerations

The integration of MILP, DES, and DD models into a unified optimization framework for production scheduling in the chemical industry brings with it several ethical considerations. These considerations revolve around data usage, model assumptions, and the potential impacts on stakeholders and are reviewed in the following.

6.1. Data Usage

The framework relies heavily on data to drive decisions, especially in the DD models. It is essential to ensure that the data used is obtained, stored, and processed in compliance with relevant legal and ethical guidelines, such as data protection regulations such as GDPR. The use of large datasets, potentially involving sensitive information, such as processing times and personnel constraints, must be handled with strict confidentiality to avoid unauthorized access or misuse. Another important consideration is the potential for biases in the data that feeds into the models. For instance, DD models for some chemical plants might be built using real process data, capturing the true operational conditions and challenges. In contrast, other plants might rely on DES and MILP models that are based on idealized process data, which may not fully reflect the complexities and variability of actual operations. This discrepancy can introduce biases, leading to solutions that are more tailored to some plants than others, potentially resulting in uneven performance outcomes and inefficiencies. Addressing these biases is crucial to ensuring that the optimization framework provides fair and accurate solutions across all plants and does not favor certain job-plant assignments a i f due to the nature of the underlying data and model type.

6.2. Model Assumptions

The assumptions and modeling depth of MILP, DES, and DD models can have significant implications. For instance, simplifying complex real-world problems for tractability might overlook critical factors that could impact the validity and reliability of the solutions. The ethical challenge here is to find a balance between model simplification for computational efficiency and the accuracy of real-world representation. Transparency in documenting and communicating these assumptions is essential to ensuring that users are aware of the limitations and potential implications of the models. Furthermore, the integration of models using Benders decomposition introduces its own set of assumptions and limitations in the form of Benders cuts, which need to be critically validated to ensure reliable results.

6.3. Potential Impact on Stakeholders

The deployment of the framework in chemical companies can have wide-ranging impacts on various stakeholders, including employees, customers, and the environment. For employees, the introduction of the framework could lead to changes in job roles, especially if production planning and scheduling become automated. Ethically, it is important to consider the social responsibility of companies in managing such transitions, including providing retraining and other forms of support to affected groups. From an environmental perspective, while the framework aims to optimize the make-up of batch processes, there is a risk that the primary focus on efficiency and throughput could overshadow aspects of sustainability. Ensuring that environmental impact is factored into the optimization process is crucial to prevent negative consequences, such as increased changeover costs, waste or energy consumption due to job sequencing decisions y i j f , and increased logistics costs due to job-plant assignments a i f . Lastly, the use of this framework in decision-making must be carefully monitored to prevent any form of discrimination or inequity, particularly if the models favor certain outcomes over others due to biased data or assumptions. The framework must include mechanisms for ongoing verification and validation to ensure fairness and ethical integrity in its application.

7. Conclusions and Outlook

In this study, we showed how Benders decomposition can be used as an integration concept for heterogeneous models, that is, to combine models of different types into one rigorous optimization framework. We illustrated this concept with the class of the DPFSP and assumed that a MILP, DES, and DD model exist for three different flow shops. To this end, we solved five literature instances of the DPFSP from [10] and observed that the proposed algorithm can report upper and lower bounds as well as remaining gap information on the optimal makespan.
This work is early conceptual research, along with the first computational studies. There are areas for improvement and potential for future work. The remaining gap after 3000 Benders iterations and approximately ten hours of solution time is still more than 29%, which highlights the issues of convergence that still need to be addressed. Therefore, future work should focus on cut generation, for example, by combining the approach with a branch and Benders cut algorithm [41] or by deriving more no-good cuts in each Benders iteration using similar procedures as the CB separation heuristic in [42]. In addition, with the topic of DFS scheduling gaining more attention over the last few years, it would be interesting to apply the approach to a larger, more diverse, real-world case study. The ability to perform rigorous optimization on systems with heterogeneous models also has interesting practical advantages, such as optimality gap information and system integration, which could be explored further on this basis.

Author Contributions

Conceptualization, R.W.; Methodology, R.W.; Software, R.W.; Validation, R.W.; Formal analysis, R.W.; Investigation, R.W.; Data curation, R.W.; Writing—original draft, R.W.; Writing—review & editing, R.W. and M.B.F.; Visualization, R.W.; Supervision, M.B.F.; Project administration, M.B.F. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Data Availability Statement

The original contributions presented in this study are included in the article; further inquiries can be directed to the corresponding author.

Conflicts of Interest

Author Roderich Wallrath is employed by Bayer AG. The authors declare that this research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.

Abbreviations

K Number of factories
M Number of machines
N Number of jobs
x Continuous decision variables
y Binary decision variables
z Generic objective function
c Generic objective function coefficient vector
A , B , b , d Generic constraint coefficient matrices and right-hand sides
μ Generic objective function of Benders master problem
u Generic dual multiplier
O Set of specific dual vectors of optimality cuts of Benders master problem
O Set of all dual vectors of optimality cuts of Benders master problem
F Set of specific dual vectors of feasibility cuts of Benders master problem
F Set of all dual vectors of feasibility cuts of Benders master problem
s Specific subproblem of all considered subproblems S
f s Function notation of a specific subproblem s S
E D D , e D D Logic-based Benders cuts parameters from DD subproblem
y i j f Job sequence variable
a i f Job assignment variable
T Big-M factor
N D D Number of jobs assigned to DD subproblem
c i m f Completion time of a job
t i m f Processing time of a job
δ Current optimality gap

Appendix A

Table A1. Literature ID of instances from http://soa.iti.es/problem-instances, accessed on 2 February 2024.
Table A1. Literature ID of instances from http://soa.iti.es/problem-instances, accessed on 2 February 2024.
InstanceLiterature Name
81l_3_10_5_1.txt
82l_3_10_5_2.txt
85l_3_10_5_3.txt
86l_3_10_5_4.txt
87l_3_10_5_5.txt

Appendix B

Table A2. General system settings.
Table A2. General system settings.
ParameterValue
CPU cores64
CPU speedIntel Xenon Gold 6338 @ 2.00 GHz
RAM256 GB
Operating systemWindows 11 Enterprise

References

  1. Hooker, J. Integrated Methods for Optimization; Springer Nature: Dordrecht, The Netherlands, 2012. [Google Scholar]
  2. Azevedo, B.F.; Rocha, A.M.A.C.; Pereira, A.I. Hybrid approaches to optimization and machine learning methods: A systematic literature review. Mach. Learn. 2024, 113, 4055–4097. [Google Scholar]
  3. Figueira, G.; Almada-Lobo, B. Hybrid simulation–optimization methods: A taxonomy and discussion. Simul. Model. Pract. Theory 2014, 46, 118–134. [Google Scholar]
  4. García-Flores, R.; Wang, X.Z. A multi-agent system for chemical supply chain simulation and management support. OR Spectr. 2002, 24, 343–370. [Google Scholar]
  5. Luthra, S.; Govindan, K.; Kannan, D.; Mangla, S.K.; Garg, C.P. An integrated framework for sustainable supplier selection and evaluation in supply chains. J. Clean. Prod. 2017, 140, 1686–1698. [Google Scholar]
  6. Marques, C.M.; Moniz, S.; de Sousa, J.P.; Barbosa-Povoa, A.P.; Reklaitis, G. Decision-support challenges in the chemical-pharmaceutical industry: Findings and future research directions. Comput. Chem. Eng. 2020, 134, 106672. [Google Scholar]
  7. Wallrath, R.; Franke, M.B. Integration of MILP and Discrete-Event Simulation for Flow Shop Scheduling Using Benders Cuts. Comput. Chem. Eng. 2024, 189, 108809. [Google Scholar]
  8. Zhang, M.; Matta, A.; Alfieri, A.; Pedrielli, G. A simulation-based benders’ cuts generation for the joint workstation, workload and buffer allocation problem. In Proceedings of the 13th IEEE Conference on Automation Science and Engineering (CASE), Xi’an, China; 2017; pp. 1067–1072. [Google Scholar] [CrossRef]
  9. Forbes, M.; Harris, M.; Jansen, H.; van der Schoot, F.; Taimre, T. Combining optimisation and simulation using logic-based Benders decomposition. Eur. J. Oper. Res. 2024, 312, 840–854. [Google Scholar] [CrossRef]
  10. Naderi, B.; Ruiz, R. The distributed permutation flowshop scheduling problem. Comput. Oper. Res. 2010, 37, 754–768. [Google Scholar]
  11. Perez-Gonzalez, P.; Framinan, J.M. A review and classification on distributed permutation flowshop scheduling problems. Eur. J. Oper. Res. 2024, 312, 1–21. [Google Scholar]
  12. Cao, D.; Chen, M. Parallel flowshop scheduling using Tabu search. Int. J. Prod. Res. 2003, 41, 3059–3073. [Google Scholar]
  13. McNaughton, R. Scheduling with Deadlines and Loss Functions. Manag. Sci. 1959, 6, 1–12. [Google Scholar]
  14. Unlu, Y.; Mason, S.J. Evaluation of mixed integer programming formulations for non-preemptive parallel machine scheduling problems. Comput. Ind. Eng. 2010, 58, 785–800. [Google Scholar]
  15. Vallada, E.; Ruiz, R. A genetic algorithm for the unrelated parallel machine scheduling problem with sequence dependent setup times. Eur. J. Oper. Res. 2011, 211, 612–622. [Google Scholar]
  16. Edis, E.B.; Oguz, C.; Ozkarahan, I. Parallel machine scheduling with additional resources: Notation, classification, models and solution methods. Eur. J. Oper. Res. 2013, 230, 449–463. [Google Scholar]
  17. Johnson, S.M. Optimal Two- and Three-Stage Production Schedules with Setup Times Included; Naval Research Logistics Quarterly; John Wiley & Sons: Hoboken, NJ, USA, 1954; Volume 1, pp. 61–68. [Google Scholar]
  18. Zheng, D.Z.; Wang, L. An Effective Hybrid Heuristic for Flow Shop Scheduling. Int. J. Adv. Manuf. Technol. 2003, 21, 38–44. [Google Scholar]
  19. Komaki, G.M.; Sheikh, S.; Malakooti, B. Flow shop scheduling problems with assembly operations: A review and new trends. Int. J. Prod. Res. 2019, 57, 2926–2955. [Google Scholar]
  20. Duan, J.; Wang, M.; Zhang, Q.; Qin, J. Distributed shop scheduling: A comprehensive review on classifications, models and algorithms. Math. Biosci. Eng. 2023, 20, 15265–15308. [Google Scholar] [PubMed]
  21. Mraihi, T.; Driss, O.B.; El-Haouzi, H.B. Distributed permutation flow shop scheduling problem with worker flexibility: Review, trends and model proposition. Expert Syst. Appl. 2023, 238, 121947. [Google Scholar]
  22. Gogos, C. Solving the Distributed Permutation Flow-Shop Scheduling Problem Using Constrained Programming. Appl. Sci. 2023, 13, 12562. [Google Scholar] [CrossRef]
  23. Nawaz, M.; Enscore, E.E.; Ham, I. A heuristic algorithm for the m-machine, n-job flow-shop sequencing problem. Omega 1983, 11, 91–95. [Google Scholar]
  24. Gao, J.; Chen, R. An NEH-based heuristic algorithm for distributed permutation flowshop scheduling problems. Sci. Res. Essays 2011, 6, 3094–3100. [Google Scholar]
  25. Ruiz, R.; Stützle, T. A simple and effective iterated greedy algorithm for the permutation flowshop scheduling problem. Eur. J. Oper. Res. 2007, 177, 2033–2049. [Google Scholar]
  26. Lin, S.W.; Ying, K.C.; Huang, C.Y. Minimising makespan in distributed permutation flowshops using a modified iterated greedy algorithm. Int. J. Prod. Res. 2013, 51, 5029–5038. [Google Scholar] [CrossRef]
  27. Fernandez-Viagas, V.; Framinan, J.M. A bounded-search iterated greedy algorithm for the distributed permutation flowshop scheduling problem. Int. J. Prod. Res. 2015, 53, 1111–1123. [Google Scholar]
  28. Ruiz, R.; Pan, Q.K.; Naderi, B. Iterated Greedy methods for the distributed permutation flowshop scheduling problem. Omega 2019, 83, 213–222. [Google Scholar]
  29. Naderi, B.; Ruiz, R. A scatter search algorithm for the distributed permutation flowshop scheduling problem. Eur. J. Oper. Res. 2014, 239, 323–334. [Google Scholar]
  30. Gao, J.; Chen, R.; Deng, W. An efficient tabu search algorithm for the distributed permutation flowshop scheduling problem. Int. J. Prod. Res. 2013, 51, 641–651. [Google Scholar]
  31. Gao, J.; Chen, R. A hybrid genetic algorithm for the distributed permutation flowshop scheduling problem. Int. J. Comput. Intell. Syst. 2011, 4, 497–508. [Google Scholar]
  32. Benders, J.F. Partitioning procedures for solving mixed-variables programming problems. Numer. Math. 1962, 4, 238–252. [Google Scholar]
  33. Hamzadayı, A. An effective benders decomposition algorithm for solving the distributed permutation flowshop scheduling problem. Comput. Oper. Res. 2020, 123, 105006. [Google Scholar]
  34. Bektaş, T.; Hamzadayı, A.; Ruiz, R. Benders decomposition for the mixed no-idle permutation flowshop scheduling problem. J. Sched. 2020, 23, 513–523. [Google Scholar]
  35. Pan, Q.Q.; Tasgetiren, M.F.; Liang, Y.C. A discrete differential evolution algorithm for the permutation flowshop scheduling problem. In Proceedings of the 9th Annual Conference on Genetic and Evolutionary Computation, London, UK, 11 July 2007; pp. 126–133. [Google Scholar]
  36. Hooker, J.; Ottosson, G. Logic-based Benders decomposition. Math. Program. Ser. A 2003, 96, 33–60. [Google Scholar]
  37. Li, H.; Womer, K. Scheduling projects with multi-skilled personnel by a hybrid MILP/CP benders decomposition algorithm. J. Sched. 2009, 12, 281–298. [Google Scholar]
  38. Emde, S.; Polten, L.; Gendreau, M. Logic-based benders decomposition for scheduling a batching machine. Comput. Oper. Res. 2020, 113, 104777. [Google Scholar]
  39. Juvin, C.; Houssin, L.; Lopez, P. Logic-based Benders decomposition for the preemptive flexible job-shop scheduling problem. Comput. Oper. Res. 2023, 152, 106156. [Google Scholar]
  40. Tan, Y.; Terekhov, D. Logic-Based Benders Decomposition for Two-Stage Flexible Flow Shop Scheduling with Unrelated Parallel Machines. In Advances in Artificial Intelligence; Bagheri, E., Cheung, J., Eds.; Canadian AI 2018; Lecture Notes in Computer Science; Springer: Cham, Switzerland, 2018; Volume 10832. [Google Scholar]
  41. Gendron, B.; Scutellà, M.G.; Garroppo, R.G.; Nencioni, G.; Tavanti, L. A Branch-and-Benders-Cut Method for Nonlinear Power Design in Green Wireless Local Area Networks. Eur. J. Oper. Res. 2016, 255, 151–162. [Google Scholar] [CrossRef]
  42. Codato, G.; Fischetti, M. Combinatorial Benders’ cuts for mixed-integer linear programming. Oper. Res. 2006, 54, 756–766. [Google Scholar]
Figure 1. Integration concept of (MI)LP, DES, and DD using Benders decomposition.
Figure 1. Integration concept of (MI)LP, DES, and DD using Benders decomposition.
Processes 12 01772 g001
Figure 2. Block diagram of DES subproblem.
Figure 2. Block diagram of DES subproblem.
Processes 12 01772 g002
Figure 3. Training progression over 1000 iterations of the deep neural network model for subproblem three, literature DPFSP instance 85.
Figure 3. Training progression over 1000 iterations of the deep neural network model for subproblem three, literature DPFSP instance 85.
Processes 12 01772 g003
Figure 4. Upper bound (UB) and lower bound (LB) progression of the Benders algorithm compared to the best-known literature UBs (dashed lines) for five literature DSFSP instances.
Figure 4. Upper bound (UB) and lower bound (LB) progression of the Benders algorithm compared to the best-known literature UBs (dashed lines) for five literature DSFSP instances.
Processes 12 01772 g004
Table 1. Computational settings for MIP master problem and LP subproblem.
Table 1. Computational settings for MIP master problem and LP subproblem.
ParameterValue
Gurobi version9.5.2
Gurobi hyperparametersstandard settings
Implementation environmentGurobipy 11.0.1
Python version3.7.6
Table 2. Computational settings for DES subproblem.
Table 2. Computational settings for DES subproblem.
ParameterValue
DES modeling packageSimPy 4.1.1
SimPy modules usedResource, Container, Process, timeout, event
Python version3.7.6
Table 3. Computational settings for DD subproblem.
Table 3. Computational settings for DD subproblem.
ParameterValue
Inputjob permutation y ^ D D
Outputmakespan c m a x , 3
Data sourceDES model evaluations
Python modeling packagesklearn.neural_network (1.5.0), MLPRegressor
Number of samples400,000
Sampling moderandom uniform
Number of hidden layers5
Number of nodes in hidden layers600, 500, 400, 300, 100
max_iter1000
Table 4. Remaining optimality gap of Benders algorithm after 3000 iterations.
Table 4. Remaining optimality gap of Benders algorithm after 3000 iterations.
Instance Remaining   Gap   δ
810.29
820.35
850.36
860.44
870.32
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Wallrath, R.; Franke, M.B. Integrating MILP, Discrete-Event Simulation, and Data-Driven Models for Distributed Flow Shop Scheduling Using Benders Cuts. Processes 2024, 12, 1772. https://doi.org/10.3390/pr12081772

AMA Style

Wallrath R, Franke MB. Integrating MILP, Discrete-Event Simulation, and Data-Driven Models for Distributed Flow Shop Scheduling Using Benders Cuts. Processes. 2024; 12(8):1772. https://doi.org/10.3390/pr12081772

Chicago/Turabian Style

Wallrath, Roderich, and Meik B. Franke. 2024. "Integrating MILP, Discrete-Event Simulation, and Data-Driven Models for Distributed Flow Shop Scheduling Using Benders Cuts" Processes 12, no. 8: 1772. https://doi.org/10.3390/pr12081772

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop