journal article·2025-10-03Open access

A Scalable Two-Level Deep Reinforcement Learning Framework for Joint WIP Control and Job Sequencing in Flow Shops

Maria Grazia Marchesano, Guido Guizzi, Valentina Popolo, Anastasiia Rozhok

Applied Sciences· Volume 15· Issue 19

Abstract

Effective production control requires aligning strategic planning with real-time execution under dynamic and stochastic conditions. This study proposes a scalable dual-agent Deep Reinforcement Learning (DRL) framework for the joint optimisation of Work-In-Process (WIP) control and job sequencing in flow-shop environments. A strategic DQN agent regulates global WIP to meet throughput targets, while a tactical DQN agent adaptively selects dispatching rules at the machine level on an event-driven basis. Parameter sharing in the tactical agent ensures inherent scalability, overcoming the combinatorial complexity of multi-machine scheduling. The agents coordinate indirectly via a shared simulation environment, learning to balance global stability with local responsiveness. The framework is validated through a discrete-event simulation integrating agent-based modelling, demonstrating consistent performance across multiple production scales (5–15 machines) and process time variabilities. Results show that the approach matches or surpasses analytical benchmarks and outperforms static rule-based strategies, highlighting its robustness, adaptability, and potential as a foundation for future Hierarchical Reinforcement Learning applications in manufacturing.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Scheduling and Optimization Algorithms

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

Dipartimento di Ingegneria Chimica, dei Materiali e della Produzione Industriale, Università degli Studi di Napoli Federico II, Piazzale V. Tecchio 80, 80125 Naples, Italy

Dipartimento di Ingegneria, Università Telematica Pegaso, Centro Direzionale Isola F2, 80143 Naples, Italy

Department of Political and International Sciences, University of Genoa, Piazza Emanuele Brignole 3A-Torre Centrale-Stanza 33, 16124 Genoa, Italy

References (42)

