IDEAS home Printed from https://ideas.repec.org/a/spr/joinma/v36y2025i7d10.1007_s10845-024-02470-8.html

A transformer-based deep reinforcement learning approach for dynamic parallel machine scheduling problem with family setups

Author

Listed:
  • Funing Li

    (University of Stuttgart
    Otto von Guericke University Magdeburg)

  • Sebastian Lang

    (Otto von Guericke University Magdeburg
    Fraunhofer Institute for Factory Operation and Automation IFF)

  • Yuan Tian

    (ETH Zürich)

  • Bingyuan Hong

    (Zhejiang Ocean University)

  • Benjamin Rolf

    (Otto von Guericke University Magdeburg)

  • Ruben Noortwyck

    (University of Stuttgart)

  • Robert Schulz

    (University of Stuttgart)

  • Tobias Reggelin

    (Otto von Guericke University Magdeburg)

Abstract

The parallel machine scheduling problem (PMSP) involves the optimized assignment of a set of jobs to a collection of parallel machines, which is a proper formulation for the modern manufacturing environment. Deep reinforcement learning (DRL) has been widely employed to solve PMSP. However, the majority of existing DRL-based frameworks still suffer from generalizability and scalability. More specifically, the state and action design still heavily rely on human efforts. To bridge these gaps, we propose a practical reinforcement learning-based framework to tackle a PMSP with new job arrivals and family setup constraints. We design a variable-length state matrix containing full job and machine information. This enables the DRL agent to autonomously extract features from raw data and make decisions with a global perspective. To efficiently process this novel state matrix, we elaborately modify a Transformer model to represent the DRL agent. By integrating the modified Transformer model to represent the DRL agent, a novel state representation can be effectively leveraged. This innovative DRL framework offers a high-quality and robust solution that significantly reduces the reliance on manual effort traditionally required in scheduling tasks. In the numerical experiment, the stability of the proposed agent during training is first demonstrated. Then we compare this trained agent on 192 instances with several existing approaches, namely a DRL-based approach, a metaheuristic algorithm, and a dispatching rule. The extensive experimental results demonstrate the scalability of our approach and its effectiveness across a variety of scheduling scenarios. Conclusively, our approach can thus solve the scheduling problems with high efficiency and flexibility, paving the way for application of DRL in solving complex and dynamic scheduling problems.

