Next Article in Journal
Comparative Investigation of the Thermal Conductivity of Water-Based Nanofluids with and without the Combination of Alumina and Carbon Nanotubes
Previous Article in Journal
Real-Time Vehicle Lateral Dynamics Estimation Using State Observer and Adaptive Filter
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Proceeding Paper

Neuro-Evolution of Augmenting Topologies for Dynamic Scheduling of Hybrid Flow Shop Problem †

School of Mechanical and Electrical Engineering, Wenzhou University, Wenzhou 325035, China
*
Authors to whom correspondence should be addressed.
Presented at the Third International Conference on Advances in Mechanical Engineering 2023 (ICAME-23), Islamabad, Pakistan, 24 August 2023.
Eng. Proc. 2023, 45(1), 25; https://doi.org/10.3390/engproc2023045025
Published: 11 September 2023

Abstract

:
In this paper, the Neuro-Evolution of Augmenting Topologies (NEAT) algorithm is proposed to minimize the maximum completion time in a dynamic scheduling problem of hybrid flow shops. In hybrid flow shops, machines require flexible preventive maintenance and jobs arrive randomly with uncertain processing times. The NEAT-based approach is experimentally compared with the SPT and FIFO scheduling rules by designing problem instances. The results show that the NEAT-based scheduling method can obtain solutions with better convergence while responding quickly compared to the scheduling rules.

1. Introduction

A hybrid flow shop is a kind of flow shop containing more than two stages and at least one stage with multiple parallel machines, also known as a flexible flow shop. The hybrid flow shop scheduling problem (HFSP) is of great theoretical significance and practical value, as it is widely applied in the chemical, textile, steel and semiconductor industries. In the context of intelligent manufacturing, dynamic scheduling based on reinforcement learning has become a research trend. Many research studies have been conducted in the literature. Han et al. first proposed a reinforcement learning method for HFSP [1]. Gil and Lee studied the use of the deep reinforcement learning approach to solve the material scheduling problem of many machines in a hybrid flow shop environment [2]. Cai et al. proposed a new shuffle frog-learning algorithm with Q-learning to solve a distributed assembly hybrid flow shop scheduling problem with fabrication, transportation and assembly [3]. Wang, J.J. and Wang, L. studied an energy-aware distributed hybrid flow shop scheduling method based on reinforcement learning [4]. Lang et al. presented a dynamic scheduling method based on the NEAT algorithm for a two-stage hybrid flow shop scheduling problem with family setup times [5].
The problem of dynamic scheduling in hybrid flow shops where machines require flexible preventive maintenance and where jobs arrive randomly and processing times are uncertain has not yet been identified, so this paper studies the HFSP scheduling problem with the objective of minimizing the makespan and designs a dynamic scheduling method based on NEAT reinforcement learning and compares it with scheduling rules.

2. Problem Description

The dynamic scheduling problem of the hybrid flow shop can be described as follows: n dynamically arriving jobs J i ( i = 1 , 2 , , n ) are processed continuously in K ( K 2 ) stages, stage k has m k ( m k 1 ; k = 1 , 2 , , K ) machines, and there exists at least one stage with multiple machines. Flexible preventive maintenance of the machine is considered in accordance with production reality, i.e., the machine cannot be continuously used for more than the maintenance threshold U T , and the maintenance time is t m . The scheduling objective is to minimize the makespan. The decision moment is triggered by the job being processed at a certain stage or by the arrival of a new job, which is then scheduled to the machine to optimize the objective value.
The problem studied in this paper considering the following assumptions: (1) Each job can be processed on any one of the machines at stage k . (2) Job processing time is the same for all machines at the same stage. (3) A machine can only process one job at a time. (4) All jobs are processed according to the same process sequence. (5) After determining the sequence of processing of the jobs in the first stage, the other stages are processed in this order.

3. Dynamic Scheduling Method for Hybrid Flow Shop Based on NEAT Algorithm

