Literature DB >> 36262613

A Self-Adjusting Search Domain Method-Based Genetic Algorithm for Solving Flexible Job Shop Scheduling Problem.

Bin Li1,2,3, Xuewen Xia3,4.   

Abstract

As a nondeterministic polynomial (NP) problem, the flexible job shop scheduling problem (FJSP) is a difficult problem to be solved in terms of finding an acceptable solution. In last decades, genetic algorithm (GA) displays very promising performance in the field. In this article, a hybrid algorithm combining global and local search with reinitialization (GLRe)-based GA is proposed to minimize makespan for FJSP. The solution of FJSP is conveniently represented by a double-layer chromosome representation method, which is convenient for subsequent genetic operations, that is, sorting of operations and selection of machines. Two strategies of choosing the job with the most remaining operations (CRO) and 6-dimensional variable determined search position (6D-VSP) are proposed as two components for GA, which are applied to generate a population with superior quality and reduce the global search space during the initialization stage. At the same time, in order to prevent the loss of diversity during evolution, a reinitialization strategy is introduced in the later stage of evolution to adaptively adjust the search domain of the problem. Finally, two sets of benchmark data are tested. The experimental results demonstrate the accuracy and effectiveness of the GLRe proposed in this article for solving FJSP.
Copyright © 2022 Bin Li and Xuewen Xia.

Entities:  

Mesh:

Year:  2022        PMID: 36262613      PMCID: PMC9576347          DOI: 10.1155/2022/4212556

Source DB:  PubMed          Journal:  Comput Intell Neurosci


1. Introduction

Manufacturing is an industry that converts certain resources into products that people can use through the manufacturing process. It basically covers all industries. The development of manufacturing is an important factor in measuring the level of national development. As a key part of the manufacturing industry, job shop scheduling (JSP) has a positive impact on the competitiveness of enterprises. At the same time, the study of JSP has certain reference significance for the research of scheduling problems in other fields. As one of the sub-processes of production planning, scheduling plays an important role in modern manufacturing systems. In this field, the JSP is recognized as one of the most basic, typical, and toughest problems to be solved. As a nondeterministic polynomial (NP) and combinatorial optimization problem (COP) [1], JSP has gradually gained more attention in recent decades. The description of the classic JSP is as follows. A range of machines needs to process a group of jobs with unequal operations. Each operation takes a certain amount of time to process on a machine [2]. In order to optimize for a certain objective, a correct sequence of operations must be determined, and a suitable machine for each operation must be arranged. However, for increasing the productivity in the actual production process, one machine is capable of processing different jobs, and each type of operation is available to be performed on one or more different machines. This type of problem is known as flexible job shop scheduling problem (FJSP) [3], which can be regarded as a branch of the classic JSP [4]. In FJSP, restrictions on processing machines are relaxed, which is more consistent with conditions of an actual production. Each operation can be executed on available machines, which means that each machine has the ability of processing one or more different operations. The same operation takes different processing times on different machines. Therefore, it is more difficult to be solved than classic JSP. FJSP is also NP-hard, just like classic JSP [5]. On the one hand, the complexity of FJSP is manifested in the need to sequence jobs and make decisions about the machines that process an operation. On the other hand, the description of the complexity of FJSP is the evaluation of the search space, which is also a test of the algorithm's fast search ability. For a simple JSP with the characteristic of randomly generating schedules, the total number of operations (p) and the number of machines (m) are fixed, and m sequences can be generated. Each sequence is a possible solution. Therefore, under the premise of flexible scheduling, the problem will become more complicated. The algorithm cannot handle a huge amount of data in a short time, and it is difficult to solve it quickly. The time complexity and space complexity are proportional to the problem size. At the same time, it is inversely proportional to the efficiency of algorithm execution. It has been demonstrated in a published article that the size of the search space increases exponentially with the scale of the problem. In order to solve FJSP, scholars have proposed various algorithms from different perspectives. However, there are some common shortcomings of these algorithms, such as large search space and the inability to solve quickly. The goal of FJSP is to obtain a reasonable scheduling sequence by allocating resources. This characteristic is well matched with the concept of chromosomes in genetic algorithm. A sequence is obtained after genetic operations of a chromosome. An optimal scheduling scheme is finally obtained by decoding. Therefore, this article chooses genetic algorithm as the basic algorithm. Meanwhile, in an algorithm, a reasonable initialization method can reduce the search space to a certain extent. It should also reduce the time complexity of the algorithm and shorten the calculation time. A good algorithm should also avoid the population falling into local optima at a later stage in evolution to the greatest extent possible. Therefore, it is necessary to design a more efficient and accurate algorithm for FJSP. In this article, we propose an improved hybrid algorithm combing global and local search with reinitialization (GLRe)-based genetic algorithm (GA) to solve FJSP. Firstly, considering there are two issues that need to be dealt with, that is, operations sequence (OS) and machine selection (MS), we adopt a double-layer gene chain structure in encoding and decoding phrases. Moreover, taking into account the load capability of each machine, a new initialization approach is proposed to reduce the search space of the problem in the initialization stage. After a population falls into a local optimum, some chromosomes in the population are reinitialized aiming to raise the diversity of the population. Meanwhile, different crossover and mutation operation strategies are used. This article is organized as follows. Section 2 gives a detailed description of FJSP. Some relevant literature addressing FJSP is listed in Section 3. Section 4 describes the processing of population initialization, chromosome encoding and decoding schemes, selection, and other genetic operations. In Section 5, the performance of this algorithm is introduced and analyzed through comparative experiments. In Section 6, some final conclusions are provided.

