Optimization of Continuous Flow-Shop Scheduling Considering Due Dates
Abstract
1. Introduction
2. Literature Review
2.1. No-Wait Flow-Shop Scheduling Optimization
2.2. Flow-Shop Optimization with Machine Setup Operations
2.3. Flow-Shop Scheduling Optimization with Order Due Dates
2.4. Research Gaps
3. Problem Description and Lower Bound Analysis
3.1. Problem Description
3.2. Assumptions
- Multiple orders are allowed to be processed simultaneously on different primary and secondary processing machines, and a single order can also be processed concurrently on multiple primary and secondary processing machines.
- Since the upstream processor operates at a constant output speed, the processing capacity of the flow shop for any order is not lower than the upstream processor’s processing speed under even distribution method. Therefore, each order can be processed independently on the flow shop.
- The processing time for any order independently is not shorter than the setup time of the primary or secondary processing machines.
- Multiple orders may share the same processing specifications but have different due dates, or conversely, have identical due dates but different processing specifications.
- If setup operations on certain primary or secondary processing machines cause the overall processing speed of the remaining machines to fall below the upstream processor’s processing speed, the flow shop will stop temporarily. semi-finished products that remain on the processing line will be fully processed after the interruption.
- The number of secondary processing machines is no more than that of primary processing machines, and the processing speed of each secondary processing machine is no less than that of a primary processing machine.
3.3. Lower Bound Analysis
4. Mathematical Model
4.1. A Mixed-Integer Nonlinear Programming Model with Integral and Limit Forms
4.1.1. Objective
4.1.2. Constraints
4.2. Model Linearization
4.2.1. Objective
4.2.2. Constraints
5. Solution Method
5.1. Heuristic Algorithm with Fixed Machine Links and Greedy Rules
- The pairing of the primary processing and secondary processing machines follows the principle of even distribution method;
- Each machine combination is assigned to process a different order as much as possible, maximizing the number of different orders being processed simultaneously;
- Orders enter production sequentially in ascending order of their due dates;
- When determining the processing speeds of different machine combinations, the maximum feasible speed is allocated to the order with smaller remaining workload.
5.2. Genetic Algorithm Based on Altering Machine Combinations
5.2.1. Chromosome Encoding and Initialization
5.2.2. Fitness Function
- The more machine combinations simultaneously engaged in processing the same order, the lower the processing speed assigned to each pair;
- The greater the remaining unprocessed quantity of an order, the lower the processing speed assigned to it.
5.2.3. Crossover and Mutation Operations
6. Numerical Experiments
6.1. Parameter Settings
6.2. Numerical Results and Analysis
7. Conclusions
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Conflicts of Interest
Abbreviations
| BC | branch and cut |
| BC-BIHQL | Bi-Criteria Block Insertion Heuristic Algorithm with Q-Learning |
| BC-IGQL | Bi-Criteria Iterated Greedy Algorithm with Q-Learning |
| DABC | Discrete Artificial Bee Colony Algorithm |
| DNWFSP | Distributed No-Wait Flow-Shop Scheduling Problem |
| DP | Dynamic Programming |
| EDD Rule | Scheduling rule that sequences orders by earliest due dates |
| FPTAS | Fully Polynomial-Time Approximation Scheme |
| GA | Genetic Algorithm |
| GAAM | Genetic Algorithm Based on Altering Machine Combinations. |
| HAFG | Heuristic Algorithm with Fixed Machine Links and Greedy Rules |
| HG | Heuristic Algorithm based on Greedy Rules |
| IG | Iterated Greedy |
| LB | Lower Bound, theoretical minimum value that the objective function cannot go below |
| MIP | Mixed-Integer Programming |
| NSGA-II | Non-dominated Sorting Genetic Algorithm II |
| NWFSP | No-Wait Flow-Shop Scheduling Problem |
| PIG | Pairwise Iterated Greedy |
| PLIG | Parameter-Less Iterated Greedy |
| PPDP | Pseudo-polynomial Dynamic Programming |
| QL-IGS | Iterated Greedy Search Enhanced by Q-learning Method |
| SDST | Sequence-Dependent Setup Time |
| TPH | Two-phased heuristics |
| TSHA | Two-Stage Heuristic Algorithm |
| VND | Variable Neighborhood Descent |
Appendix A. Pseudocode of the HAFG Algorithm
| Algorithm A1 Dynamic Scheduling with Flexible Machine Loading |
|
Appendix B. Pseudocode of the GAAM Algorithm Decoding Method
| Algorithm A2 Genetic Algorithm Decoding |
|
References
- İnce, N. A comprehensive literature review of the flow shop group scheduling problems: Systematic and bibliometric reviews. Int. J. Prod. Res. 2024, 62, 4565–4594. [Google Scholar] [CrossRef]
- Perez-Gonzalez, P. A review and classification on distributed permutation flow shop scheduling problems. Eur. J. Oper. Res. 2024, 312, 1–21. [Google Scholar] [CrossRef]
- Tang, H. Integrated scheduling of multi-objective lot-streaming hybrid flow shop with AGV based on deep reinforcement learning. Int. J. Prod. Res. 2025, 63, 1275–1303. [Google Scholar] [CrossRef]
- Zhao, F. A cooperative scatter search with reinforcement learning mechanism for the distributed permutation flow shop scheduling problem with sequence-dependent setup times. IEEE Trans. Syst. 2023, 53, 4899–4911. [Google Scholar]
- Li, Q. Self-adaptive population-based iterated greedy algorithm for distributed permutation flow shop scheduling problem with part of jobs subject to a common deadline constraint. Expert Syst. Appl. 2024, 248, 123278. [Google Scholar] [CrossRef]
- Koulamas, C. The no-wait flow shop with rejection. Int. J. Prod. Res. 2021, 59, 1852–1859. [Google Scholar] [CrossRef]
- Cheng, C.Y. Minimizing maximum completion time in mixed no-wait flow shops with sequence-dependent setup times. Comput. Ind. Eng. 2019, 130, 338–347. [Google Scholar] [CrossRef]
- Cheng, C.Y. New benchmark algorithms for No-wait flow shop group scheduling problem with sequence-dependent setup times. Appl. Soft Comput. 2021, 111, 107705. [Google Scholar] [CrossRef]
- Dong, J. No-wait two-stage flow shop problem with multi-task flexibility of the first machine. Inf. Sci. 2021, 544, 25–38. [Google Scholar] [CrossRef] [PubMed]
- Yüksel, D. Q-learning guided algorithms for bi-criteria minimization of total flow time and maximum completion time in no-wait permutation flow shops. Swarm Evol. Comput. 2024, 89, 101617. [Google Scholar] [CrossRef]
- Avci, M. A branch-and-cut approach for the distributed no-wait flow shop scheduling problem. Comput. Oper. Res. 2022, 148, 106009. [Google Scholar] [CrossRef]
- Avci, M. An effective iterated local search algorithm for the distributed no-wait flow shop scheduling problem. Eng. Appl. Artif. Intell. 2023, 120, 105921. [Google Scholar] [CrossRef]
- Li, H. A discrete artificial bee colony algorithm for the distributed heterogeneous no-wait flow shop scheduling problem. Appl. Soft Comput. 2021, 100, 106946. [Google Scholar] [CrossRef]
- Pan, Y. A novel evolutionary algorithm for scheduling distributed no-wait flow shop problems. IEEE Trans. Syst. Man Cybern. Syst. 2024, 54, 3694–3704. [Google Scholar] [CrossRef]
- Zhao, F. A population-based iterated greedy algorithm for distributed assembly no-wait flow-shop scheduling problem. IEEE Trans. Ind. Inform. 2022, 19, 6692–6705. [Google Scholar] [CrossRef]
- Zhao, F. A policy-based meta-heuristic algorithm for energy-aware distributed no-wait flow-shop scheduling in heterogeneous factory systems. IEEE Trans. Syst. Man, Cybern. Syst. 2024, 55, 620–634. [Google Scholar] [CrossRef]
- Zhao, F. A reinforcement learning-driven brain storm optimisation algorithm for multi-objective energy-efficient distributed assembly no-wait flow shop scheduling problem. Int. J. Prod. Res. 2023, 61, 2854–2872. [Google Scholar] [CrossRef]
- Zhang, Z.Q. An enhanced estimation of distribution algorithm with problem-specific knowledge for distributed no-wait flow shop group scheduling problems. Swarm Evol. Comput. 2024, 87, 101559. [Google Scholar] [CrossRef]
- Yu, Y. A discrete artificial bee colony method based on variable neighborhood structures for the distributed permutation flow shop problem with sequence-dependent setup times. Swarm Evol. Comput. 2022, 75, 101179. [Google Scholar] [CrossRef]
- Song, H.B. An effective two-stage heuristic for scheduling the distributed assembly flow shops with sequence dependent setup times. Comput. Oper. Res. 2025, 173, 106850. [Google Scholar] [CrossRef]
- Zhao, C. A knowledge-based two-population optimization algorithm for distributed heterogeneous assembly permutation flow shop scheduling with batch delivery and setup times. Swarm Evol. Comput. 2025, 97, 102035. [Google Scholar] [CrossRef]
- Wang, J. A Q-learning artificial bee colony for distributed assembly flow shop scheduling with factory eligibility, transportation capacity and setup time. Eng. Appl. Artif. Intell. 2021, 123, 106230. [Google Scholar] [CrossRef]
- Rifai, A.P. Multi-objective distributed reentrant permutation flow shop scheduling with sequence-dependent setup time. Expert Syst. Appl. 2021, 183, 115339. [Google Scholar] [CrossRef]
- Ozsoydan, F.B. A trajectory-based algorithm enhanced by Q-learning and cloud integration for hybrid flexible flow shop scheduling problem with sequence-dependent setup times: A case study. Comput. Oper. Res. 2025, 181, 107079. [Google Scholar] [CrossRef]
- Missaoui, A. A parameter-Less iterated greedy method for the hybrid flow shop scheduling problem with setup times and due date windows. Eur. J. Oper. Res. 2022, 303, 99–113. [Google Scholar] [CrossRef]
- Qiao, Y. Adaptive genetic algorithm for two-stage hybrid flow-shop scheduling with sequence-independent setup time and no-interruption requirement. Expert Syst. Appl. 2022, 208, 118068. [Google Scholar] [CrossRef]
- Cai, J. A novel shuffled frog-leaping algorithm with reinforcement learning for distributed assembly hybrid flow shop scheduling. Int. J. Prod. Res. 2023, 61, 1233–1251. [Google Scholar] [CrossRef]
- He, X. Minimising Makespan and total tardiness for the flow shop group scheduling problem with sequence dependent setup times. Eur. J. Oper. Res. 2025, 324, 436–453. [Google Scholar]
- Zhong, Q. An iterative greedy algorithm based on neighborhood search for energy-efficient scheduling of distributed permutation flow shop with sequence-dependent setup time. Expert Syst. Appl. 2026, 296, 129012. [Google Scholar] [CrossRef]
- Chen, X. Two-machine flow shop scheduling with a common due date to maximize total early work. Eur. J. Oper. Res. 2022, 300, 504–511. [Google Scholar] [CrossRef]
- Schaller, J. Scheduling in a no-wait flow shop to minimise total earliness and tardiness with additional idle time allowed. Int. J. Prod. Res. 2022, 60, 5488–5504. [Google Scholar] [CrossRef]
- Li, Z. Bi-objective hybrid flow shop scheduling with common due date. Oper. Res. 2021, 21, 1153–1178. [Google Scholar] [CrossRef]
- Nasrollahi, V. Minimizing the weighted sum of maximum earliness and maximum tardiness in a single-agent and two-agent form of a two-machine flow shop scheduling problem. Oper. Res. 2022, 22, 1403–1442. [Google Scholar] [CrossRef]
- Koulamas, C. Flow shop scheduling with two distinct job due dates. Comput. Ind. Eng. 2022, 163, 107835. [Google Scholar] [CrossRef]
- Geng, X.N. Scheduling on proportionate flow shop with job rejection and common due date assignment. Comput. Ind. Eng. 2023, 181, 109317. [Google Scholar] [CrossRef]
- Liu, R. Lot-streaming flow shop scheduling under stochastic due dates. Int. J. Prod. Res. 2025, 63, 7039–7060. [Google Scholar] [CrossRef]
- Xiong, F. Just-in-time scheduling for a distributed concrete precast flow shop system. Comput. Oper. Res. 2021, 129, 105204. [Google Scholar] [CrossRef]
- Geng, X.N. Scheduling on proportionate flow shop with total late work and job rejection. Oper. Res. 2025, 25, 82. [Google Scholar]