The interaction flow of the hybrid flow shop dynamic scheduling system based on reinforcement learning is shown in Figure 1.

3.1. State Space

Setting a suitable state space can reflect the change in the scheduling system in real time. For the characteristics of the dynamic scheduling problem of the hybrid flow shop, the environment is described in three dimensions (jobs, machines and stages) and the state space vector S = [ p i k , T i r , T k c , T k c a , U k c r ] is defined. p i k is the processing time corresponding to job J i at stage k . T i r is the time interval between the current moment and the arrival time of job J i . T k c is the processing time of the job being processed by machine M k c ( c = 1 , 2 , , m k ) at stage k , increasing the maintenance time t m if maintenance is required. T k c a is the processing time of the job being processed by machine M k c at stage k . U k c r is the maintenance threshold remaining at the current moment for machine M k c at stage k .

3.2. Action Space

In the shop scheduling model, an action a t A t is taken to determine a machine M k c for processing job J i at decision time t in state S t .Based on the characteristics and objectives of the dynamic scheduling problem of a hybrid flow shop considering flexible preventive maintenance, the following three actions are designed.
Action 1: Selecting a job based on the SPT rule. The job J i with the shortest processing time is selected from the waiting queue based on the SPT rule. One of the jobs J i is selected at random if more than one job can be selected.
Action 2: Selecting a job based on FIFO rule. The job J i with the earliest arrival time is selected from the waiting queue based on the FIFO rule. One of the jobs J i is selected at random if more than one job can be selected.
Action 3: Waiting. No job is selected for machining.
The following constraints are set for several special cases: (1) When there are no jobs in the waiting queue, the agent can only select action 3. (2) When a new job arrives but there are no idle machines, action 3 is selected. (3) When there are jobs in the waiting queue and the machines are all idle, action 3 cannot be selected.

3.3. Fitness Function

The NEAT algorithm searches the optimal scheduling strategy through the optimization of the fitness function, so the fitness function of NEAT is designed to be G = 1 C max . Maximizing the fitness function is equal to minimizing the makespan. C max can be described using Equation (1):
C max = max i C i
where C i is the completion time of all stages of processing of job J i .

4. Numerical Example and Analysis

4.1. Parameter Settings

According to the pre-experimentation, we set the evolutionary generations in the NEAT algorithm to 10 and the population size to 100. The job processing time p i k , the arrival time r i and the number of machines m k at each stage were generated based on a uniform distribution. The problem was divided into three instances according to the number of stages K and the number of jobs n. Each type of instance was run three times for the experiments, and the parameters of the training set are shown in Table 1.

4.2. Results Analysis

In this paper, the performance of the NEAT scheduling method and the two scheduling rules are evaluated based on the makespan C max , running time T t R and response time T s R . The experimental results of the different algorithms are shown in Table 2.
It can be seen from Table 2 that the NEAT-based approach outperforms the scheduling rules for all three instances with the objective C max . For the computation time, the SPT and FIFO rules have less time than the NEAT-based approach, because the NEAT reinforcement learning algorithm requires decisions to be made through interaction with the environment, while it is also able to respond the dynamic events quickly.

5. Conclusions

A NEAT-based approach is proposed for a dynamic scheduling problem of hybrid flow shops with machine preventive maintenance and the dynamic arrival of jobs to minimize maximum completion time. Our experimental results show that the NEAT algorithm is able to obtain better objective values while responding quickly. In future research, the proposed NEAT method can be used to solve dynamic scheduling problems considering some more realistic emergency events such as the insertion and withdrawal of orders.

Author Contributions