2. Problem Formulation

FJSP can be classified into partial FJSP (P-FJSP) and total FJSP (T-FJSP). This article conducts research on P-FJSP. The FJSP is formulated as a set of n jobs J = {J1, J2, J3, ..., Jn} that need to be processed on m machines M = {M1, M2, M3, ..., Mm}. Each job Ji consists u operations O = {Oi1, Oi2, Oi3, ..., Oiu}. O denotes the j-th operation of J. Each operation needs to select one machine from the feasible machine group to process. In addition, the processing sequence of all operations needs to be determined to minimize the makespan, which is the total operation time from the start of processing to the completion of all operations. There are some restrictions on the assignment between jobs and machines. Below, the optimization objective function and constraints are given, and related concepts are explained. Obj.s.t.where the objective of scheduling is to minimize the makespan of all operations. The start time of an operation O processing on machine k is denoted by S. t means the processing time of the operation O on the machine k. T is the time point when the current operation O completes processing. P denotes the time point when operation O begins processing. Equation (2) indicates that the processing time of each operation is greater than 0. Equation (3) represents that each operation can be run on at least one machine. Equation (4) shows that all operations are performed in a predefined order. Equation (5) means that when a machine is processing a certain operation, other operations cannot be performed at the same time. Equation (6) explains that each operation cannot be interrupted until the processing is completed and the transportation time between operation and machine is negligible.

3. Literature Review

Brucker and Schile [6] firstly took the machining flexibility into account in 1990. However, their proposed polynomial graph algorithm is not efficient for larger instances and complex FJSP. With the development of methods for solving NP-hard problems, it is found that heuristic and meta-heuristic algorithms display more favorable performance than these traditional methods [7-9]. Thus, in recent decades, it has been widely used for solving FJSP. Nouri et al. [10] used a neighborhood-based genetic algorithm (NGA) to solve FJSP in which scheduler agents and cluster agents are used to guide the search process. With the goal of minimizing the maximum completion time of all jobs, Jiang and Zhang [11] proposed a variable neighborhood search method based on gray wolf optimization, which further strengthen the exploration of the algorithm itself. Xing et al. [12] put forward a knowledge-based ant colony optimization (KBACO) algorithm for FJSP. The model of KBACO learns from ant colony optimization and applies the acquired knowledge to guide the current search process. Zhang et al. [13] proposed an efficient hybrid method that combines particle swarm optimization (PSO) algorithm and tabu search (TS) algorithm to improve the efficiency of local and global searches and find a near-optimal scheduling scheme. Gao et al. [14] used a variable neighborhood descent (VND) with GA-based algorithm to find assignable time intervals for the deleted operations based on the concept of earliest and latest event time. Li and Gao [15] presented a hybrid algorithm for FJSP based on GA and TS, which uses the characteristics of the two algorithms to control the global and local search processes, respectively, and balance intensification and diversification well. Zhao et al. [16] proposed a self-learning discrete Jaya algorithm (SD-Jaya) to solve the energy-saving distributed heterogeneous flow shop scheduling problem (FSP). Taking into account energy consumption, Zhao et al. [17] proposed a two-stage cooperative evolutionary energy-saving scheduling algorithm (TS-CEA) to solve FSP. In terms of initialization mode and genetic operations, scholars proposed different strategies. Kacem et al. [18] presented a new assignment localization (AL) model that assigns tasks based on the load capacity of each machine. Zhang et al. [19] proposed a global and local selection approach (GL) based on GA, which takes into consideration the total load capacity of all machines. Pezzella et al. [20] put forward an integration strategy to generate the initial population and select individuals to breed new individuals. Mahmudy [21] proposed an improved real-coded genetic algorithm (IRCGA) that uses real vectors as chromosome representations better helps the algorithm in searching. Amjad et al. [22] proposed a new formula based on a feedback mechanism. According to the formula, the probability of crossover and mutation can be adjusted automatically in the process of evolution. Chen et al. [23] investigated a self-learning genetic algorithm (SLGA) based on reinforcement learning, which can adjust key parameters intelligently. Zhou et al. [24] used an adaptive differential evolution algorithm with the goal of minimizing the manufacturing period. The control parameter values and mutation operators in the algorithm are adaptively selected according to their historical performance. Based on the reinforcement learning mechanism, Zhao et al. [25] proposed a cooperative water wave optimization algorithm (CWWO) in the framework of VNS. The algorithm combines path relinking and VNS method as an improved interrupt operator to enhance local search ability. As discussed above, multiple categories of meta-heuristic algorithms have been used to solve FJSP successfully [26]. Due to the better performance and greater generality of GA, it has gained great attention [27]. Furthermore, extensive studies have demonstrated that GA has superior performance for the quality of the solution. However, in the existing literature, there is a common shortcoming that the makespan is too large after initialization, which leads to an excessively large space for searching and seriously affects the quality of the final solution. Moreover, at the later stage of evolution, the diversity of chromosome in the population declines seriously. As a result, the population nearly stops evolving.

