Abstract

We investigate the optimal scheduling of retrieval jobs for double-deep type Automated Storage and Retrieval Systems (AS/RS) in the Flexible Manufacturing System (FMS) used in modern industrial production. Three types of evolutionary algorithms, the Genetic Algorithm (GA), the Immune Genetic Algorithm (IGA), and the Particle Swarm Optimization (PSO) algorithm, are implemented to obtain the optimal assignments. The objective is to minimize the working distance, that is, the shortest retrieval time travelled by the Storage and Retrieval (S/R) machine. Simulation results and comparisons show the advantages and feasibility of the proposed methods.

1. Introduction

Optimization has shown itself to be one of the most important problems of engineering design and scientific analysis (e.g., see [112]) and has been widely studied in the manufacturing industry [18]. Since Automated Storage and Retrieval Systems (AS/RS) have been used as a part of manufacturing systems [18, 1319] and function as important links in the supply chain, many researchers have discussed the applications of optimization to such systems. The AS/RS have great flexibility in interfacing with other components of Flexible Manufacturing Systems (FMS) to maintain quick responses to demands in manufacturing, warehousing, and distribution applications [19]. The AS/RS are a class of industrial automatic systems composed of high-level stereoscopic shelves, raising machines, forklift trucks, stock movement systems, unmanned carriers, control systems, peripheral apparatuses, and so forth. The system can fully utilize minimum stock space and realize online control of the apparatus through computer. It can rapidly process data, deal accurately with stock control, and thus rationally improve management efficiency. However, the high efficiency of AS/RS is based on storage and retrieval locations and scheduling management [8]. Scheduling can be a difficult task due to a variety of reasons, including different goals, priorities, and the complexity of the computing systems. In recent years, there has been growing interest in exploring the scheduling and performance of AS/RS. For example, Chetty and Reddy [1] proposed the Genetic Algorithm (GA) for the AS/RS integrated with machines. Wang et al. [2] discussed the selection of AS/RS scheduling rules based on GA. Asokan et al. [3] discussed the optimal scheduling of the AS/RS in FMS.

Traditional AS/RS are almost structured in the single-deep configuration for the storage rack, such that the Storage and Retrieval (S/R) machine has movement control in the middle of the pathway. However, in a range-limited factory, it will store significantly more goods if we adopt the double-deep AS/RS, a double-deep rack with the pallets being stored and retrieved by an automated S/R machine (e.g., see Figures 1 and 2, [19]). Due to more goods being preserved in the double-deep AS/RS, it is even more important to precisely manage the fetching and placing of goods, such that possible interference and/or deadlock can be avoided. Therefore, in order to make the double-deep type AS/RS more effective, we have to optimize the storage location and the job scheduling for storage and retrieval. A survey of the literature indicates that optimal scheduling for double-deep type Automated Storage and Retrieval Systems (AS/RS) has not yet been studied. In this paper, we systematically propose a formula for the AS/RS traveled distance calculation and are the first to use evolutionary algorithms to optimize retrieval jobs scheduling problems for the double-deep type AS/RS. Based on the study, scheduling with evolutionary algorithms is shown to perform more effectively than random retrieval without evolutionary algorithms. Similar applications can thus be extended to more complex systems and job scheduling.

The Genetic Algorithm (GA) [2025] was first proposed by Holland 1975 [20] based on the genetic scheme and bioevolution. Being a global search algorithm, it is capable of producing better solutions in complex situations through chromosome representation, reproduction, crossover, and mutation. The concept of Artificial Immune System (AIS) was improved from GA and was originally proposed by Jerne [26]; it has since been widely studied (e.g., see [2632]). In Immune Genetic Algorithm (IGA) approaches, we calculate the affinity between any pairs of strings. If the affinity is close, the string will be selected with a lower possibility to avoid local minimum. Due to the advantage that a variety of feasible spaces can be better assured while solving the optimization problems to more likely achieve optimal solutions, IGA is thus applied in this study. Particle Swarm Optimization (PSO) [3338] was first proposed by Kennedy and Eberhart 1995 [33] based on swarm intelligence. All three algorithms share many advantages, such as fast convergence speed, easy implementation, and limited parameters to be tuned. Unlike GA and IGA, however, PSO does not have evolution operators, such as crossover and mutation. PSO is not only easy to implement, since there are fewer parameters to adjust, but it is also able to combine local and global search methods [33]. In this study, GA, IGA, and PSO are applied to optimal retrieval scheduling in the AS/RS. The algorithms and objective functions can minimize the working distance, that is, the shortest retrieval time, travelled by the automated S/R machine, so that the AS/RS will be more effective. Finally, simulation results and comparisons show the advantages and feasibility of the proposed methods.