| Literature | No-Wait Flow Shop | Setup Time | Due Date | Flow Type | Optimization Method |
|---|---|---|---|---|---|
| Avci et al. [11] | ✓ | Discrete | BC & VND | ||
| Yüksel et al. [10] | ✓ | Discrete | BC-IGQL, BC-BIHQL | ||
| Li et al. [13] | ✓ | ✓ | Discrete | DABC | |
| Cheng et al. [7] | ✓ | ✓ | Discrete | PIG | |
| Ozsoydan et al. [24] | ✓ | Discrete | QL-IGS | ||
| He et al. [28] | ✓ | ✓ | Discrete | IG | |
| Song et al. [20] | ✓ | Discrete | TSHA | ||
| Chen et al. [30] | ✓ | Discrete | FPTAS | ||
| Li et al. [32] | ✓ | Discrete | NSGA-II | ||
| Missaoui et al. [25] | ✓ | ✓ | Discrete | PLIG | |
| Geng et al. [35] | ✓ | ✓ | Discrete | DP | |
| Schaller et al. [31] | ✓ | ✓ | ✓ | Discrete | TPH |
| Geng et al. [38] | ✓ | Discrete | PPDP | ||
| This research | ✓ | ✓ | ✓ | Continuous | HG & GA |
| Sets | |
| I | Set of primary processing machines, induced by i. |
| J | Set of secondary processing machines, induced by j. |
| O | Set of orders, induced by o. |
| A | Set of primary processing specifications, induced by a. |
| B | Set of secondary processing specifications, induced by b. |
| Parameters | |
| The primary processing specification of order . | |
| The secondary processing specification of order . | |
| The setup time of primary processing machines to change processing specifications. | |
| The setup time of secondary processing machines to change processing specifications. | |
| The nominal processing speed of the primary processing machine under specification a. | |
| The nominal processing speed of the secondary processing machine under specification b. | |
| Constant processing speed of the upstream processor. | |
| Quantity required by order . | |
| Due date required by order . | |
| Variables | |
| Binary variable, 1 if the product processed by primary processing machine i at time t is sent to secondary processing machine j; otherwise, 0. | |
| Binary variable, 1 if the upstream processor is operating normally at time t; otherwise, 0. | |
| Binary variable, 1 if primary processing machine i is processing order o at time t; otherwise, 0. | |
| Binary variable, 1 if secondary processing machine j is processing order o at time t; otherwise, 0. | |
| Binary variable, 1 if primary processing machine i starts setup operation at time t; otherwise, 0. | |
| Binary variable, 1 if secondary processing machine j starts setup operation at time t; otherwise, 0. | |
| Continuous variable, Completion time of order o. | |
| Continuous variable, maximum completion time. | |
| Continuous variable, Maximum tardiness. | |
| Continuous variable, Processing speed of the upstream processor at time t. | |
| Continuous variable, Processing speed of primary processing machine i for order o at time t. | |
| Continuous variable, Processing speed of secondary processing machine j for order o at time t. | |
| Production Scale | Primary Processing Bottleneck | Secondary Processing Bottleneck | Upstream Processor Speed | Number of Orders | |
|---|---|---|---|---|---|
| Small-scale instances | (7,3,8,8) | [3,4,3,4,3,4,3,4] | [5,6,5,6,5,6,5,6] | 15 | 16 |
| Large-scale instances | (20,7,8,8) | [3,4,3,4,3,4,3,4] | [5,6,5,6,5,6,5,6] | 30 | 64 |
| LB | EDD | HAFG | GAAM | |||||
|---|---|---|---|---|---|---|---|---|
| 1 | 1308.6 | 1016.6 | 1368.6 | 1076.6 | 1312.6 | 1164.6 | 1308.6 | 1016.6 |
| 2 | 1162.1 | 874.1 | 1220.1 | 932.1 | 1162.1 | 975.1 | 1162.1 | 874.1 |
| 3 | 1151.3 | 854.3 | 1210.3 | 913.3 | 1155.2 | 1022.3 | 1151.3 | 854.3 |
| 4 | 1223.2 | 939.2 | 1283.2 | 999.2 | 1227.2 | 1033.2 | 1223.2 | 939.2 |
| 5 | 1274.9 | 976.9 | 1332.8 | 1034.9 | 1274.8 | 1119.8 | 1274.9 | 976.9 |
| LB | EDD | HAFG | GAAM | |||||
|---|---|---|---|---|---|---|---|---|
| 1 | 2605.0 | 2313.0 | 2847.0 | 2555.0 | 2618.4 | 2492.4 | 2641.9 | 2415.0 |
| 2 | 2372.9 | 2076.9 | 2598.9 | 2302.9 | 2381.1 | 2242.1 | 2431.9 | 2166.7 |
| 3 | 2354.9 | 2057.9 | 2572.9 | 2275.9 | 2368.3 | 2247.3 | 2441.8 | 2156.8 |
| 4 | 2396.7 | 2112.7 | 2625.7 | 2341.7 | 2409.2 | 2300.6 | 2434.9 | 2155.0 |
| 5 | 2441.5 | 2143.5 | 2684.5 | 2386.5 | 2454.2 | 2343.2 | 2458.2 | 2178.9 |
| EDD | HAFG | GAAM | |||||||
|---|---|---|---|---|---|---|---|---|---|
| LB | |||||||||
| 1 | 2325.2 | 2445.2 | 0.05 | 2477.2 | 0.07 | 1 | 2325.2 | 0.00 | 147 |
| 2 | 2036.1 | 2152.1 | 0.06 | 2137.1 | 0.05 | 1 | 2036.1 | 0.00 | 143 |
| 3 | 2005.5 | 2123.5 | 0.06 | 2177.5 | 0.09 | 1 | 2005.5 | 0.00 | 133 |
| 4 | 2162.4 | 2282.4 | 0.06 | 2260.4 | 0.05 | 1 | 2162.4 | 0.00 | 162 |
| 5 | 2251.7 | 2367.7 | 0.05 | 2394.7 | 0.06 | 1 | 2251.7 | 0.00 | 151 |
| Average | 2156.2 | 2274.2 | 0.05 | 2289.4 | 0.06 | 1 | 2156.2 | 0.00 | 147 |
| Variance | 14,971 | 15,133 | - | 16,852 | - | - | 14,971 | - | - |
| EDD | HAFG | GAAM | |||||||
|---|---|---|---|---|---|---|---|---|---|
| LB | |||||||||
| 1 | 4918.0 | 5402.0 | 0.10 | 5110.9 | 0.04 | 1 | 5056.9 | 0.03 | 323 |
| 2 | 4449.9 | 4901.9 | 0.10 | 4623.3 | 0.04 | 1 | 4598.5 | 0.03 | 344 |
| 3 | 4412.8 | 4848.8 | 0.10 | 4615.7 | 0.05 | 1 | 4589.9 | 0.04 | 326 |
| 4 | 4509.5 | 4967.5 | 0.10 | 4709.9 | 0.04 | 1 | 4637.0 | 0.03 | 297 |
| 5 | 4585.1 | 5071.1 | 0.10 | 4797.5 | 0.05 | 1 | 4720.7 | 0.03 | 315 |
| Average | 4575.1 | 5038.3 | 0.10 | 4771.5 | 0.04 | 1 | 4720.6 | 0.03 | 327 |
| Variance | 32,800 | 38,576 | - | 33,180 | - | - | 30,416 | - | - |
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. |
© 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Zheng, F.; Zhang, C.; Liu, M. Optimization of Continuous Flow-Shop Scheduling Considering Due Dates. Algorithms 2025, 18, 788. https://doi.org/10.3390/a18120788
Zheng F, Zhang C, Liu M. Optimization of Continuous Flow-Shop Scheduling Considering Due Dates. Algorithms. 2025; 18(12):788. https://doi.org/10.3390/a18120788
Chicago/Turabian StyleZheng, Feifeng, Chunyao Zhang, and Ming Liu. 2025. "Optimization of Continuous Flow-Shop Scheduling Considering Due Dates" Algorithms 18, no. 12: 788. https://doi.org/10.3390/a18120788
APA StyleZheng, F., Zhang, C., & Liu, M. (2025). Optimization of Continuous Flow-Shop Scheduling Considering Due Dates. Algorithms, 18(12), 788. https://doi.org/10.3390/a18120788