4. The Proposed Algorithm

As a widely used heuristic algorithm, GA has been successfully applied in solving COPs [28]. Unlike traditional deterministic methods, GA uses a population composed of a certain number of individuals to perform an optimizing process. Note that, each individual in GA is called a chromosome denoting a candidate solution. During the search process, new chromosomes are generated through crossover, mutation, and selection operations, and genes on the chromosomes are changed to generate new chromosomes. Newly generated individuals are continuously added to the mating pool for evolution. When a given number of generations is reached, the final solution can be obtained by decoding the optimal individual.

4.1. Chromosome Representation

When using GA to optimize a problem, the first issue that needs to be dealt with is designing a proper chromosome representation method. Considering distinct properties of FJSP, this article proposes a double-layer chromosome representation. The details of the representation are described as follows based on a simple example. A simple instance with three jobs and four machines of P-FJSP is shown in Table 1, where columns 1 and 2 correspond to jobs and operations, respectively, and columns 3–6 correspond to machines. The numbers in the table represent the required time that a machine processes an operation. The symbol “-” in the table indicates that a machine cannot process a corresponding operation. For example, for Job1, it contains two operations, the first operation can be performed on the 2nd, 3rd, and 4th machines, and the second operation can be performed on the 1st, 3rd, and 4th machines. The essence of FJSP is the two sub-problems of OS and MS [29]. Therefore, the double-layer chromosome representation improves the traditional lengthy single-layer method, with the first layer representing OS and the second layer representing MS. This representation makes encoding and decoding easier and avoids the formation of illegal chromosomes and unnecessary repair mechanisms.
Table 1

A simple instance of 3 × 4 P-FJSP.

JobOperation M 1 M 2 M 3 M 4
Job1 O 11 325
O 12 233

Job2 O 21 342
O 22 2135

Job3 O 31 -35

4.2. Operation Sequence Part

A feasible chromosome generated according to Table 1 is shown in Figure 1. Due to the double-layer gene chain structure adopted, the length of a chromosome is equal to the number of all operations. In the OS part, the first “2” represents the first operation of the second job, which can be represented by O21. The second number “1” expresses the first operation of the first job, represented by O11. The second occurrence of the third number “2” indicates the second operation of the second job, denoted as O22. Subsequent numbers have similar meanings. Thus, the sequence of operations “2-1-2-3-1” can be expressed by operations sequence: O21–O11–O22–O31–O12.
Figure 1

A chromosome generated from Table 1.

4.3. Machine Selection Part

Similar to the OS, the length of the chromosomes in the MS part is also the total number of operations. In the MS part in Figure 1, for example, for operation O22, since the number in its corresponding position is 3, it represents selecting the third machine to handle this operation. The number of machines depends on the problem itself, consequently, the value in the MS part is designed for representing the serial number of the machine processing the current operation. The advantage of this OS-MS chromosome representation is that this method is more versatile, and it can simplify the logical structure of array processing, which is convenient for subsequent genetic operations.

4.4. Population Initialization

Population initialization is an important task of GA. Generally, an efficient initialization method can speed up the population convergence speed [30]. Currently, the mainstream scheme to initialize the MS is the global and local selection (GL) strategy came up by Zhang et al. [19], which is also used in this article of MS part. On the premise of pre-calculating the total processing time, the load of each machine is fully considered, and then the most suitable machine is selected to process for each operation. However, for the initialization of the OS, a random method is more commonly used in the published literature. Therefore, in this section, we propose two efficient strategies to initialize the OS for arranging the proper sequences for all jobs, which are described as follows: Choosing the job with the most remaining operations (CRO) 6-Dimensional variables to determine the search position (6D-VSP) For CRO, a job with the most remaining operations is selected each time. The specific steps of CRO are as follows: Step 1: create an array to record each job selection, initialize each element to 0. Step 2: create an array of length n, initialize each element as the operations of each job. Step 3: select a job with the most remaining operations (MRO) in the array created in Step 2. If the same value exists, select a job randomly. Step 4: store the selected job number in the array created in Step 1. Decrement the value at the corresponding position of the array created in Step 2 by 1. Step 5: repeat steps 3 and 4 until all elements created in step 2 are 0. The implementation of CRO is shown in Figure 2. Take the 3 jobs in Table 1 with 5 operations as an example, the number of operations of each job is 2, 2, and 1, respectively. When the remaining operations are the same, a job is randomly selected. Assuming that the first job selected is Job2, then update the array S, while the value of the corresponding position of the array P is decreased by 1. Repeat this step until all values in array P are 0. Finally, the array S is the code for the OS part of the chromosome.
Figure 2