Show source-provided references
1. Optimal cost design of flow lines with reconfigurable machines for batch production10.1080/00207543.2020.1716092 ↗
2. The manufacturing planning and control system: A journey towards the new perspectives in industry 4.0 architectures
3. Production scheduling in the context of Industry 4.0: Review and trends10.1080/00207543.2020.1718794 ↗
4. A systemic analysis of the impacts of Product 4.0 on the triple bottom-line of Sustainability10.1016/j.ifacol.2022.09.538 ↗
5. Towards the application of machine learning in digital twin technology: A multi-scale review10.1007/s42452-024-06206-4 ↗
6. Deep reinforcement learning in production systems: A systematic literature review10.1080/00207543.2021.1973138 ↗
7. Deep reinforcement learning for machine scheduling: Methodology, the state-of-the-art, and future directions10.1016/j.cie.2025.110856 ↗
8. The use of digital twin in the industrial sector10.1088/1755-1315/815/1/012032 ↗
9. Marchesano, M.G., Popolo, V., Rozhok, A., and Cavalaglio, G. (2024). Performance Evaluation of Battery Swapping Stations for EVs: A Multi-Method Simulation Approach. Energies, 17.10.3390/en17235969 ↗
10. Use of Modeling & Simulation and AI for Collaborative Framework: SMEs Supply Chain Disruptions
11. CONWIP: A pull alternative to kanban10.1080/00207549008942761 ↗
12. Vespoli, S., Grassi, A., Guizzi, G., and Popolo, V. (2023). Generalised Performance Estimation in Novel Hybrid MPC Architectures: Modeling the CONWIP Flow-Shop System. Appl. Sci., 13.10.3390/app13084808 ↗
13. Vespoli, S., Grassi, A., Guizzi, G., and Popolo, V. (2021, January 5–9). A Deep Learning Algorithm for the Throughput Estimation of a CONWIP Line. Proceedings of the IFIP Advances in Information and Communication Technology, Nantes, France.10.1007/978-3-030-85874-2_15 ↗
14. A Deep Reinforcement Learning approach for the throughput control of a Flow-Shop production system10.1016/j.ifacol.2021.08.006 ↗
15. Adaptive manufacturing control with Deep Reinforcement Learning for dynamic WIP management in industry 4.010.1016/j.cie.2025.110966 ↗
16. Marchesano, M.G., Guizzi, G., Santillo, L.C., and Vespoli, S. (2021, January 5–9). Dynamic Scheduling in a Flow Shop Using Deep Reinforcement Learning. Proceedings of the IFIP Advances in Information and Communication Technology, Nantes, France.10.1007/978-3-030-85874-2_16 ↗
17. Ahmad, K., Rozhok, A., and Revetria, R. (2024, January 12–14). Supply Chain Resilience in SMEs: Integration of Generative AI in Decision-Making Framework. Proceedings of the 2024 International Conference on Machine Intelligence and Smart Innovation (ICMISI 2024), Alexandria, Egypt.10.1109/ICMISI61517.2024.10580495 ↗
18. Deep reinforcement learning-based dynamic scheduling for resilient and sustainable manufacturing: A systematic review10.1016/j.jmsy.2024.10.026 ↗
19. Hopp, W.J., and Spearman, M.L. (2001). Factory Physics: Foundation of Manufacturing Management, Irwin/McGraw-Hill. [2nd ed.].
20. CONWIP Redux: Reflections on 30 years of development and implementation10.1080/00207543.2021.1954713 ↗
21. Long-sighted dispatching rules for manufacturing scheduling problem in Industry 4.0 hybrid approach10.1016/j.cie.2024.110006 ↗
22. Human-level control through deep reinforcement learning10.1038/nature14236 ↗
23. Sutton, R.S., and Barto, A.G. (2018). Reinforcement Learning: An Introduction, The MIT Press. [2nd ed.].
24. Dynamic scheduling for flexible job shop with new job insertions by deep reinforcement learning10.1016/j.asoc.2020.106208 ↗
25. A Reinforcement Learning Approach to Robust Scheduling of Semiconductor Manufacturing Facilities
26. Adaptive scheduling for assembly job shop with uncertain assembly times based on dual Q-learning10.1080/00207543.2020.1794075 ↗
27. A two-stage RNN-based deep reinforcement learning approach for solving the parallel machine scheduling problem with due dates and family setups10.1007/s10845-023-02094-4 ↗
28. Workload Control and Order Release: A Lean Solution for Make-to-Order Companies10.1111/j.1937-5956.2011.01307.x ↗
29. Suri, R. (2018). The Practitioner’s Guide to POLCA: The Production Control System for High-Mix, Low-Volume and Custom Products, Productivity Press. [1st ed.].10.4324/9781351170765 ↗
30. A digital twin to train deep reinforcement learning agent for smart manufacturing plants: Environment, interfaces and intelligence10.1016/j.jmsy.2020.06.012 ↗
31. Towards live decision-making for service-based production: Integrated process planning and scheduling with Digital Twins and Deep-Q-Learning10.1016/j.compind.2023.103933 ↗
32. Wang, W., Zhang, Y., Wang, Y., Pan, G., and Feng, Y. (2025). Hierarchical multi-agent deep reinforcement learning for dynamic flexible job-shop scheduling with transportation. Int. J. Prod. Res., 1–28.10.1080/00207543.2025.2511239 ↗
33. Multi agent reinforcement learning for online layout planning and scheduling in flexible assembly systems10.1007/s10845-023-02309-8 ↗
34. Designing an adaptive and deep learning based control framework for modular production systems10.1007/s10845-023-02249-3 ↗
35. Cooperative multi-agent system for production control using reinforcement learning10.1016/j.cirp.2020.04.005 ↗
36. Hausknecht, M., and Stone, P. (2015, January 25–30). Deep Recurrent Q-Learning for Partially Observable MDPs. Proceedings of the AAAI Conference on Artificial Intelligence, Austin, TX, USA.
37. Training a neural network to select dispatching rules in real time10.1016/j.cie.2009.03.008 ↗
38. Ranking dispatching rules in multi-objective dynamic flow shop scheduling: A multi-faceted perspective10.1080/00207543.2019.1696487 ↗
39. Law, A.M., Kelton, W.D., and Kelton, W.D. (2007). Simulation Modeling and Analysis, Mcgraw-hill.
40. Patterson, J., and Gibson, A. (2017). Deep Learning: A Practitioner’s Approach, O’Reilly. [1st ed.].
41. Learning to schedule job-shop problems: Representation and policy learning using graph neural network and reinforcement learning10.1080/00207543.2020.1870013 ↗
42. A novel throughput control algorithm for semi-heterarchical industry 4.0 architecture10.1007/s10479-021-04184-z ↗