This remainder of this paper is organized as follows. Section 2 presents the problem statement. Section 3 describes the implementation of evolutionary algorithms, including GA, IGA, and PSO. The simulation results are illustrated and discussed in Section 4. Finally, Section 5 presents the conclusion.

2. AS/RS Structure Model and Problem Statement

Figure 3 shows the structure of the double-deep type Automated Storage and Retrieval Systems (AS/RS) considered in this work. The AS/RS structure is rectangular with rows, columns, and 2 depths, where is set to be 20 and is set to be 30. Each cell is capable of holding one cargo in any type. In our study, we assume that there are 4 types of cargos and 10 for each type. The center distance between any two adjacent cells in a row is , in a column is , and in a depth is , respectively. The numbers 1, 2, 3 given beside the cell indicate the address of the storage location. There is one shuttle of the crane type, which is capable of moving vertically, horizontally, and thoroughly. The maximum load capacity of the forklift truck is 10 goods each time; one cargo can be taken at each time. The goods stored in the outer-layer of the storage rack will stop the retrieval of the inner storage unit. In this case, the inner-layer cargo can be accessed only if the outer-layer cargo is moved first. We assume that both of the Pickup and Deposit (P&D) stations are at the same points at lower left-hand corner of the aisle. The movement, that is, the travelled distance, of the Storage and Retrieval (S/R) machine is a major decision parameter in the operation and control of the AS/RS. The distance travelled by the S/R machine, from address point to point to complete one activity, is calculated by the following two steps.

Step 1 (identification of row, column, and depth numbers). A simple table can be used to represent the row, column, and depth numbers of the addresses, that is, the storage locations of cargo (see Tables 15).

Step 2 (distance calculation for the movement from point to point ). The distance between two storage location points and can be calculated using the general formula where is distance from the P&D station to the first storage cell; and are the required time to move the outer-layer cargo when the outer-layer cargo stops the retrieval of the inner-layer cargo; , , and are center distances between two adjacent cells in a row, column, and depth, respectively; and are distances between the locations “” and “” row-wise; and are distances between the locations “” and “” column-wise; and are distances between the locations “” and “” depth wise; and is distance from the P&D station to last storage cell.

We set the P&D station to be at point , and the formula for the P&D can be calculated as where   and   are center distances between two adjacent cells in a row, column, respectively, is distance between the location of first cargo “” and “P&D station” row-wise; is distance between the location of first cargo “” and the “P&D station” column-wise; is the maximum load-capacity (i.e., maximum number of cargos) of the forklift truck each time; is distance between the location of last cargo “” and the “P&D station” row-wise; is distance between the location of last cargo “” and the “P&D station” column-wise.

When the outer-layer cargo stops the inner-layer cargo, we must first move the outer-layer cargo to the nearest empty place and then move back to the original place to retrieve the cargo. The formula for calculating can be represented as follows: where , , and are center distance between two adjacent cells in a row, column, and depth, respectively, is the place of the cargo that we want to retrieve; is the nearest empty place that we can put the cargo; and are distances between the locations “” and “” row-wise; and are distances between the locations “” and “” column-wise; and are distance between the locations “” and “” depth-wise.

The objective is to develop an optimal control program for the AS/RS in order to minimize the total distance travelled by the S/R machine. The objective function is formulated as follows: where is total distance travelled by the S/R machine; is the maximum load capacity (i.e., maximum number of cargos) of the forklift truck each time.

3. Implementation of Evolutionary Algorithms

3.1. Genetic Algorithm (GA)

The following GA procedure is adopted to perform the double-deep AS/RS retrieval scheduling optimization.

Step 1 (chromosome representation). Produce various combinations of different retrieval orders and give the number to represent them.

Step 2 (parameter settings). Consider the following:population size: 100; select a maximum generation number , and set at the beginning; crossover rate: 0.6; mutation rate: 0.05.

Step 3. According to population size, randomly select the retrieval order number and put it into the genetic pool.

Step 4. Calculate the cost value through the fitness function formula (4) for each gene.

Step 5. Calculate the probability to be selected by the following formulas: where is the fitness value for the th gene in population; where is the probability of the th gene to be selected for reproduction.

According to the , we proceed to select genes with the roulette wheel method.

Step 6. Crossover.

Step 7. Mutation.

Step 8. Set and go to Step 4, recursively. Stop if .

The flow chart of GA is shown in Figure 4.

3.2. Immune Genetic Algorithm (IGA)

The IGA procedure is improved from GA, and the following IGA procedure is adopted to perform the double-deep AS/RS retrieval scheduling optimization.

Step 1 (chromosome representation). Produce various combinations of different retrieval orders and give the number to represent them.