The process of CRO.

For the 6D-VSP, its essence is to increase the randomness of the selection of each job, avoiding the similarity of chromosomes in the initial stage. The specific steps of 6D-VSP are as follows: Step 1: determine two values that sum to 1 randomly to determine the lower bound (lb) and upper bound (ub). Step 2: generates an array of length the total number of operations, where the elements consist of job numbers. Step 3: the difference between the two values created in step 1 forms a new array of length total operations. Step 4: randomly generate an array between 0 and 1 with length equal to the total number of operations. Step 5: multiply the corresponding position elements (MCE) of the two matrices obtained in Steps 3 and 4 to obtain a new array. Step 6: add the elements in the array gotten in Step 5 to the lower bound determined in Step 1, and get an index array after sorting. Step 7: match the index array with the array generated in Step 2 to get a matched array. The implementation of 6D-VSP is shown in Figure 3. The array obtained by (8) is sorted to obtain an index array. From the position of each element of index array in the job numbers array, the matched array can be obtained, which is the coding of the OS part.
Figure 3

The process of 6D-VSP.

The purpose of the two strategies is to reduce the search space during the initial optimizing process. The effectiveness of these strategies will be verified in the subsequent experiments in Section 5.1.

4.5. Selection Operation

The population reproduction of GA originated from the laws of nature is based on individual selection operations [31]. Excellent individuals are chosen from the initial population and retained in the mating pool to provide parental genes for the next generation of evolution through one or more reproductions. The roulette wheel selection and stochastic universal selection are two popular selection methods. The former is a fitness-based selection method, whereas the latter is a completely random selection method [32]. The convergence rate of roulette selection is faster, but the population tends to fall into local optimum. The advantage of stochastic universal selection is that the diversity of the population is well maintained in the process of evolution, but the speed of convergence is slower. Therefore, to trade off the exploration and the exploitation, this article adopts the tournament selection. Tournament selection is based on a return sampling strategy, where a certain number of individuals are taken from the population at a time and the best one is selected to enter the offspring population. This process is repeated until the size of the new population reaches the size of the original population. It overcomes the problem of directly destroying the selection method based on population diversity as fitness. This strategy makes the outstanding individuals have more opportunities to be preserved. Concurrently, it takes the relative fitness value as the criterion for selecting, rather than directly using the proportion of fitness. It not only avoids the influence of “super individual,” but also avoids the premature convergence [33].

4.6. Crossover Operation

Being a basic operation of GA, crossover operation plays a vital role in the optimization process of GA. The basic concept of the operation is that different chromosomes exchange some genes with each other, and then generate new chromosomes. Based on the double-layer chromosome structure introduced in Section 4.1, we design two different crossover operations, respectively, for OS and MS part. In order to avoid generating invalid chromosomes and satisfy scheduling constraints of OS, we use precedence operation crossover (POX) [34] method. Take the five operations in Table 1 as an example to illustrate the process of generating two child individuals with POX. The implementation of POX is shown in Figure 4, and the detailed steps are as follows:
Figure 4

The process of POX.

Step 1: divide job set randomly into two sub-job sets J1 and J2 and select two individuals randomly as parent chromosomes P1 and P2 Step 2: copy genes that belong to J1 from P1 and J2 from P2 to child individuals C1 and C2, keeping their position unchanged in C1 and C2 Step 3: copy genes that belong to J1 from P1 and J2 from P2, then sequentially store in C2 and C1 The MS part is a sequence of processing machines corresponding to each operation. The crossover operation in the MS section is machine re-selection, by swapping genes at two positions on the chromosome to generate two new sequences of MS. The number appearing in the same position on each chromosome indicates that this machine exists in the set of alternative machines. The new chromosomes generated by allele crossover will not change the previous constraints conditions. Therefore, the individual produced after the crossover operation is also a feasible scheme. In this article, the two-point crossover [35] method is adopted. The crossover process in the MS part is shown in Figure 5.
Figure 5

Machine selection crossover operation.

4.7. Mutation Operation

