An improved simulated annealing algorithm based on residual network for permutation flow shop scheduling

Yang Li, Cuiyu Wang, Liang Gao, Yiguo Song, Xinyu LiComplex 2020

Abstract

The permutation flow shop scheduling problem (PFSP) is a fundamental optimization challenge in industrial manufacturing. As scheduling scales increase, the computational complexity grows exponentially, often rendering traditional algorithms inefficient. This paper proposes an improved simulated annealing (SA) algorithm integrated with a residual network (ResNet), termed SARes. By defining neighborhood key blocks and utilizing ResNet-50 for feature extraction and training, the algorithm incorporates problem-specific knowledge into the search process. Key operators, including initial temperature settings and attenuation functions, were also optimized. Experimental results on the Taillard benchmark demonstrate that SARes significantly outperforms state-of-the-art methods in terms of solution quality, stability, and computational efficiency.

Introduction

In modern manufacturing, the Permutation Flow Shop Scheduling Problem (PFSP) involves determining the optimal sequence of $n$ jobs to be processed on $m$ machines in the same order. The primary objective is typically to minimize the makespan—the total time required to complete all jobs. Given its NP-hard nature, finding optimal solutions for large-scale instances within a reasonable timeframe is a persistent challenge.

While meta-heuristic algorithms like Simulated Annealing (SA) have been widely adopted due to their simplicity and global search capabilities, they often suffer from "blind" search patterns. These algorithms frequently evaluate numerous candidate solutions that offer no improvement, leading to high computational costs. This paper addresses this "knowledge gap" by proposing SARes, a hybrid approach that leverages Deep Learning to guide the optimization process.

Methodology: The SARes Approach

The SARes algorithm enhances the traditional SA framework by integrating a "knowledge-driven" component based on Residual Networks.

1. Key Block Identification and Neighborhood Definition

The search space of PFSP is vast. To focus the algorithm's efforts, the researchers identified "key blocks"—segments of the Gantt chart where job swaps are most likely to reduce the makespan. By narrowing the focus to these critical areas, the algorithm avoids wasting resources on irrelevant permutations.

2. Feature Extraction with ResNet-50

The core innovation of SARes is treating scheduling data as an image-like structure. A ResNet-50 model was trained offline to recognize patterns within these key blocks. Specifically, the network learns to predict whether a proposed swap in a key block will likely result in a better or worse makespan. ResNet-50 was selected after comparative testing with other architectures (ResNet-18, 101, and 152), as it provided the optimal balance between learning depth and computational overhead.

3. Integrated Search and Enhanced Operators

During the online scheduling phase, the SA algorithm consults the pre-trained ResNet. If the network predicts a "worse" outcome for a potential swap, the algorithm can bypass the full makespan calculation, drastically speeding up the search. Additionally, the authors implemented a Kepler-type temperature decay function and a multi-rule neighborhood search (incorporating binary, two-point, and three-point exchanges) to improve convergence and prevent the algorithm from becoming trapped in local optima.

Experimental Evaluation

The SARes algorithm was rigorously tested using the Taillard (TA) benchmark, focusing on large-scale instances (TA61–TA120) involving up to 500 jobs and 20 machines.

Performance and Accuracy

SARes demonstrated exceptional performance, identifying the best-known solutions for 54 out of 60 large-scale instances. In contrast, an improved version of standard SA (ISA) only achieved this for 10 instances. The integration of ResNet allowed the algorithm to navigate the complex search space with far greater precision.

Computational Efficiency

The efficiency gains were particularly evident in the largest problem sets. For instances with 500 jobs, SARes reached its optimal solution in approximately 349 seconds, compared to over 934 seconds for the ISA. This represents a nearly 63% reduction in computation time, highlighting the benefits of the offline training approach.

Stability

Consistency is vital in industrial applications. Repeated trials on the TA81 instance showed that SARes maintained a much lower variance in its results compared to traditional methods. This stability suggests that the knowledge-driven approach provides a more reliable path to near-optimal schedules.

Conclusion and Future Work

The SARes algorithm represents a significant step forward in applying Deep Learning to combinatorial optimization. By teaching a classic meta-heuristic to "see" the structure of a scheduling problem, the researchers achieved substantial improvements in both speed and accuracy.

However, limitations remain. The current model requires retraining if the number of machines in the workshop changes, and the initial data generation for training is labor-intensive. Future research will focus on developing more generalized models that can adapt to varying workshop scales and exploring even more advanced neural architectures to further refine the "knowledge" used during the search process.

Summary updated

BibTeX
@inproceedings{li2020improved,
  author = {Yang Li and Cuiyu Wang and Liang Gao and Yiguo Song and Xinyu Li},
  title = {{An improved simulated annealing algorithm based on residual network for permutation flow shop scheduling}},
  booktitle = {Complex},
  year = {2020},
  doi = {10.1007/s40747-020-00205-9},
}
Figure