Suggested Citation

  • Funing Li & Sebastian Lang & Yuan Tian & Bingyuan Hong & Benjamin Rolf & Ruben Noortwyck & Robert Schulz & Tobias Reggelin, 2025. "A transformer-based deep reinforcement learning approach for dynamic parallel machine scheduling problem with family setups," Journal of Intelligent Manufacturing, Springer, vol. 36(7), pages 4735-4768, October.
  • Handle: RePEc:spr:joinma:v:36:y:2025:i:7:d:10.1007_s10845-024-02470-8
    DOI: 10.1007/s10845-024-02470-8
    as

    Download full text from publisher

    File URL: http://link.springer.com/10.1007/s10845-024-02470-8
    File Function: Abstract
    Download Restriction: Access to the full text of the articles in this series is restricted.

    File URL: https://libkey.io/10.1007/s10845-024-02470-8?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    As the access to this document is restricted, you may want to

    for a different version of it.

    References listed on IDEAS

    as
    1. Biskup, Dirk & Herrmann, Jan & Gupta, Jatinder N.D., 2008. "Scheduling identical parallel machines to minimize total tardiness," International Journal of Production Economics, Elsevier, vol. 115(1), pages 134-142, September.
    2. Fuchao Yu & Xianchao Xiu & Yunhui Li, 2022. "A Survey on Deep Transfer Learning and Beyond," Mathematics, MDPI, vol. 10(19), pages 1-27, October.
    3. Alhussein Fawzi & Matej Balog & Aja Huang & Thomas Hubert & Bernardino Romera-Paredes & Mohammadamin Barekatain & Alexander Novikov & Francisco J. R. Ruiz & Julian Schrittwieser & Grzegorz Swirszcz & , 2022. "Discovering faster matrix multiplication algorithms with reinforcement learning," Nature, Nature, vol. 610(7930), pages 47-53, October.
    4. Jonas Degrave & Federico Felici & Jonas Buchli & Michael Neunert & Brendan Tracey & Francesco Carpanese & Timo Ewalds & Roland Hafner & Abbas Abdolmaleki & Diego de las Casas & Craig Donner & Leslie F, 2022. "Magnetic control of tokamak plasmas through deep reinforcement learning," Nature, Nature, vol. 602(7897), pages 414-419, February.
    5. Ana Esteso & David Peidro & Josefa Mula & Manuel Díaz-Madroñero, 2023. "Reinforcement learning applied to production planning and control," International Journal of Production Research, Taylor & Francis Journals, vol. 61(16), pages 5772-5789, August.
    6. Blazewicz, Jacek & Dror, Moshe & Weglarz, Jan, 1991. "Mathematical programming formulations for machine scheduling: A survey," European Journal of Operational Research, Elsevier, vol. 51(3), pages 283-300, April.
    7. Behice Meltem Kayhan & Gokalp Yildiz, 2023. "Reinforcement learning applications to machine scheduling problems: a comprehensive literature review," Journal of Intelligent Manufacturing, Springer, vol. 34(3), pages 905-929, March.
    8. Liaee, Mohammad Mehdi & Emmons, Hamilton, 1997. "Scheduling families of jobs with setup times," International Journal of Production Economics, Elsevier, vol. 51(3), pages 165-176, September.
    9. Xiong, Hegen & Fan, Huali & Jiang, Guozhang & Li, Gongfa, 2017. "A simulation-based study of dispatching rules in a dynamic job shop scheduling problem with batch release and extended technical precedence constraints," European Journal of Operational Research, Elsevier, vol. 257(1), pages 13-24.
    10. Funing Li & Sebastian Lang & Bingyuan Hong & Tobias Reggelin, 2024. "A two-stage RNN-based deep reinforcement learning approach for solving the parallel machine scheduling problem with due dates and family setups," Journal of Intelligent Manufacturing, Springer, vol. 35(3), pages 1107-1140, March.
    11. Constantin Waubert de Puiseau & Richard Meyes & Tobias Meisen, 2022. "On reliability of reinforcement learning based production scheduling systems: a comparative survey," Journal of Intelligent Manufacturing, Springer, vol. 33(4), pages 911-927, April.
    12. Chris N. Potts & Luk N. Van Wassenhove, 1985. "A Branch and Bound Algorithm for the Total Weighted Tardiness Problem," Operations Research, INFORMS, vol. 33(2), pages 363-377, April.
    13. Zhang, Zhicong & Zheng, Li & Hou, Forest & Li, Na, 2011. "Semiconductor final test scheduling with Sarsa([lambda], k) algorithm," European Journal of Operational Research, Elsevier, vol. 215(2), pages 446-458, December.
    14. Marcel Panzer & Benedict Bender, 2022. "Deep reinforcement learning in production systems: a systematic literature review," International Journal of Production Research, Taylor & Francis Journals, vol. 60(13), pages 4316-4341, July.
    15. Benjamin Rolf & Ilya Jackson & Marcel Müller & Sebastian Lang & Tobias Reggelin & Dmitry Ivanov, 2023. "A review on reinforcement learning algorithms and applications in supply chain management," International Journal of Production Research, Taylor & Francis Journals, vol. 61(20), pages 7151-7179, October.
    16. Burdett, Robert L. & Kozan, Erhan, 2018. "An integrated approach for scheduling health care activities in a hospital," European Journal of Operational Research, Elsevier, vol. 264(2), pages 756-773.
    17. Pellerin, Robert & Perrier, Nathalie & Berthaut, François, 2020. "A survey of hybrid metaheuristics for the resource-constrained project scheduling problem," European Journal of Operational Research, Elsevier, vol. 280(2), pages 395-416.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Haotian Zhang & Stuart Dereck Semujju & Zhicheng Wang & Xianwei Lv & Kang Xu & Liang Wu & Ye Jia & Jing Wu & Wensheng Liang & Ruiyan Zhuang & Zhuo Long & Ruijun Ma & Xiaoguang Ma, 2026. "Large scale foundation models for intelligent manufacturing applications: a survey," Journal of Intelligent Manufacturing, Springer, vol. 37(1), pages 119-170, January.
    2. Benjamin Heinbach & Peter Burggräf & Johannes Wagner, 2024. "gym-flp: A Python Package for Training Reinforcement Learning Algorithms on Facility Layout Problems," SN Operations Research Forum, Springer, vol. 5(1), pages 1-26, March.
    3. Li, Kunpeng & Liu, Tengbo & Ram Kumar, P.N. & Han, Xuefang, 2024. "A reinforcement learning-based hyper-heuristic for AGV task assignment and route planning in parts-to-picker warehouses," Transportation Research Part E: Logistics and Transportation Review, Elsevier, vol. 185(C).
    4. Levi R. Abreu & Bruno A. Prata, 2025. "A comparative computational study for parallel-machine problems with sustainable manufacturing constraints," Journal of Combinatorial Optimization, Springer, vol. 50(5), pages 1-40, December.
    5. Weifan Long & Taixian Hou & Xiaoyi Wei & Shichao Yan & Peng Zhai & Lihua Zhang, 2023. "A Survey on Population-Based Deep Reinforcement Learning," Mathematics, MDPI, vol. 11(10), pages 1-17, May.
    6. Neufeld, Janis S. & Schulz, Sven & Buscher, Udo, 2023. "A systematic review of multi-objective hybrid flow shop scheduling," European Journal of Operational Research, Elsevier, vol. 309(1), pages 1-23.
    7. He, Zhiliang & Thürer, Matthias & Zhou, Wanling, 2024. "The use of reinforcement learning for material flow control: An assessment by simulation," International Journal of Production Economics, Elsevier, vol. 274(C).
    8. Funing Li & Sebastian Lang & Bingyuan Hong & Tobias Reggelin, 2024. "A two-stage RNN-based deep reinforcement learning approach for solving the parallel machine scheduling problem with due dates and family setups," Journal of Intelligent Manufacturing, Springer, vol. 35(3), pages 1107-1140, March.
    9. Lativa Sid Ahmed Abdellahi & Zeinebou Zoubeir & Yahya Mohamed & Ahmedou Haouba & Sidi Hmetty, 2025. "Deep Reinforcement Learning for Optimal Replenishment in Stochastic Assembly Systems," Mathematics, MDPI, vol. 13(14), pages 1-29, July.
    10. Agnetis, Alessandro & Billaut, Jean-Charles & Pinedo, Michael & Shabtay, Dvir, 2025. "Fifty years of research in scheduling — Theory and applications," European Journal of Operational Research, Elsevier, vol. 327(2), pages 367-393.
    11. Tian, Dongnuan & Shone, Rob, 2026. "Stochastic dynamic job scheduling with interruptible setup and processing times: An approach based on queueing control," European Journal of Operational Research, Elsevier, vol. 329(3), pages 920-934.
    12. Allen M. Wang & Alessandro Pau & Cristina Rea & Oswin So & Charles Dawson & Olivier Sauter & Mark D. Boyer & Anna Vu & Cristian Galperti & Chuchu Fan & Antoine Merle & Yoeri Poels & Cristina Venturini, 2025. "Learning plasma dynamics and robust rampdown trajectories with predict-first experiments at TCV," Nature Communications, Nature, vol. 16(1), pages 1-16, December.
    13. Biber Nurit & Mor Baruch & Schlissel Yitzhak & Shapira Dana, 2023. "Lot scheduling involving completion time problems on identical parallel machines," Operational Research, Springer, vol. 23(1), pages 1-29, March.
    14. Jianxin Fang & Brenda Cheang & Andrew Lim, 2023. "Problems and Solution Methods of Machine Scheduling in Semiconductor Manufacturing Operations: A Survey," Sustainability, MDPI, vol. 15(17), pages 1-44, August.
    15. David Roch-Dupré & Carlos Camacho-Gómez & Asunción P. Cucala & Silvia Jiménez-Fernández & Álvaro López-López & Antonio Portilla-Figueras & Ramón R. Pecharromán & Antonio Fernández-Cardador & Sancho Sa, 2021. "Optimal Location and Sizing of Energy Storage Systems in DC-Electrified Railway Lines Using a Coral Reefs Optimization Algorithm with Substrate Layers," Energies, MDPI, vol. 14(16), pages 1-19, August.
    16. Huang, Ruchen & He, Hongwen & Gao, Miaojue, 2023. "Training-efficient and cost-optimal energy management for fuel cell hybrid electric bus based on a novel distributed deep reinforcement learning framework," Applied Energy, Elsevier, vol. 346(C).
    17. Jordan, Carsten & Drexl, Andreas, 1993. "A comparison of logic and mixed-integer programming solvers for batch sequencing with sequence-dependent setups," Manuskripte aus den Instituten für Betriebswirtschaftslehre der Universität Kiel 322, Christian-Albrechts-Universität zu Kiel, Institut für Betriebswirtschaftslehre.
    18. Karsten Schwarz & Michael Römer & Taïeb Mellouli, 2019. "A data-driven hierarchical MILP approach for scheduling clinical pathways: a real-world case study from a German university hospital," Business Research, Springer;German Academic Association for Business Research, vol. 12(2), pages 597-636, December.
    19. Ho Van Roi & Sam-Sang You & Hwan-Seong Kim & Le Ngoc Bao Long & Truong Ngoc Cuong & Duy Anh Nguyen, 2025. "Heuristic-assisted deep learning for integrated scheduling of multiple equipment in automated container terminals," Maritime Economics & Logistics, Palgrave Macmillan;International Association of Maritime Economists (IAME), vol. 27(4), pages 786-818, December.
    20. Vincenzo Varriale & Antonello Cammarano & Francesca Michelino & Mauro Caputo, 2025. "Critical analysis of the impact of artificial intelligence integration with cutting-edge technologies for production systems," Journal of Intelligent Manufacturing, Springer, vol. 36(1), pages 61-93, January.

    More about this item

    Keywords

    ;
    ;
    ;
    ;
    ;

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:spr:joinma:v:36:y:2025:i:7:d:10.1007_s10845-024-02470-8. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Sonal Shukla or Springer Nature Abstracting and Indexing (email available below). General contact details of provider: http://www.springer.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.