Multi-Scenario Robust Distributed Permutation Flow Shop Scheduling Based on DDQN

Song Guo, Ming ChenApplied Sciences 2025

TL;DR

This paper tackles the complex challenge of optimizing production schedules in distributed manufacturing environments with uncertain processing times and equipment failures. They introduce a novel hybrid approach combining a simulation environment (Plant Simulation) with a deep reinforcement learning algorithm (DDQN) to achieve more robust and efficient scheduling, demonstrating significant improvements in makespan reduction compared to traditional methods.

What Problem Does This Paper Address?

Modern manufacturing is increasingly distributed, with production spread across multiple factories or lines. This "Distributed Displacement Flow Shop Scheduling Problem" (DPFSP) becomes even more challenging in real-world scenarios due to unpredictable factors like varying processing times, machine breakdowns, and dynamic worker availability. Traditional scheduling methods often struggle with the scale, complexity, and uncertainty of these environments, leading to suboptimal or even infeasible production plans. The authors specifically address the "Multi-Scenario Robust Distributed Displacement Flow Shop Scheduling Problem" (MSRDPFSP), aiming to create schedules that are not only efficient but also resilient to these real-world uncertainties.

Methods

The core of this work is a sophisticated simulation-optimization framework.

  • Plant Simulation: This discrete-event simulation software is used to build a detailed digital twin of the MSRDPFSP. It models various aspects of the production environment, including workshop layouts, assembly lines, worker and AGV status, and crucially, incorporates realistic failure rates for machines. This allows for the quantitative analysis of different scheduling strategies under diverse, uncertain conditions.
  • Hybrid NEH-DDQN Algorithm:
    • NEH (Naderi, El-Ghazali, and H. H. Hoang) Algorithm: Used as a powerful heuristic to generate a high-quality initial scheduling solution. This significantly speeds up the early stages of learning for the reinforcement learning agent.
  • DDQN (Double Deep Q-Network): This deep reinforcement learning algorithm is employed to learn optimal scheduling policies. Instead of traditional Q-tables, it uses neural networks to approximate value functions, allowing it to handle the vast state space of the MSRDPFSP.
  • Key Innovations in DDQN Implementation: * Simplified State Representation: The complex workpiece allocation details are abstracted away. The state is simplified to the makespan (completion time) of each workshop, drastically reducing training complexity.
  • Four Scheduling Strategies: The DDQN agent learns to choose from four distinct strategies for workpiece allocation and sequencing.
  • COM Interface and DLL Integration: Plant Simulation models are controlled via Python using COM interfaces and DLLs, enabling seamless interaction between the simulation and the DDQN agent for iterative learning and result retrieval.
  • Three-Value Sorting Reward Mechanism: A novel reward function is designed to better guide the DDQN agent by comparing three simulation runs for each scheduling sequence, considering overall improvements, local improvements, and unimproved scenarios.
  • Dynamically Adjusted Greedy Rate: The exploration-exploitation balance is managed with an adaptive greedy rate, starting high and decreasing over time, with mechanisms to prevent getting stuck in local optima.

Datasets

The paper utilizes the Taillard dataset, a well-known benchmark for distributed flow shop scheduling problems. While the original DPFSP dataset is used, the authors adapt it to create more complex and robust MSRDPFSP scenarios by incorporating failure rates and other uncertainties. No new benchmark datasets were introduced.

Key Insights and Ideas

  • Simulation as a "Digital Twin" for Scheduling: Using Plant Simulation to create a detailed, dynamic model of the production environment is crucial for accurately evaluating scheduling strategies under realistic, uncertain conditions. This moves beyond purely theoretical models.
  • NEH as a Smart Initialization: Leveraging NEH for initial solutions dramatically improves the efficiency and effectiveness of reinforcement learning by providing a strong starting point, avoiding extensive exploration of poor initial policies.
  • State Abstraction is Key: Simplifying the state representation from detailed workpiece assignments to workshop makespans is a critical step in making the DDQN algorithm tractable for large-scale DPFSP problems.
  • DDQN's Adaptability: The DDQN algorithm, with its deep learning capabilities and carefully designed reward system, can effectively learn complex, dynamic scheduling policies that adapt to uncertainties and optimize for makespan.
  • Hybrid Approach Synergy: The combination of simulation for realistic evaluation and DDQN for intelligent decision-making creates a powerful co-simulation system that outperforms traditional methods.

Key Results

  • NEH vs. GA: The NEH algorithm achieved equivalent scheduling quality to a Genetic Algorithm (GA) in just 3 seconds, compared to the GA's 300 seconds.
  • DDQN vs. Random Search: After 2000 iterations, the DDQN algorithm achieved a 15% reduction in makespan compared to random search, with only a 2.5% increase in computational time.
  • Overall Performance: The proposed hybrid NEH-DDQN approach demonstrated superior performance and robustness in optimizing the MSRDPFSP, achieving better ARPD (Average Percentage Deviation) values compared to the NEH algorithm alone. For example, in the 100x5x7 scenario, DDQN achieved an ARPD of 1.32, while NEH achieved 6.24.
  • Computational Efficiency: The system offers an efficient and stable solution, with the DDQN algorithm significantly improving scheduling performance without an exorbitant increase in computation time.

Limitations and Future Work

  • Dataset Limitations: The study relies on the Taillard dataset, which, while adapted for complexity, is not a direct representation of a real-world production workshop environment. The authors suggest future work should focus on integrating with more complex and dynamic real-world scenarios to build true "digital twin workshops."
  • Simulation Speed Bottleneck: The simulation speed, even when optimized, can still be a bottleneck, especially for larger problem scales. The authors note that even with full-speed simulation, it can be affected by model complexity.
  • Initial Population Diversity: To improve efficiency, the paper mentions that the diversity of the initial population might be sacrificed, which could be a limitation.
  • Waiting for Simulation End: A new scheduling sequence computation must wait for the current simulation to end, which can lead to suboptimal solutions if not managed carefully.
  • Future Work: The authors envision this joint simulation system playing a more pivotal role in digital twin workshops and suggest integrating with more complex and dynamic real-world production environments.

Summary updated

BibTeX
@inproceedings{guo2025multi,
  author = {Song Guo and Ming Chen},
  title = {{Multi-Scenario Robust Distributed Permutation Flow Shop Scheduling Based on DDQN}},
  booktitle = {Applied Sciences},
  year = {2025},
  doi = {10.3390/app15126560},
}
Figure