Step 2 (parameter settings). Consider the following:population size: 100; select a maximum generation number , and set at the beginning; crossover rate: 0.6; mutation rate: 0.05.

Step 3. According to population size, randomly select the retrieval order number and put it into the genetic pool.

Step 4. Calculate the cost value through the fitness function formula (4) for each gene.

Step 5. Set the best fitness value .

Step 6. Calculate the probability of being selected with the following formula: where is the fitness value for the th gene in population.
Evaluate the affinity between any pairs of strings with the following formula: where is similarity, and are any two strings in population, and the fitness values for and are and , respectively; is the threshold value for gene similarity, and where we set .
Calculate the expected rate of reproduction as follows: where is the expected rate of reproduction; is the estimate value for the th string; is the total number similar to the th string in all the strings in the generation; is the parameter to tune the and .
According to (10), we calculate the probability to be selected for each gene as follows: where is the probability of the th gene being selected for reproduction; is the expected rate of reproduction.
According to the , we proceed to select genes by using the roulette wheel method.

Step 7. Crossover.

Step 8. Mutation.

Step 9. If the string is with the best fitness value, and the fitness value is not equal to , then replace the string with the worst fitness value by using .
If the current fitness value is better than the best fitness value in history (), we use the current value as the new best fitness value .

Step 10. Set and go to Step 4, recursively. Stop if .

The flow chart of IGA is shown in Figure 5.

3.3. Particle Swarm Optimization (PSO)

The following PSO [33] procedure is adopted to perform the double-deep AS/RS retrieval scheduling optimization.

Step 1 (chromosome representation). Produce various combinations of different retrieval orders and give the number to represent them.

Step 2 (parameter settings). Consider the following:learning factor ;learning factor ;population size: 100;select a maximum generation number , and set at the beginning;maximum velocity: .

Step 3. According to population size, randomly select the retrieval order number and regard it as the initial value of particle.

Step 4. Calculate the cost value with the fitness function formula (4) for each particle.

Step 5. Calculate the fitness value for each particle. If the fitness value is better than the best fitness value in history, we use the current value as the new best fitness value .

Step 6. Select the particle with the best fitness value of all the particles as the global best fitness value .

Step 7. For each particle, calculate particle velocity according to the following equation: where , simplified from , is the particle velocity; , simplified from , is the current particle position; ; is a random function 9 in the range  ;  ,   are learning factors = 2.

Step 8. Particle velocities on each dimension are bounded by a maximum velocity . If the sum of acceleration causes the velocity on that dimension to exceed (specified by the user), the velocity on the dimension is limited to .

Step 9. Set and go to Step 4, recursively. Stop if .

The flow chart of PSO is shown in Figure 6.

4. Simulation and Discussion