After the crossover operation, the newly generated chromosomes need to conduct a mutation operation, which is a popular phenomenon in the evolutionary process of species. When performing the mutation operation, one or more genes in a chromosome will be changed with a probability. The main objective of the mutation operation is to enhance the population diversity and to avoid the premature convergence of algorithm [36]. When performing the mutation operation in the OS part of a chromosome, two mutate positions need to be selected according to probability (pm). After that, the genes of the chromosome between the two positions are swapped. Hence, a new chromosome can be obtained. Note that, the new chromosome does not change the genes, but just repositions the genes, so the new scheme is also feasible. The probability of mutation in the MS part is the same as in the OS part. If there is a mutation in the MS part of the chromosome, the new processing machine is randomly selected from the candidate machine set. The mutation steps of the MS part are as follows: Step 1: select individuals from the population in order Step 2: generate a probability value randomly, if the value is less or equal to the Pm, go to Step 3; otherwise, go to Step 1 Step 3: determine a mutation point of MS part of the chromosome randomly Step 4: pick another machine from the set of candidate machines randomly at the mutation position to replace the original processing machine

4.8. Reinitialization of Part Population

Premature convergence is a popular phenomenon in GA. How to deal with the phenomenon is crucial for the exploration ability of GA. In this study, when the population falls into a local optimum, a small part of the population is reinitialized, and then, the diversity of the population can be improved. During this process, the new chromosomes generated by the reinitialization strategy randomly replace the same number of original individuals except for the best one that has been obtained. The newly formed population participates in subsequent evolution. The number of times of reinitialization is completely adaptively adjusted according to the situation of current evolution. The more times the population gets trapped in a local optimum, the more times the strategy is executed. The evolution will not stop until the constraint conditions are reached, or the output has obtained the optimal solution. After the reinitialization, many chromosomes trapped in local optima are replaced by some new randomly generated chromosomes, and then the population diversity can be improved. Thus, the exploration ability of the population can be further enhanced. The GLRe terminates the evolution when the maximum number of generations is reached. The fitness of the best individual and the corresponding scheduling scheme is output.

4.9. Framework of the Improved GA

Based on the above discussions, the framework of the proposed algorithm can be demonstrated in Figure 6 and explained in Algorithm 1.
Figure 6

Flow chart of GLRe.

Algorithm 1

GLRe.

5. Experimental Results and Analyses

In this section, a series of comparison experiments are conducted to analyze the performance of GLRe in solving FJSP. In order to demonstrate the experimental results better, we use two sets of benchmark data for testing. The first is five small-scale Kacem [18] F-FJSP instances. The second data set is more complex instances from Brandimarte [37]. The proposed GLRe in this article is implemented in Matlab 2020a on Intel Core i5 with 8 GB main memory under Windows 10 system. Each instance will be run 20 times, other parameters of GLRe are as follows: Population size (Pop): 5 × m × n. Maximum number of generations (Num): 10 × m × n. Rate of global selection: 0.6. Rate of local selection: 0.3. Rate of random selection: 0.1. Rate of 6D-VSP: 0.9. Tournament approach: k = 2. Number of reinitializations: Generations limit before reinitialization:

5.1. Effectiveness of Improvement Strategies

In this part, we use 10 instances of Brandimarte date for testing. The algorithm combining the three strategies of CRO, 6D-VSP, and Reinitialization is called Re. GA-GS (Global selection combined with GA), GA-GSRe (Global selection and Re combined with GA), GA-GL (Global and Local selection combined with GA), and conventional GA and proposed algorithm GLRe (GL combined with Re) are compared to prove the effectiveness of the improved strategy. We compare the optimal solutions and average values of these five algorithms and their respective deviations. The degree of dispersion is expressed by the relative percentage deviation (RPD) [38]. Tables 2 and 3, show all the experimental results. The first column of the two tables contains 10 different data instances. Best and average represent the optimal and average values of makespan obtained by algorithms, respectively. LB denotes the lower bounds of Brandimarte instances, which are obtained from the currently known literature [11]. The best RPD (RPDB) values of all instances are calculated by the five algorithms according to formula (11) shown in columns 3–7 of Table 2. Columns 8–12 in Table 3 are the average RPD (RPDA) values calculated by formula (12) for each instance in Table 2. The best result for each instance is shown in bold.
Table 2

Makespan of best and average for each algorithm.

Dataset instanceLBBestAverage
GA-GSGA-GSReGA-GLGAGLReGA-GSGA-GSReGA-GLGAGLRe
MK013640404044 40 41.441.441.946.5 40.9
MK022429292936 29 2929.129.137.1 29.3
MK03204204204204204 204 204204204228.9 204
MK044863636483 62 66.965.96685.4 65
MK05168177177176191 176 182.8180.6179.9193.1 178.5
MK063366676581 65 69.468.868.484.7 68
MK07133151151149178 146 155.6156.3151.7181.6 150.2
MK08523523523523523 523 523523523551.2 523
MK09299319313311348 311 324.8325.8322.1359.3 315.4
MK10165224230227310 220 236237.9236323.5 227.4
Table 3

Comparison of RPDB and RPDA for each algorithm.