Conceptualization, J.Z. and Y.C.; methodology, J.Z. and S.Z.; software, J.Z. and J.M.; validation, J.Z., and J.M.; formal analysis, J.Z. and Y.C.; writing—review and editing, Y.C. and S.Z.; visualization, S.Z.; supervision, J.Z.; funding acquisition, Y.C. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the National Natural Science Foundation of China, grant number [No.51705370].

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The data that support the findings of this study are available from the corresponding author upon reasonable request.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Han, W.; Guo, F.; Su, X.C. A Reinforcement Learning Method for a Hybrid Flow-Shop Scheduling Problem. Algorithms 2019, 12, 222. [Google Scholar] [CrossRef]
  2. Gil, C.B.; Lee, J.H. Deep Reinforcement Learning Approach for Material Scheduling Considering High-Dimensional Environment of Hybrid Flow-Shop Problem. Appl. Sci. 2022, 12, 9332. [Google Scholar] [CrossRef]
  3. Cai, J.C.; Lei, D.M.; Wang, J.; Wang, L. A novel shuffled frog-leaping algorithm with reinforcement learning for distributed assembly hybrid flow shop scheduling. Int. J. Prod. Res. 2022, 61, 1233–1251. [Google Scholar] [CrossRef]
  4. Wang, J.J.; Wang, L. A Cooperative Memetic Algorithm With Learning-Based Agent for Energy-Aware Distributed Hybrid Flow-Shop Scheduling. IEEE Trans. Evol. Comput. 2022, 26, 461–475. [Google Scholar] [CrossRef]
  5. Lang, S.; Reggelin, T.; Schmidt, J.; Muller, M.; Nahhas, A. NeuroEvolution of augmenting topologies for solving a two-stage hybrid flow shop scheduling problem: A comparison of different solution strategies. Expert Syst. Appl. 2021, 172, 114666. [Google Scholar] [CrossRef]
Figure 1. Interaction flow of hybrid flow shop system based on reinforcement learning.
Figure 1. Interaction flow of hybrid flow shop system based on reinforcement learning.
Engproc 45 00025 g001
Table 1. The range of parameter values for the training set problem.
Table 1. The range of parameter values for the training set problem.
Kn p i k r i UT t m m k
210U (1,5)U (1,5)102U (1,2)
320U (1,5)U (1,5)102U (1,2)
430U (1,5)U (1,5)102U (1,2)
Table 2. Experimental results of performance indicators for different scheduling methods.
Table 2. Experimental results of performance indicators for different scheduling methods.
InstanceNEATSPTFIFO
Cmax T t R /s T s R / s Cmax T t R /ms T s R / ms Cmax T t R /ms T s R / ms
K = 2, n = 10251.060.05256.370.32266.680.33
451.160.06479.870.494710.290.51
511.210.065110.720.545110.300.51
K = 4, n = 3012811.660.1012959.600.5013162.310.52
12211.820.0912262.200.5212458.600.49
9810.210.0810048.570.4010558.400.49
K = 6, n = 100392177.160.29398530.400.88406601.941.00
384164.610.27404485.380.81396461.690.77
416190.160.32434493.330.82432478.780.80
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.

Share and Cite

MDPI and ACS Style

Zhang, J.; Chen, Y.; Mumtaz, J.; Zhou, S. Neuro-Evolution of Augmenting Topologies for Dynamic Scheduling of Hybrid Flow Shop Problem. Eng. Proc. 2023, 45, 25. https://doi.org/10.3390/engproc2023045025

AMA Style

Zhang J, Chen Y, Mumtaz J, Zhou S. Neuro-Evolution of Augmenting Topologies for Dynamic Scheduling of Hybrid Flow Shop Problem. Engineering Proceedings. 2023; 45(1):25. https://doi.org/10.3390/engproc2023045025

Chicago/Turabian Style

Zhang, Junjie, Yarong Chen, Jabir Mumtaz, and Shengwei Zhou. 2023. "Neuro-Evolution of Augmenting Topologies for Dynamic Scheduling of Hybrid Flow Shop Problem" Engineering Proceedings 45, no. 1: 25. https://doi.org/10.3390/engproc2023045025

Article Metrics

Back to TopTop