Evolutionary Optimization for Job Shop Scheduling with Blocking: A Genetic Algorithm Approach
Abstract
1. Introduction
- A GA is proposed to solve the BJSSP, where the makespan is the objective.
- The adopted representation of solutions facilitates its incorporation into diverse metaheuristic frameworks.
- The individuals obtained after the application of genetic operators are always feasible, without requiring a subsequent solution repair process.
- The proposed GA yielded solutions that outperform some of the best-known Cmax values in the Lawrence benchmark instances for the BJSSP.
2. Literature Review
3. Materials and Methods
3.1. Genetic Algorithm
3.1.1. Initial Population and Parameters
3.1.2. Encoding Scheme
3.1.3. Decoding Scheme
3.1.4. Pseudo-Code
3.1.5. Selection of Individuals
3.1.6. Crossover Operator
3.1.7. Mutation Operator
4. Results
5. Discussion
6. Conclusions
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Conflicts of Interest
Abbreviation
| AGV | Automated Guided Vehicle |
| ARPD | Average Relative Percentage Deviation |
| BJSSP | Blocking Job Shop Scheduling Problem |
| Cmax | Maximum Completion Time |
| GA | Genetic Algorithm |
| NP-hard | Non-deterministic Polynomial Difficult Problem. |
| PSO | Particle Swarm Optimization |
References
- Louaqad, S.; Kamach, O.; Iguider, A. Scheduling for Job Shop Problems with Transportation and Blocking No-Wait Constraints. J. Theor. Appl. Inf. Technol. 2018, 96, 2782–7282. [Google Scholar]
- Lange, J.; Werner, F. A Permutation-Based Neighborhood for the Blocking Job-Shop Problem with Total Tardiness Minimization. In Operations Research Proceedings 2017; Springer: Cham, Switzerland, 2018; pp. 581–586. [Google Scholar] [CrossRef]
- Meloni, C.; Pranzo, M.; Samà, M. Evaluation of VaR and CVaR for the makespan in interval valued blocking job shops. Int. J. Prod. Econ. 2022, 247, 108455. [Google Scholar] [CrossRef]
- Zeng, C.; Tang, J.; Yan, C. Scheduling of no buffer job shop cells with blocking constraints and automated guided vehicles. Appl. Soft Comput. J. 2014, 24, 1033–1046. [Google Scholar] [CrossRef]
- Hall, N.G.; Sriskandarajah, C. A survey of machine scheduling problems with blocking and no-wait in process. Oper. Res. 1996, 44, 510–525. [Google Scholar] [CrossRef]
- Meloni, C.; Pacciarelli, D.; Pranzo, M. A Rollout Metaheuristic for Job Shop Scheduling Problems. Ann. Oper. Res. 2004, 131, 215–235. [Google Scholar] [CrossRef]
- Romero, J.; Puigjaner, L.; Holczinger, T.; Friedler, F. Scheduling Intermediate Storage Multipurpose Batch Plants Using the S-Graph. AIChE J. 2004, 50, 403–417. [Google Scholar] [CrossRef]
- Wójcik, R.; Pempera, J.; Bocewicz, G.; Banaszak, Z. The no-wait cyclic scheduling of delivery traffic in the grid distribution network. ISA Trans. 2022, 131, 282–298. [Google Scholar] [CrossRef] [PubMed]
- Liu, S.Q.; Kozan, E. A hybrid metaheuristic algorithm to optimise a real-world robotic cell. Comput. Oper. Res. 2017, 84, 188–194. [Google Scholar] [CrossRef]
- Mejía, G.; Montoya, C. Scheduling manufacturing systems with blocking: A Petri net approach. Int. J. Prod. Res. 2009, 47, 6261–6277. [Google Scholar] [CrossRef]
- Masoud, M.; Kozan, E.; Kent, G. Hybrid metaheuristic techniques for optimising sugarcane rail operations. Int. J. Prod. Res. 2015, 53, 2569–2589. [Google Scholar] [CrossRef]
- Mati, Y.; Lahlou, C.; Dauzère-Pérès, S. Modelling and solving a practical flexible job-shop scheduling problem with blocking constraints. Int. J. Prod. Res. 2011, 49, 2169–2182. [Google Scholar] [CrossRef]
- Koulamas, C.; Panwalkar, S.S. The two-stage no-wait/blocking proportionate super shop scheduling problem. Int. J. Prod. Res. 2019, 57, 2956–2965. [Google Scholar] [CrossRef]
- Mascis, A.; Pacciarelli, D. Discrete Optimization Job-shop scheduling with blocking and no-wait constraints. Eur. J. Oper. Res. 2002, 143, 498–517. [Google Scholar] [CrossRef]
- Oddi, A.; Rasconi, R.; Cesta, A.; Smith, S.F. Iterative Improvement Algorithms for the Blocking Job Shop. In Proceedings of the International Conference on Automated Planning and Scheduling; Association for the Advancement of Artificial Intelligence: Washington, DC, USA, 2012. [Google Scholar]
- De Moerloose, P.; Maenhout, B. A two-stage local search heuristic for solving the steelmaking continuous casting scheduling problem with dual shared-resource and blocking constraints. Oper. Res. 2023, 23, 2. [Google Scholar] [CrossRef]
- Aitzai, A.; Benmedjdoub, B.; Boudhar, M. A branch and bound and parallel genetic algorithm for the job shop scheduling problem with blocking. Int. J. Oper. Res. 2012, 14, 343–365. [Google Scholar] [CrossRef]
- Lakehal, M.; Aissani, A.; Bouibede, K. New algorithm of scheduling based on prioriry rules on machines to solve bi-criteria blocking job shop scheduling problem. In Proceedings of the 12th International Symposium on Programming and Systems, ISPS 2015, Algiers, Algeria, 28–30 April 2015; Institute of Electrical and Electronics Engineers Inc.: New York, NY, USA, 2015; pp. 149–156. [Google Scholar] [CrossRef]
- Gröflin, H.; Klinkert, A. Feasible insertions in job shop scheduling, short cycles and stable sets. Eur. J. Oper. Res. 2006, 177, 763–785. [Google Scholar] [CrossRef]
- Brucker, P.; Kampmeyer, T. Cyclic job shop scheduling problems with blocking. Ann. Oper. Res. 2008, 159, 161–181. [Google Scholar] [CrossRef]
- Dabah, A.; Bendjoudi, A.; Aitzai, A. An efficient tabu search neighborhood based on reconstruction strategy to solve the blocking job shop scheduling problem. J. Ind. Manag. Optim. 2017, 13, 2015–2031. [Google Scholar] [CrossRef]
- Shieh, C.S.; Nguyen, T.T.; Lin, W.W.; Nguyen, D.C.; Horng, M.F. Modified Coral Reef Optimization Methods for Job Shop Scheduling Problems. Appl. Sci. 2022, 12, 9867. [Google Scholar] [CrossRef]
- Hou, P.; Wang, D.; Li, X. An improved harmony search algorithm for blocking job shop to minimize makespan. In Proceedings of the 16th International Conference on Computer Supported Cooperative Work in Design, Wuhan, China, 23–25 May 2012. [Google Scholar]
- Mogali, J.K.; Barbulescu, L.; Smith, S.F. Efficient primal heuristic updates for the blocking job shop problem. Eur. J. Oper. Res. 2021, 295, 82–101. [Google Scholar] [CrossRef]
- Freud, D.; Elalouf, A. A Memetic Algorithm Approach for the Job-Shop Scheduling Problem with Variable Machine Efficiency and Maintenance Activities. Appl. Sci. 2025, 15, 1431. [Google Scholar] [CrossRef]
- Chen, X.; Du, W.; Qian, F. Multi-objective differential evolution with ranking-based mutation operator and its application in chemical process optimization. Chemom. Intell. Lab. Syst. 2014, 136, 85–96. [Google Scholar] [CrossRef]
- Wong, V.W.H.; Kim, S.H.; Park, J.; Park, J.; Law, K.H. Generating Dispatching Rules for the Interrupting Swap-Allowed Blocking Job Shop Problem Using Graph Neural Network and Reinforcement Learning. ASME J. Manuf. Sci. Eng. 2024, 146, 011009. [Google Scholar] [CrossRef]
- Zeiträg, Y.; Figueira, J.R. A novel machine-learning rolling horizon heuristic for dynamic lot-sizing and job shop scheduling problems. Int. J. Prod. Res. 2025, 63, 4563–4589. [Google Scholar] [CrossRef]
- Du, Y.; Li, J.; Li, C.; Duan, P. A Reinforcement Learning Approach for Flexible Job Shop Scheduling Problem With Crane Transportation and Setup Times. IEEE Trans. Neural Netw. Learn. Syst. 2024, 35, 5695–5709. [Google Scholar] [CrossRef]
- Mati, Y.; Xie, X. Multiresource shop scheduling with resource flexibility and blocking. IEEE Trans. Autom. Sci. Eng. 2011, 8, 175–189. [Google Scholar] [CrossRef]
- Liu, S.Q.; Kozan, E. Scheduling trains as a blocking parallel-machine job shop scheduling problem. Comput. Oper. Res. 2009, 36, 2840–2852. [Google Scholar] [CrossRef]
- Doshi, H.; Tripathi, A.; Agarwal, K.; Khadilkar, H.; Kalyanakrishnan, S. Linear-Time Optimal Deadlock Detection for Efficient Scheduling in Multi-Track Railway Networks. In Proceedings of the Thirty-Third International Joint Conference on Artificial Intelligence (IJCAI-24), Jeju, Republic of Korea, 3–9 August 2024. [Google Scholar]
- Dong, Y.; Liao, W.; Xu, G. Multi-Objective Optimization of Energy-Efficient Multi-Stage, Multi-Level Assembly Job Shop Scheduling. Appl. Sci. 2024, 14, 8712. [Google Scholar] [CrossRef]
- Mascis, A.; Pacciarelli, D. Machine Scheduling via Alternative Graphs; Report DIA-46-2000; Dipartimento di Informatica e Automazione, Università Roma Tre: Rome, Italy, 2000. [Google Scholar]
- Brucker, P.; Heitmann, S.; Hurink, J.; Nieberg, T. Job-shop scheduling with limited capacity buffers. OR Spectr. 2005, 28, 151–176. [Google Scholar] [CrossRef]
- Hu, M.; Zhang, W.; Ren, X.; Qin, S.; Chen, H.; Zhang, J. A novel resilient scheduling method based on multi-agent system for flexible job shops. Int. J. Prod. Res. 2025, 1–21. [Google Scholar] [CrossRef]
- Holland, J.H. Adaptation in Natural and Artificial Systems; University of Michigan Press: Ann Arbor, MI, USA, 1975. [Google Scholar]
- Huang, S.; Tsai, Y.C.; Der Chou, F. A Trajectory-Based Immigration Strategy Genetic Algorithm to Solve a Single-Machine Scheduling Problem with Job Release Times and Flexible Preventive Maintenance. Algorithms 2023, 16, 207. [Google Scholar] [CrossRef]
- Grefenstette, J.J. Optimization of Control Parameters for Genetic Algorithms. IEEE Trans. Syst. Man Cybern. 2007, 16, 122–128. [Google Scholar] [CrossRef]
- Hassanat, A.; Almohammadi, K.; Alkafaween, E.; Abunawas, E.; Hammouri, A.; Prasath, V.B.S. Choosing mutation and crossover ratios for genetic algorithms-a review with a new dynamic approach. Information 2019, 10, 390. [Google Scholar] [CrossRef]
- Pranzo, M.; Pacciarelli, D. An iterated greedy metaheuristic for the blocking job shop scheduling problem. J. Heuristics 2016, 22, 587–611. [Google Scholar] [CrossRef]
- Gröflin, H.; Klinkert, A. A new neighborhood and tabu search for the Blocking Job Shop. Discrete Appl. Math. 2009, 157, 3643–3655. [Google Scholar] [CrossRef]
- Mati, Y.; Rezg, N.; Xie, X. Scheduling Problem of Job-Shop with Blocking: A Taboo Search Approach. In Proceedings of the 4th Metaheuristics International Conference, Porto, Portugal, 16–20 July 2001; pp. 643–648. [Google Scholar]