Dataset instanceRPDBRPDA
GA-GSGA-GSReGA-GLGAGLReGA-GSGA-GSReGA-GLGAGLRe
MK0111.111.111.122.2 11.1 151516.429.2 13.6
MK0220.820.820.850 20.8 20.821.321.354.6 22.1
MK030000 0 00012.2 0
MK0431.331.333.372.9 29.2 39.437.337.577.9 35.4
MK055.45.44.813.7 4.8 8.87.57.114.9 6.3
MK0610010396.9145.5 96.9 110.3108.5107.2156.7 106.1
MK0713.513.51233.8 9.8 16.917.514.136.5 12.9
MK080000 0 0005.4 0
MK096.74.7416.4 4 8.68.97.720.2 5.5
MK1035.839.437.687.9 33.3 4344.24396.1 37.8
For the best and RPDB from Tables 2 and 3, GLRe is superior to GA-GS, GA-GSRe, GA-GL, and conventional GA. For average and RPDA, GLRe achieves an overwhelming advantage over its competing algorithms from the smaller scale MK01 to the larger scale MK10. By controlling the fusion of different algorithms, the experimental result proves that the GLRe consistently gives high-quality solutions for FJSP. In order to exclude the interference of other contingent factors and further verify the role of each strategy in the algorithm, we select MK03 and MK08 instances where each algorithm can converge for testing. Through the previous experimental verification, we have come to the conclusion that the global selection and local selection algorithm (GL) are effective. On the basis of the GL, we add the strategies of CRO (GL-CRO), 6D-VSP (GL-6DVSP), and the combination of CRO and 6D-VSP (GL-CRO+6D-VSP). The experimental results are shown in Figure 7.
Figure 7

Comparison between four algorithms on MK03 and MK08 instances. (a) MK03. (b) MK08.

As can be seen from Figure 7, the initial solution obtains a smaller initial value than the original GL after adding the strategy CRO. Due to the small scale of the MK03 problem instance, the graph appears as a straight line, that is, the optimal scheduling scheme is obtained at the beginning. At the same time, this also means that the strategy effectively improves the search space of the algorithm. After adding the 6D-VSP on the basis of the original GL, it can be seen that the initial value has a certain increase compared with GL. The reason for this phenomenon can be explained that the addition of the 6D-VSP increases the disorder of sorting, which can well reduce the probability of the population falling into the local optimum during the evolution process. At the same time, we can observe that after combining the CRO and 6D-VSP strategies, not only the initial solution space is reduced, but also the optimal scheduling sequence is found in the first generation. After testing an instance with a larger problem scale, MK08, we found that the above features are preserved. Benefiting from the feature that 6D-VSP can increase the sequence disorder, the population can evolve more quickly to obtain the optimal scheduling scheme while avoiding falling into local optimum. For the Reinitialization strategy, both MK03 and MK08 can converge, and there is no specific reference. The Reinitialization strategy only works in the later stages of algorithm evolution. Therefore, we combine the three strategies and select MK09 and MK10 with a larger problem scale for testing. Combining the three strategies to test the performance of Re does not affect the existing conclusions. From Figure 8, the above-obtained search space is smaller and the characteristics of faster convergence are still verified. Meanwhile, we can see that after many generations, the diversity of the population decreases seriously, the chromosome genes tend to be consistent, and the other two algorithms basically stop evolving. In our GLRe, this situation has been significantly improved by introducing the concept of reinitialization. In the later stages of the evolution, the algorithm can also approach the optimal solution gradually. Under the same number of generations, the convergence speed of the proposed GLRe is faster, followed by GL. The convergence speed of GA is relatively slow. Meanwhile, we can observe that the final solution of our algorithm is better.
Figure 8

Comparison between GA, GL, and GLRe on MK09 and MK10 data instances. (a) MK09. (b) MK10.

To further verify the effectiveness of the above strategies, we conduct independent tests on these three strategies, respectively. Each instance is tested 20 times and compared with the average data of GA-GL in Table 2. Count the number of occurrences of the above features for each algorithm separately, and calculate their frequency. After the total number of tests (Tnum) for each strategy reaches two hundred, the experimental results are recorded. The experimental results are shown in Table 4, and the statistical results are shown in Table 5.
Table 4

Statistics of occurrences of each feature.

StrategyInstance
MK01MK02MK03MK04MK05MK06MK07MK08MK09MK10
CRO20202020202020202020
6D-VSP510201417119201214
Re5708491201618
Table 5

The probability of each feature of the three strategies.

StrategyTnumCountFrequency (%)
CRO200200100
6D-VSP20013467
Re2007939.5
As can be seen from Tables 4 and 5, CRO reduces the search space of the algorithm by 100 percent in the initialization phase. The performance of the 6D-VSP strategy is unstable, and the efficiency of the strategy will be affected by different problem instances. The number of experimental features still appears more than half, and it can be inferred that the 6D-VSP strategy is still effective. When the problem size is small, the effectiveness of the Re strategy cannot be sufficiently demonstrated. However, as the size of the problem increases, the newly added chromosomes expand the gene pool, preventing the population from falling into a local optimum to a certain extent. Combining the results of the above experiments, we can affirm that the three strategies play an active role in the algorithm.

5.2. Comparison with Other Algorithms

