A Data-Driven Methodology for Hierarchical Production Planning with LSTM-Q Network-Based Demand Forecast
Abstract
:1. Introduction
2. Literature Review
2.1. Hierarchical Production Planning
2.2. Demand Forecast
2.3. Relax-And-Fix Heuristic
Paper | Level | Capacity Constraints | Objective Costs | Decomposition Method | Case Type | |
---|---|---|---|---|---|---|
Production/ Transportation | Inventory | |||||
Araujo et al. [43] | Single | Yes | Yes | Inventory, Storage, Production, Setup | Time, Product, Machine, Problem- independent | Personal care consumer goods industry |
Clark and Clark [45] | Single | Yes | – | Inventory, Storage | Time | – |
Wang et al. [46] | Multi | – | Yes | Transportation, Pulling-off, Packing, Out-of-stock, Inventory | Time | Clothes industry |
Joncour et al. [44] | Single | Yes | – | Transportation, Inventory, Production | Time, Problem- independent | – |
Friske et al. [48] | Multi | Yes | Yes | Revenue, Traveling, Operation, Inventory Violation | Time | Maritime transport |
Brahimi and Aouam [47] | Multi | Yes | Yes | Inventory, Storage, Production, Transportation, Service | Time | – |
2.4. Simulation Methods and Dispatching Rules
3. Problem Description and Solution Framework
- The first level is data-driven demand forecasting. It uses an LSTM-Q network to iteratively update demand forecasts with historical and real-time demand data. The forecast period at this level is in weeks.
- The second level focuses on medium- and long-term planning. This level uses both known and predicted demand data to create plans for monthly and quarterly. The planning period at this level is in weeks. We generate production plans through a mixed-integer linear programming (MILP) model and employ the relax-and-fix algorithm to solve the MILP model.
- The third level is short-term planning. It refines the weekly production plans by specifying order release times and production sequences based on the results of the upper-level plans and supported by discrete-event simulation and dispatching rules.
4. Data-Driven Methodology for HPP
4.1. Demand Forecast
4.2. Long-Term Planning
4.2.1. Mathematical Model
- Assumptions:
- Each product is produced in a single production lot during a single production cycle.
- It should be noted that split batches of the same product in the same cycle are not considered.
- The relevant materials are sufficient in number and quality, and the production process is be disrupted by accidents.
- The production process is characterized by a 100% yield rate, indicating no wastage.
- The processing time represents the average total time per product, comprising not only the value-added processing time in machines but also other non-value-added activities, such as queuing and material handling.
- For the capacity constraints, production lines and workers are pre-configured, without consideration for splitting.
- The production capacity can be fully used, that is, the equipment is not in a state of disrepair or inoperable.
- The costs associated with inventory and shortage depend on the batch sizes of products.
- The setup costs are determined by whether a product type is scheduled for production in a specific period, regardless of the production quantity.
- The costs associated with overtime are only dependent on the shift schedules and number of shifts, not dependent on the specific product type or batch size.
- The model does not consider production costs, but rather the additional costs associated with inventory, setup, shortage, and overtime.
- Parameters and Symbols Definition:
Symbol | Description |
Index: | |
i | Index representing product number, |
t | Index representing the period number, |
n | Index representing the overtime shift number, |
Parameter: | |
I | Total number of product categories. |
T | Total number of planning periods. |
N | Total number of overtime shifts during the unit period. |
M | A big enough number. |
Predicted demand for product i in period t. | |
Unit inventory cost for product i. | |
Unit shortage cost for product i. | |
The setup cost for all product i in per period. | |
R | Regular production capacity. |
Overtime production capacity for period t and shift n in hours. | |
Unit processing time for product i. | |
Inventory capacity limit. | |
The unit cost for overtime shift in period t. | |
The set of positive integers. | |
Integer variables: | |
The production quantity of product i in period t. | |
Inventory level for product i at period t. | |
Actual shortage quantity for product i at period t. | |
Binary variables: | |
In period t, if the n th overtime shift is scheduled, the value of is 1; otherwise, the value of is 0. | |
In period t, if the product i in period t is scheduled, the value of is 1; otherwise, the value of is 0. In other words, a setup operation occurs if a product is scheduled to be produced. |
- MILP Model:
4.2.2. Relax-And-Fix Heuristic
- (1)
- Pre-processing for finding feasible solutions
- (2)
- Relax-and-fix approach
Algorithm 1 The procedure of the R&F method. |
|
- (3)
- Method for accelerating computations
4.3. Short-Term Planning Based on Simulation and Dispatching Rules
4.3.1. Dispatching Rules Based on Time-Window
- (1)
- Order encoding and initial sorting: Map due date to time-window identifiers, convert part numbers into product codes, and sort orders in ascending order of due dates to generate an initial order queue.
- (2)
- Dynamic batching based on time window: Perform batching sequentially in each time window. First, combine orders for the same product in the same time window. Then, evaluate batch sizes: split oversized batches into smaller ones based on trolley capacity and defer undersized batches to the next time domain for further combination.
- (3)
- Resource allocation: Recalculate the due date for each batch, which is determined by the latest due date among its constituent orders. Allocate decoded orders to available production lines using the EDD rule, prioritizing lines with no changeovers.
4.3.2. Dispatching Rules Based on Available Capacity
- (1)
- Order encoding and initial sorting: Extract the product type and due date of orders, convert them into product codes, and sort orders in ascending order of due dates to generate an initial order queue.
- (2)
- Dynamic batching based on available capacity: Traverse the orders cyclically, dynamically fill the batch with the capacity threshold for each product type. When the capacity threshold is exceeded, generate a new batch.
- (3)
- Resource allocation: This step is the same as Step 3 of dispatching rules based on time-window.
4.3.3. Hybrid Dispatching Strategy
- (1)
- Order encoding and initial sorting: This step is the same as Step 1 of dispatching rules based on available capacity.
- (2)
- Dynamic batching based on the hybrid strategy: First, divide the order queue by the time window. In each time window, aggregate half products with smaller single-trolley capacities. For the remaining half products, dynamically fill batches based on the threshold of available capacity ignoring the time window.
- (3)
- Resource allocation: This step is the same as Step 3 of dispatching rules based on time-window.
5. Experiments and Results
5.1. Results of Demand Forecast
5.1.1. Training Process
5.1.2. Validation of the Proposed LSTM-Q Network Framework
5.1.3. Computational Experiments and Analysis
5.2. Results of Long-Term Planning
5.2.1. Experiments with Randomly Generated Instances
- (1)
- Instance Generation
- (2)
- Performance Analysis
- (3)
- Sensitivity analysis
5.2.2. Experiments with Real-World Instances
- (1)
- The computation time measures the efficiency of the algorithm execution. Notably, when implementing the R&F-2 algorithm, the time limit is set to 600 s based on the planning requirements of the real factory.
- (2)
- The average inventory level allows planners to evaluate the inventory status, guiding the setup of safety stock and efficient management of storage space, calculated as
- (3)
- The average utilization of production capacity measures the ratio of planned production capacity to the total available capacity, helping to assess whether the production system is appropriately loaded. is calculated as
- (4)
- The average utilization of overtime shifts reflects the proportion of overtime shifts scheduled relative to the total number of shifts available. This metric assists planners in optimizing overtime schedules and determining whether additional production lines and workers are necessary to enhance factory capacity from a long-term perspective. is calculated as follows:
- (5)
- The average rate of on-time delivery indicates the proportion of orders delivered on time to the total number of orders during the whole planning horizon, and it is an important indicator to measure the service level. is calculated as follows:
5.3. Results of Short-Term Planning
5.4. Discussion of System Efficiency
6. Conclusions and Perspective
Author Contributions
Funding
Data Availability Statement
Conflicts of Interest
References
- Mota, A.L.S.; Lins, R.G. Production of customized commercial vehicles in assembly line based on modified-to-order demands: A novel method and study case. Int. J. Prod. Econ. 2025, 282, 109535. [Google Scholar] [CrossRef]
- Sahebjamnia, N.; Torabi, S.A.; Mansouri, S.A. Building organizational resilience in the face of multiple disruptions. Int. J. Prod. Econ. 2018, 197, 63–83. [Google Scholar] [CrossRef]
- Pi, Z.; Wang, K.; Wei, Y.M.; Huang, Z. Transitioning from gasoline to electric vehicles: Electrification decision of automakers under purchase and station subsidies. Transp. Res. Part Logist. Transp. Rev. 2024, 188, 103640. [Google Scholar] [CrossRef]
- Ghazali, A.K.; Aziz, N.A.A.; Hassan, M.K. Advanced algorithms in battery management systems for electric vehicles: A comprehensive review. Symmetry 2025, 17, 321. [Google Scholar] [CrossRef]
- Bakhshi-Khaniki, H.; Fatemi Ghomi, S. Integrated dynamic cellular manufacturing systems and hierarchical production planning with worker assignment and stochastic demand. Int. J. Eng. 2023, 36, 348–359. [Google Scholar] [CrossRef]
- McKay, K.N.; Safayeni, F.R.; Buzacott, J.A. A review of hierarchical production planning and its applicability for modern manufacturing. Prod. Plan. Control 1995, 6, 384–394. [Google Scholar] [CrossRef]
- O’Reilly, S.; Kumar, A.; Adam, F. The role of hierarchical production planning in food manufacturing SMEs. Int. J. Oper. Prod. Manag. 2015, 35, 1362–1385. [Google Scholar] [CrossRef]
- Iwamura, K.; Morinaga, E.; Hirahara, Y.; Fukuda, M.; Niinuma, A.; Oshima, H.; Namioka, Y. A study on hierarchical production planning framework for engineer-to-order production of large products. In Proceedings of the International Symposium on Flexible Automation, Seattle, WA, USA, 21–24 July 2024; American Society of Mechanical Engineers: New York, NY, USA, 2024; Volume 87882, p. V001T06A002. [Google Scholar]
- Soori, M.; Arezoo, B.; Dastres, R. Virtual manufacturing in industry 4.0: A review. Data Sci. Manag. 2024, 7, 47–63. [Google Scholar] [CrossRef]
- Qi, Q.; Tao, F. Digital twin and big data towards smart manufacturing and industry 4.0: 360 degree comparison. IEEE Access 2018, 6, 3585–3593. [Google Scholar] [CrossRef]
- Luo, D.; Thevenin, S.; Dolgui, A. A state-of-the-art on production planning in Industry 4.0. Int. J. Prod. Res. 2023, 61, 6602–6632. [Google Scholar] [CrossRef]
- Zeng, X.; Yi, J. Analysis of the impact of big data and artificial intelligence technology on supply chain management. Symmetry 2023, 15, 1801. [Google Scholar] [CrossRef]
- Karkaria, V.; Tsai, Y.K.; Chen, Y.P.; Chen, W. An optimization-centric review on integrating artificial intelligence and digital twin technologies in manufacturing. Eng. Optim. 2024, 57, 161–207. [Google Scholar] [CrossRef]
- Mehra, A.; Minis, I.; Proth, J. Hierarchical production planning for complex manufacturing systems. Adv. Eng. Softw. 1996, 26, 209–218. [Google Scholar] [CrossRef]
- He, N.; Zhang, D.; Li, Q. Agent-based hierarchical production planning and scheduling in make-to-order manufacturing system. Int. J. Prod. Econ. 2014, 149, 117–130. [Google Scholar] [CrossRef]
- Boujnah, I.; Tlili, M.; Korbaa, O. Hierarchical production planning frameworks for multi product multi stage batch plants. In Proceedings of the 2023 International Conference on Innovations in Intelligent Systems and Applications (INISTA), Hammamet, Tunisia, 20–23 September 2023; IEEE: New York, NY, USA, 2023; pp. 1–6. [Google Scholar]
- Gfrerer, H.; Zäpfel, G. Hierarchical model for production planning in the case of uncertain demand. Eur. J. Oper. Res. 1995, 86, 142–161. [Google Scholar] [CrossRef]
- Meybodi, M.Z.; Foote, B.L. Hierarchical production planning and scheduling with random demand and production failure. Ann. Oper. Res. 1995, 59, 259–280. [Google Scholar] [CrossRef]
- Yan, H.S. Hierarchical stochastic production planning for flexible automation workshops. Comput. Ind. Eng. 2000, 38, 435–455. [Google Scholar] [CrossRef]
- Okuda, K. Hierarchical structure in manufacturing systems: A literature survey. Int. J. Manuf. Technol. Manag. 2001, 3, 210–224. [Google Scholar] [CrossRef]
- Thomas, D.J.; Griffin, P.M. Coordinated supply chain management. Eur. J. Oper. Res. 1996, 94, 1–15. [Google Scholar] [CrossRef]
- Kusumawati, R. Integrating big data analytics into supply chain management: Overcoming data silos to improve real-time decision-making. Int. J. Adv. Comput. Methodol. Emerg. Technol. 2025, 15, 17–26. [Google Scholar]
- Ge, D.; Pan, Y.; Shen, Z.J.; Wu, D.; Yuan, R.; Zhang, C. Retail supply chain management: A review of theories and practices. J. Data Inf. Manag. 2019, 1, 45–64. [Google Scholar] [CrossRef]
- Tao, F.; Zhang, H.; Liu, A.; Nee, A.Y. Digital twin in industry: State-of-the-art. IEEE Trans. Ind. Inform. 2018, 15, 2405–2415. [Google Scholar] [CrossRef]
- Chabanet, S.; Bril El-Haouzi, H.; Morin, M.; Gaudreault, J.; Thomas, P. Toward digital twins for sawmill production planning and control: Benefits, opportunities, and challenges. Int. J. Prod. Res. 2023, 61, 2190–2213. [Google Scholar] [CrossRef]
- Lanzini, M.; Adami, N.; Benini, S.; Ferretti, I.; Schieppati, G.; Spoto, C.; Zanoni, S. Implementation and integration of a Digital Twin for production planning in manufacturing. In Proceedings of the 35th European Modeling & Simulation Symposium, EMSS, Athens, Greece, 18–23 September 2023; CALTEK srl.: Busto Arsizio, Italy, 2023. [Google Scholar] [CrossRef]
- van de Berg, D.; Shah, N.; del Rio-Chanona, E.A. Hierarchical planning-scheduling-control—Optimality surrogates and derivative-free optimization. Comput. Chem. Eng. 2024, 188, 108726. [Google Scholar] [CrossRef]
- Meybodi, M.Z. Integrating production activity control into a hierarchicalproduction-planning model. Int. J. Oper. Prod. Manag. 1995, 15, 4–25. [Google Scholar] [CrossRef]
- Anderson, E.G., Jr.; Joglekar, N.R. A hierarchical product development planning framework. Prod. Oper. Manag. 2005, 14, 344–361. [Google Scholar] [CrossRef]
- De Kok, A. Hierarchical production planning for consumer goods. Eur. J. Oper. Res. 1990, 45, 55–69. [Google Scholar] [CrossRef]
- Neureuther, B.D.; Polak, G.G.; Sanders, N.R. A hierarchical production plan for a make-to-order steel fabrication plant. Prod. Plan. Control 2004, 15, 324–335. [Google Scholar] [CrossRef]
- Dcoutho, J.F.; Eisenbart, B.; Kulkarni, A. Hierarchy priortization and dynamic simulation for low volume production planning. In Proceedings of the 2023 IEEE Engineering Informatics, Melbourne, Australia, 9–13 September 2023; IEEE: New York, NY, USA, 2023; pp. 1–10. [Google Scholar]
- Hochreiter, S.; Schmidhuber, J. Long short-term memory. Neural Comput. 1997, 9, 1735–1780. [Google Scholar] [CrossRef]
- Gers, F.A.; Schmidhuber, J.; Cummins, F. Learning to forget: Continual prediction with LSTM. Neural Comput. 2000, 12, 2451–2471. [Google Scholar] [CrossRef]
- Sundermeyer, M.; Schlüter, R.; Ney, H. Lstm neural networks for language modeling. In Proceedings of the Interspeech, Portland, OR, USA, 9–13 September 2012; Volume 2012, pp. 194–197. [Google Scholar]
- Greff, K.; Srivastava, R.K.; Koutník, J.; Steunebrink, B.R.; Schmidhuber, J. LSTM: A search space odyssey. IEEE Trans. Neural Netw. Learn. Syst. 2016, 28, 2222–2232. [Google Scholar] [CrossRef] [PubMed]
- Siami-Namini, S.; Tavakoli, N.; Namin, A.S. A comparison of ARIMA and LSTM in forecasting time series. In Proceedings of the 2018 17th IEEE International Conference on Machine Learning and Applications (ICMLA), Orlando, FL, USA, 17–20 December 2018; IEEE: New York, NY, USA, 2018; pp. 1394–1401. [Google Scholar]
- Karimi, B.; Ghomi, S.F.; Wilson, J. The capacitated lot sizing problem: A review of models and algorithms. Omega 2003, 31, 365–378. [Google Scholar] [CrossRef]
- Helber, S.; Sahling, F. A fix-and-optimize approach for the multi-level capacitated lot sizing problem. Int. J. Prod. Econ. 2010, 123, 247–256. [Google Scholar] [CrossRef]
- Stadtler, H.; Sahling, F. A lot-sizing and scheduling model for multi-stage flow lines with zero lead times. Eur. J. Oper. Res. 2013, 225, 404–419. [Google Scholar] [CrossRef]
- Toledo, C.F.M.; da Silva Arantes, M.; Hossomi, M.Y.B.; França, P.M.; Akartunalı, K. A relax-and-fix with fix-and-optimize heuristic applied to multi-level lot-sizing problems. J. Heuristics 2015, 21, 687–717. [Google Scholar] [CrossRef]
- Pochet, Y.; Wolsey, L.A. Production Planning by Mixed Integer Programming; Springer: Berlin/Heidelberg, Germany, 2006; Volume 149. [Google Scholar]
- Araujo, K.A.G.d.; Birgin, E.G.; Kawamura, M.; Ronconi, D.P. Relax-and-fix heuristics applied to a real-world lot sizing and scheduling problem in the personal care consumer goods industry. Oper. Res. Forum 2023, 4, 47. [Google Scholar] [CrossRef]
- Joncour, C.; Kritter, J.; Michel, S.; Schepler, X. Generalized relax-and-fix heuristic. Comput. Oper. Res. 2023, 149, 106038. [Google Scholar] [CrossRef]
- Clark, A.R.; Clark, S.J. Rolling-horizon lot-sizing when set-up times are sequence-dependent. Int. J. Prod. Res. 2000, 38, 2287–2307. [Google Scholar] [CrossRef]
- Wang, S.; Zhang, H.; Chu, F.; Yu, L. A relax-and-fix method for clothes inventory balancing scheduling problem. Int. J. Prod. Res. 2023, 61, 7085–7104. [Google Scholar] [CrossRef]
- Brahimi, N.; Aouam, T. Multi-item production routing problem with backordering: A MILP approach. Int. J. Prod. Res. 2016, 54, 1076–1093. [Google Scholar] [CrossRef]
- Friske, M.W.; Buriol, L.S.; Camponogara, E. A relax-and-fix and fix-and-optimize algorithm for a Maritime Inventory Routing Problem. Comput. Oper. Res. 2022, 137, 105520. [Google Scholar] [CrossRef]
- Ding, L.; Guan, Z.; Luo, D.; Rauf, M.; Fang, W. An adaptive search algorithm for multiplicity dynamic flexible job shop scheduling with new order arrivals. Symmetry 2024, 16, 641. [Google Scholar] [CrossRef]
- Salatiello, E.; Vespoli, S.; Guizzi, G.; Grassi, A. Long-sighted dispatching rules for manufacturing scheduling problem in Industry 4.0 hybrid approach. Comput. Ind. Eng. 2024, 190, 110006. [Google Scholar] [CrossRef]
- Jeong, K.C.; Kim, Y.D. A real-time scheduling mechanism for a flexible manufacturing system: Using simulation and dispatching rules. Int. J. Prod. Res. 1998, 36, 2609–2626. [Google Scholar] [CrossRef]
- Habib Zahmani, M.; Atmani, B. Multiple dispatching rules allocation in real time using data mining, genetic algorithms, and simulation. J. Sched. 2021, 24, 175–196. [Google Scholar] [CrossRef]
- Weiss, G. Scheduling: Theory, algorithms, and systems. Interfaces 1995, 25, 130–132. [Google Scholar]
- Lawler, E.L.; Lenstra, J.K.; Kan, A.H.R.; Shmoys, D.B. Sequencing and scheduling: Algorithms and complexity. Handbooks Oper. Res. Manag. Sci. 1993, 4, 445–522. [Google Scholar]
- Baker, K.R.; Trietsch, D. Principles of Sequencing and Scheduling; John Wiley & Sons: Hoboken, NJ, USA, 2018. [Google Scholar]
- Chiu, C.C.; Huang, H.; Chen, C.F. A simulation-based optimization approach for the recharging scheduling problem of electric buses. Transp. Res. Part Logist. Transp. Rev. 2024, 192, 103835. [Google Scholar] [CrossRef]
- Pooch, U.W.; Wall, J.A. Discrete Event Simulation: A Practical Approach; CRC Press: Boca Raton, FL, USA, 2024. [Google Scholar]
- Maccarthy, B.L.; Liu, J. Addressing the gap in scheduling research: A review of optimization and heuristic methods in production scheduling. Int. J. Prod. Res. 1993, 31, 59–79. [Google Scholar] [CrossRef]
- Branke, J.; Nguyen, S.; Pickardt, C.W.; Zhang, M. Automated design of production scheduling heuristics: A review. IEEE Trans. Evol. Comput. 2015, 20, 110–124. [Google Scholar] [CrossRef]
- Jomah, S.; S, A. Meta-heuristic scheduling: A review on swarm intelligence and hybrid meta-heuristics algorithms for cloud computing. Oper. Res. Forum 2024, 5, 94. [Google Scholar] [CrossRef]
- Mouelhi-Chibani, W.; Pierreval, H. Training a neural network to select dispatching rules in real time. Comput. Ind. Eng. 2010, 58, 249–256. [Google Scholar] [CrossRef]
- Baykasoğlu, A.; Özbakır, L. Analyzing the effect of dispatching rules on the scheduling performance through grammar based flexible scheduling system. Int. J. Prod. Econ. 2010, 124, 369–381. [Google Scholar] [CrossRef]
- Zeng, F.; Cui, J. A Q-learning evolutionary algorithm for solving the distributed mixed no-idle permutation flowshop scheduling problem. Symmetry 2025, 17, 276. [Google Scholar] [CrossRef]
- Kim, M.H.; Kim, Y.D. Simulation-based real-time scheduling in a flexible manufacturing system. J. Manuf. Syst. 1994, 13, 85–93. [Google Scholar] [CrossRef]
- Wang, H.; Peng, T.; Nassehi, A.; Tang, R. A data-driven simulation-optimization framework for generating priority dispatching rules in dynamic job shop scheduling with uncertainties. J. Manuf. Syst. 2023, 70, 288–308. [Google Scholar] [CrossRef]
- Son, Y.J.; Wysk, R.A. Automatic simulation model generation for simulation-based, real-time shop floor control. Comput. Ind. 2001, 45, 291–308. [Google Scholar] [CrossRef]
- Reinhardt, H.; Weber, M.; Putz, M. A survey on automatic model generation for material flow simulation in discrete manufacturing. Procedia CIRP 2019, 81, 121–126. [Google Scholar] [CrossRef]
- Zhang, L.; Yang, C.; Yan, Y.; Cai, Z.; Hu, Y. Automated guided vehicle dispatching and routing integration via digital twin with deep reinforcement learning. J. Manuf. Syst. 2024, 72, 492–503. [Google Scholar] [CrossRef]
- Lee, J.; Kim, Y.; Kim, J.; Kim, Y.B.; Kim, H.J.; Kim, B.H.; Chung, G.H. A framework for performance analysis of dispatching rules in manufacturing systems. In Proceedings of the 2018 Winter Simulation Conference (WSC), Gothenburg, Sweden, 9–12 December 2018; IEEE: New York, NY, USA, 2018; pp. 3550–3560. [Google Scholar]
- Pergher, I.; Frej, E.A.; Roselli, L.R.P.; de Almeida, A.T. Integrating simulation and FITradeoff method for scheduling rules selection in job-shop production systems. Int. J. Prod. Econ. 2020, 227, 107669. [Google Scholar] [CrossRef]
- Gohareh, M.M.; Mansouri, E. A simulation-optimization framework for generating dynamic dispatching rules for stochastic job shop with earliness and tardiness penalties. Comput. Oper. Res. 2022, 140, 105650. [Google Scholar] [CrossRef]
- Akbalik, A.; Penz, B.; Rapine, C. Capacitated lot sizing problems with inventory bounds. Ann. Oper. Res. 2015, 229, 1–18. [Google Scholar] [CrossRef]
- Salman, D.; Kusaf, M.; Elmi, Y.K. Using recurrent neural network to forecast day and year ahead performance of load demand: A case study of France. In Proceedings of the 2021 10th International Conference on Power Science and Engineering (ICPSE), Istanbul, Turkey, 21–23 October 2021; IEEE: New York, NY, USA, 2021; pp. 23–30. [Google Scholar]
- Honjo, K.; Zhou, X.; Shimizu, S. CNN-GRU based deep learning model for demand forecast in retail industry. In Proceedings of the 2022 International Joint Conference on Neural Networks (IJCNN), Padua, Italy, 18–23 July 2022; IEEE: New York, NY, USA, 2022; pp. 1–8. [Google Scholar]
- Thevenin, S.; Adulyasak, Y.; Cordeau, J.F. Material requirements planning under demand uncertainty using stochastic optimization. Prod. Oper. Manag. 2021, 30, 475–493. [Google Scholar] [CrossRef]
- Mateus, G.R.; Ravetti, M.G.; de Souza, M.C.; Valeriano, T.M. Capacitated lot sizing and sequence dependent setup scheduling: An iterative approach for integration. J. Sched. 2010, 13, 245–259. [Google Scholar] [CrossRef]
Parameters | Value |
---|---|
LSTM input size | 12 |
LSTM number of hidden layers | 2 |
LSTM hidden layer size | 64 |
Q network input size | 64 |
Q network number of hidden layers | 2 |
Q network hidden layer size | 64 |
Q network output layer size | 53 |
Q network output layer activation function | Sigmoid |
LSTM and Q network hidden layer activation function | Relu |
Parameter | Value |
---|---|
Total number of training epochs (L) | 10,000 |
Mini-batch size for gradient descent (B) | 8 |
Learning rate () | 0.001 |
Optimizer | Adam |
Weeks | LSTM-Q | GRU | RNN | |||
---|---|---|---|---|---|---|
Mean | Std | Mean | Std | Mean | Std | |
1–2 | 0.009995 | 0.000238 | 0.015385 | 0.002458 | 0.030377 | 0.004613 |
2–3 | 0.011961 | 0.000725 | 0.018611 | 0.003010 | 0.072564 | 0.004535 |
3–4 | 0.006272 | 0.001007 | 0.011313 | 0.002559 | 0.019162 | 0.011007 |
4–5 | 0.005579 | 0.001251 | 0.011230 | 0.002358 | 0.041516 | 0.012276 |
5–6 | 0.010553 | 0.003427 | 0.015776 | 0.003044 | 0.061825 | 0.001746 |
6–7 | 0.013302 | 0.009164 | 0.016156 | 0.003700 | 0.098373 | 0.085105 |
7–8 | 0.019472 | 0.017844 | 0.022133 | 0.007164 | 0.116105 | 0.168153 |
8–9 | 0.010753 | 0.006660 | 0.008158 | 0.000490 | 0.056897 | 0.177908 |
Weeks | Time Cost | ||
---|---|---|---|
LSTM-Q | GRU | RNN | |
1–2 | 0.002001 | 0.000000 | 0.000997 |
2–3 | 0.003008 | 0.002013 | 0.000000 |
3–4 | 0.002816 | 0.001998 | 0.000000 |
4–5 | 0.003497 | 0.001001 | 0.000000 |
5–6 | 0.001995 | 0.000998 | 0.000000 |
6–7 | 0.002508 | 0.000997 | 0.001047 |
7–8 | 0.003502 | 0.001508 | 0.000000 |
8–9 | 0.001994 | 0.001508 | 0.000000 |
Parameters | Values | Parameters | Values |
---|---|---|---|
Length of the planning horizon | 10, 20 | Time between orders | 2 |
Number of products | 5, 10, 15 | Regular time production capacity (h) | 720 |
Demand quantity | U [100, 2000], U [2000, 4000] | Overtime production capacity per shift (h) | 24 |
Process time (s) | U [36, 72], U [72, 120] | Number of overtime shifts per period | 6 |
Initial inventory | U [50, 400] | Unit cost of holding inventory | 1 |
Inventory capacity | 8000 | Unit cost per overtime shift | 1 |
Overtime cost coefficient (for six shifts per period) | [200, 200, 400, 400, 400, 400] | Unit cost of shortage | 5 |
I | T | DT | PT | CPLEX | R&F-1 | R&F-2 | |||||
---|---|---|---|---|---|---|---|---|---|---|---|
Obj | CT (s) | Ave.Gap | Max.Gap | CT (s) | Ave.Gap | Max.Gap | CT (s) | ||||
5 | 10 | LD | LP | 76,405 | 1.78 | 0.89% | 1.28% | 4.37 | 0.43% | 0.84% | 0.63 |
SP | 71,525 | 1.71 | 0.81% | 1.10% | 5.46 | 0.31% | 0.79% | 0.74 | |||
HD | LP | 231,967 | 4.19 | 0.79% | 1.00% | 8.15 | 0.38% | 0.51% | 0.83 | ||
SP | 229,432 | 6.35 | 0.84% | 0.95% | 6.18 | 0.41% | 0.51% | 0.89 | |||
20 | LD | LP | 142,430 | 32.24 | 0.90% | 1.06% | 115.81 | 0.68% | 0.82% | 1.62 | |
SP | 144,425 | 16.36 | 0.86% | 1.01% | 65.66 | 0.71% | 0.92% | 1.62 | |||
HD | LP | 460,752 | 299.63 | 0.86% | 0.93% | 149.57 | 0.62% | 0.68% | 3.18 | ||
SP | 451,796 | 210.05 | 0.83% | 0.88% | 188.42 | 0.61% | 0.68% | 3.34 | |||
10 | 10 | LD | LP | 146,616 | 5.04 | 0.78% | 0.92% | 22.96 | 0.38% | 0.54% | 1.44 |
SP | 146,512 | 4.84 | 0.81% | 0.95% | 23.98 | 0.32% | 0.61% | 1.43 | |||
HD | LP | 560,553 | 324.68 | 0.70% | 0.84% | 238.29 | 0.30% | 0.64% | 5.78 | ||
SP | 506,798 | 103.32 | 0.88% | 0.90% | 54.44 | 0.51% | 0.59% | 1.92 | |||
20 | LD | LP | 289,246 | 132.50 | 0.82% | 0.88% | 421.79 | 0.64% | 0.71% | 9.22 | |
SP | 282,475 | 87.68 | 0.84% | 0.98% | 418.81 | 0.63% | 0.78% | 9.22 | |||
HD | LP | 1,008,977 | 7200.24 | 8.10% | 8.98% | 600.67 | 4.99% | 6.00% | 68.03 | ||
SP | 998,132 | 7200.22 | 8.97% | 9.33% | 600.61 | 6.92% | 7.33% | 65.01 | |||
15 | 10 | LD | LP | 217,033 | 15.84 | 0.93% | 0.93% | 135.10 | 0.32% | 0.51% | 2.73 |
SP | 220,951 | 13.57 | 0.84% | 0.84% | 69.34 | 0.29% | 0.47% | 3.13 | |||
HD | LP | 2,946,513 | 7200.44 | 9.37% | 13.29% | 436.42 | 9.37% | 12.92% | 10.57 | ||
SP | 800,897 | 7200.58 | 9.00% | 9.16% | 247.20 | 6.19% | 6.54% | 14.41 | |||
20 | LD | LP | 429,148 | 7200.28 | 8.68% | 10.57% | 588.44 | 6.43% | 8.20% | 27.28 | |
SP | 441,966 | 7200.30 | 8.51% | 9.56% | 572.19 | 6.25% | 6.97% | 33.43 | |||
HD | LP | 10,722,417 | 7200.28 | 1.91% | 1.56% | 600.90 | 2.68% | 5.69% | 238.78 | ||
SP | 1,587,924 | 7200.31 | 8.79% | 9.41% | 600.94 | 7.74% | 7.96% | 535.90 |
Parameters | Values |
---|---|
Number of products | 53 |
Length of the planning horizon | 4, 8, 12, 52 |
Unit cost of holding inventory | 1 |
Unit cost of shortage | 10 |
Unit cost of setup | Calculated in Equation (20) |
Overtime cost coefficient | [200, 200, 400, 400, 400, 400] |
Regular time production capacity (h) | 720 |
Overtime production capacity per shift (h) | 108 |
Inventory capacity | 8000 |
I | T | GA_R | GA_T | R&F-2 | |||
---|---|---|---|---|---|---|---|
CC | CT (s) | CC | CT (s) | CC | CT (s) | ||
53 | 4 | 1.08 | 34.63 | 1.13 | 21.78 | 1 | 0.33 |
53 | 8 | 1.11 | 99.75 | 1.12 | 104.33 | 1 | 2.25 |
53 | 12 | 1.31 | 135.73 | 1.24 | 136.55 | 1 | 13.99 |
53 | 52 | 1.67 | 1589.15 | 1.33 | 1619.80 | 1 | 604.34 |
I | T | CT (s) | Ave.Inv | Ave.OT.Util | Ave.Cap.Util | OTD |
---|---|---|---|---|---|---|
53 | 4 | 0.33 | 868.00 | 27.87% | 91.07% | 99.61% |
53 | 8 | 2.25 | 3352.00 | 66.67% | 91.35% | 99.31% |
53 | 12 | 13.99 | 5877.17 | 79.17% | 90.27% | 99.88% |
53 | 52 | 604.34 | 6989.56 | 77.44% | 90.30% | 99.87% |
Product Type | Trolley Type | Capacity |
---|---|---|
P1 | Trolley 1 | 6 |
P2 | Trolley 1 | 6 |
P3 | Trolley 1 | 6 |
P4 | Trolley 2 | 10 |
P5 | Trolley 2 | 10 |
P6 | Trolley 3 | 10 |
P7 | Trolley 4 | 6 |
P8 | Trolley 4 | 6 |
P9 | Trolley 5 | 10 |
P10 | Trolley 5 | 10 |
P11 | Trolley 6 | 8 |
Metric | Before Optimization | After Optimization |
---|---|---|
Average Inventory | 8864 | 7918 |
Number of Changeovers | 70 | 64 |
Average Utilization | 72.6% | 74.8% |
Level | Ave.CT (s) | Time Consumption Details (s) | ||
---|---|---|---|---|
Demand Forecasting | 0.002664 | – | ||
Long-term Planning | – | Monthly | Quarterly | Annual |
0.582384 | 17.97031 | 605.8001 | ||
Short-term Planning | 32.4151 | Dispatching Rule | Simulation Model | |
0.1851 | 32.23 |
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
Luo, D.; Guan, Z.; Ding, L.; Fang, W.; Zhu, H. A Data-Driven Methodology for Hierarchical Production Planning with LSTM-Q Network-Based Demand Forecast. Symmetry 2025, 17, 655. https://doi.org/10.3390/sym17050655
Luo D, Guan Z, Ding L, Fang W, Zhu H. A Data-Driven Methodology for Hierarchical Production Planning with LSTM-Q Network-Based Demand Forecast. Symmetry. 2025; 17(5):655. https://doi.org/10.3390/sym17050655
Chicago/Turabian StyleLuo, Dan, Zailin Guan, Linshan Ding, Weikang Fang, and Haiping Zhu. 2025. "A Data-Driven Methodology for Hierarchical Production Planning with LSTM-Q Network-Based Demand Forecast" Symmetry 17, no. 5: 655. https://doi.org/10.3390/sym17050655
APA StyleLuo, D., Guan, Z., Ding, L., Fang, W., & Zhu, H. (2025). A Data-Driven Methodology for Hierarchical Production Planning with LSTM-Q Network-Based Demand Forecast. Symmetry, 17(5), 655. https://doi.org/10.3390/sym17050655