| Job | Route | Processing Times |
|---|---|---|
| 1 | 3-1-2 | 4-1-6 |
| 2 | 1-2-3 | 7-1-4 |
| 3 | 2-1-3 | 3-1-4 |
| 4 | 2-3-1 | 5-1-2 |
| 5 | 1-3-2 | 7-2-5 |
| 6 | 2-1-3 | 1-3-5 |
| 1 | Initialize variables |
| 2 | Make the first scheduling decision for each machine and update variables |
| 3 | While unscheduled operations exist, do |
| 4 | Process machines with completion time distinct from tprog |
| 5 | Process machines with completion time equal to tprog |
| Subprograms | Description |
|---|---|
| Schedule the next operation (j, tprog, i) | , and adds to set S. |
| Free_Previous_Machine (j) | ← “Free” to release the previous machine used by job j. |
| , i, tprog) | |
| ) | } |
| Factor-Notation | Levels |
| Initial population-A | 5000–15,000 |
| Selection rate-B | 5–20% |
| Crossover rate-C | 50–70% |
| Generations-D | 30–60 |
| Instance | n × m | GA | [40] | [23] | [14,41] | [42] | [15] | [21] |
|---|---|---|---|---|---|---|---|---|
| La01 | 10 × 5 | 852 | −5.33% | 7.44% | −25.07% | 3.90% | 7.44% | 7.44% |
| La02 | 10 × 5 | 863 | 1.05% | 8.83% | −18.20% | 5.63% | 5.89% | 8.83% |
| La03 | 10 × 5 | 812 | 1.63% | 13.57% | −25.37% | 9.73% | 2.78% | 13.57% |
| La04 | 10 × 5 | 767 | −5.54% | 3.23% | −21.01% | 0.39% | −2.17% | 3.23% |
| La05 | 10 × 5 | 714 | −0.14% | 7.53% | −36.02% | 7.21% | 7.53% | 7.53% |
| La06 | 15 × 5 | 1128 | −6.47% | 6.02% | −24.45% | −4.41% | −0.27% | 4.83% |
| La07 | 15 × 5 | 1141 | −3.55% | 9.92% | −34.31% | 5.26% | 3.16% | 10.88% |
| La08 | 15 × 5 | 1184 | −1.25% | 11.49% | −24.54% | 5.24% | 4.87% | 11.70% |
| La09 | 15 × 5 | 1256 | −1.80% | 5.99% | −35.36% | 2.70% | −0.87% | 5.72% |
| La10 | 15 × 5 | 1087 | −12.90% | −2.07% | −29.09% | −9.64% | −6.93% | −2.07% |
| La11 | 20 × 5 | 1584 | −7.04% | 8.05% | −27.64% | 0.00% | 4.21% | 7.39% |
| La12 | 20 × 5 | 1250 | −15.94% | −1.73% | −41.09% | −10.14% | −4.43% | −2.04% |
| La13 | 20 × 5 | 1524 | −5.93% | 4.03% | −33.62% | −1.10% | −0.26% | 4.67% |
| La14 | 20 × 5 | 1538 | −9.37% | 2.12% | −36.52% | −5.06% | 2.12% | 4.48% |
| La15 | 20 × 5 | 1583 | −11.02% | 4.35% | −33.23% | −2.88% | 0.76% | 6.24% |
| La16 | 10 × 10 | 1389 | 13.48% | 31.04% | 25.25% | 21.63% | 20.78% | 31.04% |
| La17 | 10 × 10 | 1269 | 19.60% | 36.60% | −26.18% | 29.89% | 27.41% | 36.45% |
| La18 | 10 × 10 | 1341 | 15.90% | 30.83% | - | 24.40% | 18.15% | 30.83% |
| La19 | 10 × 10 | 1579 | 32.24% | 51.39% | −11.59% | 44.46% | 42.51% | 49.95% |
| La20 | 10 × 10 | 1461 | 21.35% | 37.83% | −10.04% | 26.60% | 30.56% | 37.83% |
| La21 | 15 × 10 | 1807 | −0.22% | 18.80% | −33.10% | 16.96% | 14.44% | 23.18% |
| La22 | 15 × 10 | 1676 | 1.95% | 21.54% | −34.68% | 14.95% | 21.54% | 24.42% |
| La23 | 15 × 10 | 1612 | −12.01% | 7.68% | −47.04% | 2.68% | 7.68% | 11.79% |
| La24 | 15 × 10 | 1807 | 4.57% | 20.63% | −46.06% | 16.88% | 18.65% | 29.26% |
| La25 | 15 × 10 | 1774 | 4.23% | 24.58% | −19.76% | 18.35% | 13.65% | 29.21% |
| La26 | 20 × 10 | 2213 | −3.82% | 8.75% | −45.00% | 4.14% | 8.75% | 14.72% |
| La27 | 20 × 10 | 2801 | 11.46% | 33.13% | - | 28.78% | 29.98% | 42.91% |
| La28 | 20 × 10 | 2379 | −0.83% | 17.37% | −22.51% | 14.87% | 15.37% | 26.54% |
| La29 | 20 × 10 | 2192 | 0.00% | 15.49% | −42.19% | 10.15% | 15.49% | 21.58% |
| La30 | 20 × 10 | 2281 | −8.02% | 8.88% | −28.11% | 8.77% | 6.24% | 16.08% |
| La31 | 30 × 10 | 3498 | 3.06% | 19.75% | - | 11.51% | 19.75% | 28.84% |
| La32 | 30 × 10 | 3693 | −5.36% | 14.09% | - | 11.37% | 14.09% | 23.64% |
| La33 | 30 × 10 | 3406 | 0.38% | 19.76% | - | 11.27% | 19.76% | 27.47% |
| La34 | 30 × 10 | 3474 | −5.75% | 21.98% | −23.83% | 10.43% | 21.98% | 27.30% |
| La35 | 30 × 10 | 3556 | 0.17% | 21.66% | - | 12.14% | 21.66% | 28.10% |
| La36 | 15 × 15 | 2323 | 14.21% | 29.56% | −31.05% | 21.05% | 19.01% | 35.61% |
| La37 | 15 × 15 | 2501 | 11.45% | 28.13% | −16.88% | 23.26% | 28.13% | 38.79% |
| La38 | 15 × 15 | 2331 | 16.90% | 36.48% | −26.86% | 27.52% | 23.99% | 43.01% |
| La39 | 15 × 15 | 2598 | 20.72% | 45.71% | −31.40% | 38.04% | 43.30% | 53.09% |
| La40 | 15 × 15 | 2284 | 9.70% | 28.53% | −31.72% | 18.65% | 18.46% | 34.99% |
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. |
© 2026 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.
Share and Cite
Valencia, J.; Rodríguez-Velásquez, E. Evolutionary Optimization for Job Shop Scheduling with Blocking: A Genetic Algorithm Approach. Algorithms 2026, 19, 115. https://doi.org/10.3390/a19020115
Valencia J, Rodríguez-Velásquez E. Evolutionary Optimization for Job Shop Scheduling with Blocking: A Genetic Algorithm Approach. Algorithms. 2026; 19(2):115. https://doi.org/10.3390/a19020115
Chicago/Turabian StyleValencia, John, and Elkin Rodríguez-Velásquez. 2026. "Evolutionary Optimization for Job Shop Scheduling with Blocking: A Genetic Algorithm Approach" Algorithms 19, no. 2: 115. https://doi.org/10.3390/a19020115
APA StyleValencia, J., & Rodríguez-Velásquez, E. (2026). Evolutionary Optimization for Job Shop Scheduling with Blocking: A Genetic Algorithm Approach. Algorithms, 19(2), 115. https://doi.org/10.3390/a19020115