In this part, to testify the comprehensive performance of GLRe, five state-of-art algorithms are selected as peer algorithms, that is, SLGA [23], edPSO [10], GWO [11], HA [38], and MACROG [39]. The experimental parameter settings are the same as those described in the previous section. In SLGA, the author innovatively combines reinforcement learning with a genetic algorithm, and uses Q-learning as a self-learning model. edPSO is a neighborhood-based genetic algorithm that proposes a hybrid clustering model. GWO is a new swarm intelligence algorithm inspired by social hierarchy and the hunting behavior of gray wolves. HA generates and evaluates different solutions by changing the weights of his strategies. A new decentralization model is proposed in MACROG. MACROG−FJSP is an improved version of the greedy algorithm. The above algorithms combined machine learning, unsupervised learning, new swarm intelligence algorithm, variable weighting method, decentralized model, and greedy strategy to propose effective algorithms, respectively. Each algorithm is representative of the field, which is the reason why these algorithms are chosen for comparison in this article. Experimental results of the two sets of benchmark data, in terms of makespan, are shown in Tables 6 and 7, respectively. The best results for each instance are shown in bold. The symbol “—” in the table indicates that the instance is not solved in the literature.
Table 6

The makespan of Kacem instance.

Dataset instanceLBedPSOGWOMACROGSLGAHAGLRe
Kcaem0111 11 11 11 11 11 11
Kcaem021417 14 20 14 15 14
Kcaem0311 11 14 11 13 11
Kcaem0478 7 7 8
Kcaem05111319 12 12
Table 7

The makespan of Bandimarte instance.

Dataset instanceLBedPSOGWOMACROGSLGAHAGLRe
MK013641 40 40 40 42 40
MK0224 26 2932272829
MK03204207 204 204 204 204 204
MK0448656464 60 7562
MK05168 171 175179172179176
MK0633 61 6985696967
MK07133173147172 144 149 144
MK08523 523 523 552 523 555 523
MK09299 307 322421320342311
MK10165312249358254242 220
From the comparison results on the Kacem data set demonstrated in Table 6, we can see that both GLRe and GWO can get the best results on 4 out of the 5 instances. Moreover, GLRe obtains LB results on 3 instances, while GWO yields 4 LB results. The comparison results indicate that our algorithm performs well on small-scale problems. In order to verify the algorithm's ability to address medium to large-scale problems, we used 10 more complex Brandimarte instances to test the performance of GLRe. Experimental results measured by makespan are shown in Table 7. From the table, we can observe that GLRe, edPSO, and SLGA display the best performance on 5 out of the 10 large-scale instances. On the contrary, GWO only attains the best result on two instances though it offers the most outstanding performance on the Kacem instances. Furthermore, HA also cannot exhibit favorable performance on the Bandimarte instances though it offers very promising performance on the Kacem instances. The results manifest that GLRe is more suitable for large-scale problems than small-scale problems. Table 8 gives the RPD values (%) of Table 7. In terms of RPD, it can be observed from the table that GLRe can figure out the best solutions on MK01, MK03, MK07, MK08, and MK10. Also, it can provide the second best results measured by RPD on 3 out of the 5 remaining instances. Furthermore, regarding the mean value of RPD, GLRe is the lowest among all algorithms, which indicates that our algorithm performs better on medium and large FJSPs.
Table 8

The RPDB values (%) of Table 7.

Dataset instanceedPSOGWOMACROGSLGAHAGLRe
MK0113.9 11.1 11.1 11.1 16.7 11.1
MK02 8.3 20.833.312.516.720.8
MK031.5 0 0 0 0 0
MK0435.433.333.3 25 56.329.2
MK05 1.8 4.26.52.46.54.8
MK06 84.8 109.1157.6109.1109.1103
MK073010.529.3 8.3 12 8.3
MK08 0 0 5.5 0 6.1 0
MK09 2.7 7.740.8714.44
MK1089.150.911753.946.7 33.3
Mean26.824.843.422.926.8 21.5
The RPD boxplot of the six algorithms in Table 8 is shown in Figure 9, which can further verify the performance of our algorithm. From the results in the figure, we can clearly observe that the median and range of RPD values of GLRe are smaller. Meanwhile, besides SLGA, the results obtained by GLRe are relatively concentrated, which indicates that GLRe has good performance in solving FJSP. The results are consistent with our previous conclusions.
Figure 9

Boxplot of RPDB for each algorithm in Table 8.

Table 9 shows the actual number of instances solved (AS) for all compared algorithms and the amended-RPD (aRPD) for each algorithm. The value of aRPD is calculated as follows:where Best represents the best result after 20 runs for each instance of these algorithms. The column defined as “improvement” in the table represents the reduced value of aRPD obtained by GLRe relative to other algorithms of two groups of benchmarks. Except for the SLGA, GLRe has different degrees of improvement compared to others. However, the aRPD of our algorithm is slightly better than SLGA. According to the comparison results of the above experiments, we can come to a conclusion that GLRe has better performance and efficiency in minimizing the makespan of FJSP.
Table 9