In the simulation, MATLAB (7.10.0 (R2010a), 64 bits) is used to analyze the performance. The specifications of the PC are CPU: Intel I7-3770, quad-core, 3.4 GHz (Turbo 4.2 GHz); RAM: 16 GB, DDR3, 1600 MHz, CL 11; OS: Windows 7 Enterprise, 64 bits. The chosen AS/RS structure model is shown in Section 2 with rows, columns, and 2 depths, where is set to be 20 and is set to be 30. There are 4 types of goods and 10 for each type. The Genetic Algorithm (GA), Immune Genetic Algorithm (IGA), and Particle Swarm Optimization (PSO) are applied. In GA and IGA, we select a coding to represent problem parameters and choose population size to be 100, crossover probability to be 0.6, and mutation probability to be 0.05. Additionally, we initialize a random population of strings and each string has a size of 22 bits. In PSO, we randomly initialize a population of 100 particles and the learning factors are set to be 2. The relevant parameters and details are presented in Section 3. Tables 15 illustrate random examples with the possible addresses of cargo stored in the AS/RS with the fixed overlapped number. The , , and represent row, column, and depth, respectively. Software framework is used to run 100 iterations to obtain optimal results. Five cases are studied—Case  1: all goods do not overlap at the front and rear positions, as shown in Table 1; Case  2: five goods sets overlap, as shown in Table 2; Case 3: ten goods sets overlap, as shown in Table 3; Case  4: fifteen goods sets overlap, as shown in Table 4; and Case  5: twenty goods sets overlap, as shown in Table 5. For example, in Table 2, five goods sets overlap; that is, Cargo B2 overlaps A1 at the place (, ), Casrgo C7 overlaps A6 at the place (, ), Casrgo D8 overlaps C4 at the place (, ), Casrgo D4 overlaps C1 at the place (, ), and Casrgo C10 overlaps B10 at the place (, ). The optimal scheduling orders for five cases with three algorithms can be obtained and are shown in the “Order” column of Tables 15. For example, in Table 1 for Case  1 by GA method, we can get the optimal retrieval order as (1) Cargo A7, (2) Cargo A2, (3) Cargo A9, …, and finally (40) Cargo D2. The simulation results for these five different cases are illustrated in Figures 7, 8, 9, 10, and 11. The five cases, from Case  1 to Case  5, have been calculated using 100 iterations for each time, as well as a total of 100 times, to obtain an average CPU time for the analysis, as illustrated in Table 6 and Figure 12. In Table 6, the average CPU time, maximum CPU time, minimum CPU time, the difference in the maximum and minimum values, and the standard deviation are all illustrated. The smaller the standard deviation is, the more concentrative the average CPU time will be for all 100 data by running the process 100 times. Therefore, we can see that PSO will cost less average CPU time in each case, and that PSO will almost get the smallest standard deviation. Although the CPU time for the three algorithms is very similar in the five illustrated cases, regarding CPU time, PSO performs better than the other two methods. With increasing complexity, computing time will also increase. However, PSO still performs the best. This can be easily found in Table 6 and Figure 12. In Figures 711, we run 100 iterations for each time and show the best curve (i.e., with the shortest distance at the 100th iteration) out of the 100 times as the minimum curve. Although the three types of algorithms result in little difference in convergent speeds under different cases, all the travelled distances tend to converge. In order to create criteria for the selection of algorithm in the figures, we use the similar way in [38] to analyze the curve tendency. The maximum and average travel distance values out of the genes by the three algorithms are illustrated in Figures 711. We can find that the maximum values for the three algorithms are almost the same. However, the IGA average curve shows a lower traveled distance than the other two algorithms. We can therefore infer that, by IGA, we will have a higher probability to select the gene with the shortest travelled distance and finally obtain the shortest travelled distance. The different travelled distances are shown in the Gantt charts as illustrated in Figures 1317. The charts clearly show that retrieval scheduling with three evolutionary algorithms performs much better than that with random retrieval. In general, the shortest travelled distance represents the shortest time to complete the job. IGA performs best based on the criteria stated earlier, as shown in Figures 711 and 1317. Therefore, the user can select the most suitable method for optimal retrieval scheduling in a double-deep AS/RS either based on the viewpoint of CPU time or the travelled distance. It can also be observed in Figures 711 that there is chattering shown in maximum and average values since there are crossover and mutation in GA and IGA and there is calculation of particle velocity in PSO. A decreasing tendency in minimum values results from the fact that the best gene will be kept in each iteration for GA, IGA, and PSO.

In our simulation results, approximate convergence can be achieved randomly at, for example, the 50th, the 80th, and the 90th generations in different curves. Therefore, we perform the iterations 100 times. If one were to set the iteration at only the 80th generation, it would perhaps get suboptimal solutions, but it would save CPU time. However, if one were to set the iteration at the 3000th generation, it might obtain optimal solutions, but it would perhaps waste significant CPU time. We could also establish a rule to determine the number of iterations. For example, if there is no change in travel distance or limited travel distance after several iterations have passed from some iteration instant, we thus stop and use this as the result. Under this situation, the iteration number is set and modified by ourselves or is dependent on the experience. In this paper, the proposed ideas and methods focus mainly on double-deep AS/RS retrieval scheduling. However, it can easily be similarly extended to complicated systems with multiple objectives in real applications.

5. Conclusions

A survey of the literature indicates that optimal retrieval scheduling for double-deep type Automated Storage and Retrieval Systems (AS/RS) has not previously been studied. In this paper, a systematic model for the travelled distance, that is, the shortest time, is presented. Three types of evolutionary algorithms, including the Genetic Algorithm (GA), the Immune Genetic Algorithm (IGA), and the Particle Swarm Optimization (PSO), are used to optimize the retrieval scheduling problem for the studied case. With the minimum objective function value, that is, the shortest retrieval time travelled by the Storage and Retrieval (S/R) machine, the corresponding optimal retrieval schedule can be selected. In this simulation with five different cases, PSO costs less CPU time than GA or IGA. Although the three types of algorithms result in little difference in convergent speeds under different cases, all the travelled distances tend to converge. In terms of CPU time, PSO performs better than the other two methods. In terms of the shortest travelled distance, IGA performs better than the other two methods. Therefore, the user can select a suitable method for optimal retrieval scheduling in a double-deep AS/RS. Based on this study, extension to more complicated systems with multiple objectives can thus be further investigated for real applications in the future.

Acknowledgment

This research was supported by the National Science Council (NSC), Taiwan, under the Grant 101-2221-E-011-056.