The comparison of aRPD.

AlgorithmASaRPD (%)GLRe's aRPD (%)Improvement (%)
edPSO1323.317.65.7
GWO1517.715.91.9
MACROG1441.216.025.3
SLGA1317.616.51.1
HA1521.315.95.4
GLRe1515.9
Friedman test is a statistical test method proposed by Friedman in 1973 for the homogeneity of multiple (correlated) samples [40]. To better compare the performance of our GLRe with other algorithms, we divide the test into three parts. Take the smaller MK01-05, Kacem01, and Kacem02 as a group, the larger problem scale MK06-10 as a group, and finally the entire 12 datasets as a large group. The results of the Friedman test are shown in Table 10. From the table, we can observe that GLRe has a gap with other algorithms in solving small-scale problem instances MK01-05, Kacem01, and Kacem02. However, as the complexity of the problem instances increases, GLRe shows superior performance in solving MK06-10 instances. Overall, our proposed GLRe has the best average ranking and highest priority compared to the RPDB values of the other five algorithms. This test result is consistent with the previous conclusion and further validates GLRe's excellent performance relative to its competitors in solving FJSP.
Table 10

Friedman test results for 6 algorithms.

AlgorithmMK01-05, Kacem01, Kacem02PriorityMK06-10PriorityValue of the mean rankFinal priority
edPSO3.7943.1033.504
GWO3.1433.3043.213
MACROG4.2955.6054.836
SLGA2.2913.0022.582
HA4.4364.2064.335
GLRe3.0721.8012.541

6. Conclusion and Future Work

In this article, we proposed an improved hybrid algorithm combing global and local search with reinitialization (GLRe) with GA-based for solving the flexible job shop scheduling problem (FJSP). Considering distinct properties of FJSP, a double-layer gene chain chromosome representation method was proposed. Based on the chromosome representation, genetic operations can be independently carried out on the operation sequence and the machine selection. Moreover, to improve search efficiency, a new initialization approach was proposed in which a method combining choosing the job with the most remaining operations (CRO) and 6-dimensional-variable determination of the search position (6D-VSP) was added to determine the initialization of operation sequence. This operation sequence aimed at improving the overall quality of the initial solution and reducing the global search space. When the population falls into local optimum, some chromosomes are reinitialized. Thus, chromosome diversity can be improved and the gene pool of the population is enriched. The algorithm had been extensively tested on the selected benchmarks test set, and compared with other algorithms in the literature. The experimental results showed that GLRe has better convergence speed and higher solution quality, especially on large-scale FJSP. Although GLRe performs well in solving FJSP, the settings of some genetic parameters are not deeply considered and the performance of GLRe for solving other scheduling problems is unknown. In future work, we will continue to deeply study the influence of different parameters on GLRe for solving FJSP, and focus on the application of GLRe to other combinatorial optimization problems.
  8 in total

1.  A Self-Adaptive Differential Evolution Algorithm for Scheduling a Single Batch-Processing Machine With Arbitrary Job Sizes and Release Times.

Authors:  Shengchao Zhou; Lining Xing; Xu Zheng; Ni Du; Ling Wang; Qingfu Zhang
Journal:  IEEE Trans Cybern       Date:  2021-02-17       Impact factor: 11.448

2.  A synergetic combination of small and large neighborhood schemes in developing an effective procedure for solving the job shop scheduling problem.

Authors:  Mehrdad Amirghasemi; Reza Zamani
Journal:  Springerplus       Date:  2014-04-16

3.  Weighted Kernel Entropy Component Analysis for Fault Diagnosis of Rolling Bearings.

Authors:  Hongdi Zhou; Tielin Shi; Guanglan Liao; Jianping Xuan; Jie Duan; Lei Su; Zhenzhi He; Wuxing Lai
Journal:  Sensors (Basel)       Date:  2017-03-18       Impact factor: 3.576

4.  A global-local neighborhood search algorithm and tabu search for flexible job shop scheduling problem.

Authors:  Nayeli Jazmin Escamilla Serna; Juan Carlos Seck-Tuoh-Mora; Joselito Medina-Marin; Norberto Hernandez-Romero; Irving Barragan-Vite; Jose Ramon Corona Armenta
Journal:  PeerJ Comput Sci       Date:  2021-05-27

5.  Application of genetic algorithm to hexagon-based motion estimation.

Authors:  Chih-Ming Kung; Wan-Shu Cheng; Jyh-Horng Jeng
Journal:  ScientificWorldJournal       Date:  2014-02-02

6.  GA-Based Membrane Evolutionary Algorithm for Ensemble Clustering.

Authors:  Yanhua Wang; Xiyu Liu; Laisheng Xiang
Journal:  Comput Intell Neurosci       Date:  2017-11-16
  8 in total

北京卡尤迪生物科技股份有限公司 © 2022-2023.