- About this Journal ·
- Abstracting and Indexing ·
- Aims and Scope ·
- Annual Issues ·
- Article Processing Charges ·
- Author Guidelines ·
- Bibliographic Information ·
- Citations to this Journal ·
- Contact Information ·
- Editorial Board ·
- Editorial Workflow ·
- Free eTOC Alerts ·
- Publication Ethics ·
- Recently Accepted Articles ·
- Reviewers Acknowledgment ·
- Submit a Manuscript ·
- Subscription Information ·
- Table of Contents
Mathematical Problems in Engineering
Volume 2013 (2013), Article ID 619029, 6 pages
Warehouse Optimization Model Based on Genetic Algorithm
1The Computer Science & Technology Department, Tongji University, Shanghai 200092, China
2Shanghai Bao-Steel Logistics Co. Ltd., Shanghai 200940, China
3The School of Business Administration, Northeastern University, Shenyang 110819, China
Received 25 July 2013; Accepted 1 September 2013
Academic Editor: Yuxin Mao
Copyright © 2013 Guofeng Qin et al. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
This paper takes Bao Steel logistics automated warehouse system as an example. The premise is to maintain the focus of the shelf below half of the height of the shelf. As a result, the cost time of getting or putting goods on the shelf is reduced, and the distance of the same kind of goods is also reduced. Construct a multiobjective optimization model, using genetic algorithm to optimize problem. At last, we get a local optimal solution. Before optimization, the average cost time of getting or putting goods is 4.52996 s, and the average distance of the same kinds of goods is 2.35318 m. After optimization, the average cost time is 4.28859 s, and the average distance is 1.97366 m. After analysis, we can draw the conclusion that this model can improve the efficiency of cargo storage.
In the process of cargo storage, it requires to assign a position for each cargo. An appropriate position for each cargo is important and influent the efficiency of cargo storage. So it is very important to manage the position of warehouse automatically. The optimization of warehouse is necessary for high efficiency [1, 2].
Xiangling Xu in Xi’an University of Technology has established a knowledge library based on expert system, through analysis and summary of the job schedule and the assignment of the position in automatic warehouse system. They also discussed the feasibility of the schedule of task using expert system, through simulation by computer.
Xiangli Shi in Taiyuan Heavy Machinery Institute proposed a simple model of warehouse and a new algorithm of schedule for this model. Take the task of getting or putting goods as a task which is associated with the library into a car by the task number and it does the task of cargo storage by task number.
H. Brynzer proposed a principle of partition. This principle divides the whole warehouse into different pieces according to different goods, different selection method, and different type of work. As a result, it will improve the efficiency of cargo storage by putting different goods in different position. Of course, the online schedule theory cannot match the current needs because these papers only discussed this problem with single row .
A 3D model is built in this paper, in order to analyses this problem through row, column, and layer. Perhaps, different goods could be laid in different position. When goods are got and put, there are many different roadways and multi-operation to making the stacker load balance in order to improve the storage efficiency, an optimization method will be studied as follow.
2. 3-Dimensional Model
Generally, In order to meet the needs of the shelf stability and improve security, heavy cargo should be kept on the ground or the lower position on the shelf, and light cargo should be put in the higher position on the shelf. As a result, it can reduce the height of the whole shelf. The advantage of this mathematical model is to ensure that the focus of the whole shelf is below half of the height of the shelf.
2.1. Analysis Problem
The warehouse storage totally has rows, each row of shelves has layers and Columns, see Figure 1(a). The th row, th layer, and th column position is on the shelf with , the goods’ weight is which is put on the position, the turnover is . Each position’s height is and the width is , , , . The closest row near to the shipping area is the first row, the closest column near to the shipping area is the first column, and the closest layer near to the shipping area is the first layer. In this paper, the lower row, the lower layer, and the lower column are encoded. As a result, the smaller number is encoding for the lower position in the warehouse.
2.2. Build Model
A single row of shelves of warehouse can be seen in Figure 1(b). For each cargo, the overall focus of the goods is in the center of the cargo. As shown above, the intersection of dotted lines is the focus of goods. For any cargo (, ), the focus of the goods is .
Each position’s height is , and the width is ; the goods’ weight is , excluding the width of column between positions. The focus of the whole warehouse is as follow: where —each shelf can bear maximum weight of cargo (kg); —weight of goods on the cargo (kg); , —the focus of the whole shelf on and direction position (m).
In order to meet the demand for the stability of shelf, the objective function is to make the focus the smallest one. We only consider the -axis direction in the center of the shelf.
Consider It needs to meet the following condition:
3. Object Function
For improving the efficiency of automatic warehouse system, allocation strategy for database storage includes improved FIFO, (Light underweight) LUW, (Divided Roadway Store) DRS, (Goods Relation) GR, (Cargo Partition), CP and (Shortest Route) SR. This paper uses the distance of the same goods and the cost time of cargo as the two parameters of analysis.
3.1. Efficiency Model
The operation cycle of stacker is a main impact factor to decide efficiency of warehouse. It is the main cost time of warehouse. Stacker moves from the shipping area to the specified location; it gets goods on the shelf and comes back to the shipping area. After running these tasks, it finishes shipping goods once. This paper only discusses the stacker moves from the shipping area to the specified location as it costs time. The speed of stacker on the -axis and -axis direction can be seen in Figure 2. is stacker’s max speed.
For a given distance on the -axis direction, the running time on the horizon is as follows:
The same for a given distance , the cost time is as follows: The total cost time is .
The efficiency of the warehouse is calculated, including the cost time of a stacker, it also has relationship with the frequency of goods. Inventory turnover is also called inventory turnover. It is a measure of acquired inventory and evaluation of business, production, marketing, and other aspects of management to recover the status of a comprehensive index. The optimization of cargo within the warehouse can be used to measure the speed of movement of a product. It is the cost of goods sold by average inventory ratio obtained by the addition.
A formula of efficiency is built as follows:
3.2. Classification Model
When goods are put on the shelf, the relevance of the goods needs to be considered. According to this, an object function is built. At first, the average distance should be calculated between the same kinds of goods on one shelf. In Figure 2, every black point expresses the focus of every good. It is assumed that these goods belong to the same type. We need to calculate the distance between every two goods compute the sum of these distances.
The sum of these distances is as follows: —count of same kinds of goods.
numbers are added. The average value is as follows: The min goal distance is as follows: For object Function, we need to discuss the two models: efficient model and classification model. Deal with these two models into one, so we use weight distribution. Finally, the objective function is .
So the assignment of the position on shelves should be considered in both efficiency and classification models. This is a combination of multiobjective optimization problem. For multiobjective optimization problem, the goal is conflicting in many cases. Generally, there is no unique global optimal solution, but there is an optimal solution set. Concentration of elements in the set of optimal solutions is not comparable. The optimal performance of a target solution is likely to mean poor performance of other objectives. Only one pursuit of one objective optimization has not much practical significance. It has great importance to seek a solution which makes the objective function of each dimension in good performance .
4. Warehouse Optimization Genetic Algorithm
Warehouse optimization genetic algorithm is complex combinatorial optimization problem of data. Genetic algorithm is based on evolutionary theory which has good adaptive performance and whose condition is not strict. It is suitable for solving complex combinatorial optimization problems.
4.1. Algorithm Analysis
Adaptor function value can be known as an ability which measures an individuation to survive in a set. It determines the degree to understand the pros and cons. It determines an individuation to survive or to die.
Because the goal is to find the min value of the objective function and the two models above is to find max value, so we take the following measures. A suitable degree function is as follows:
Because the optimization problem of cargo storage is complexity and the scale of the solution is large, it is hard to encode the position using 0 and 1. As a result, we encode positions using matrix. is number of goods in the matrix. Information of goods is defined with weight, count, and time of turnover. The general matrix corresponding is in Figure 3. An example matrix in experience is in Figure 4.
The individuals in GA group are randomly generated when initialized. It is very important to determine the initialization group. If the difference between every two individuals is too small, it will make the group loss diverse and lead this algorithm to early convergence. As a result, it cannot lead this genetic algorithm to get the global optimization.
Firstly, a certain number of individuals are generated randomly. Secondly, the best one is picked and added to the initial group. Lastly, this process is continue to iterate until the count of individuals in initial population is big enough.
The differences between individuals are used to determine which individual should be chosen.
4.2. Genetic Operators
Genetic operators decide which parents should be chosen into the next generation to continue this algorithm. The method of gamble selection is used, including three steps. Firstly, some locations are selected randomly from the first parent individual and the elements corresponding to these locations are stored. Secondly, these elements are deleted from the second parent individual. Lastly, the other elements of the second parent individual are copied to an empty string.
The elements are exchanged in the first parent individual with the same order. According to crossover the two individuals, the corresponding gene mapping is determined to exchange 7 with 2 and 15 with 1. The details can be seen in Figure 5. The matrix is legitimized with the corresponding gene mapping. The crossover result can be seen in Figure 6.
Mutation is randomly changing the value of some elements in one individual in a small probability. The goal is to increase the diversity of the group.
In probability, some individual mutation with experience is used. The individuals are chosen to mutate in Figure 7. Two positions are exchanged in the matrix with the probability of , which is to exchange the two goods. If this mutation happens in a small range, is always between 0.1–0.4.
Only the goods are adjusted on the shelf; they might be allocated on the position which is far away from the shipping area. The optimized result is to put goods to the empty position which is near the shipping area. The repair result can be seen in Figure 8.
4.4. Termination Condition
Some randomly individuals are selected to initial population for the crossover and mutation. What is the termination condition? As the algorithm runs until it reachs a certain extent, the structure of individual between every two individuals is very similar. It will be difficult to find a better individual if the algorithm still runs. Under this condition, we think this algorithm is convergent. In this paper, we think the population is convergent if the standard deviation of this population is little, less than certain values, which is usually small.
In the formula, is the th individual in the population, is the count of the population, is the adaptor function value of the th individual, and is the average adaptor function value.
In the process of calculation, if the value of is less than 0.001, this population is convergent. Algorithm flowchart can be seen in Figure 9.
5. Results on Simulation
A class of GA algorithm is setup, which is the main class of the program. In this class, Firstly, it will create goods then save all these information of goods into a list . Then allocate all these goods on the shelf randomly to simulate the work of cargo storage. Before optimization, cost time is 4.52996 s and distance of same good is 2.35318 m. In order to make the test more accurately, the parameters are defined in Table 1.
The results on simulation can be seen in Table 2.
In global, the cost time and the distance are reduced. Before optimization, the cost time of cargo storage is 4.52996 s and the distance between same kinds of goods is 2.35318 m; after optimization, the cost time of cargo storage is 4.28859 s and the distance between same kinds of goods is 1.97366 m. In the process of optimization, the focus of shelves is always under half of the height of shelves. But in this process, some point is higher than previous one, the reason is that the objective function use to calculate has changed in this process. As a result, the optimize solution is worse than the previous one. After optimize again, the result is getting better and better globally. The curves of the results can be seen in Figure 10.
This paper discusses the problem on how to assign a position for goods on shelf in the automated warehouse system and bring out two models: efficiency model and classification model. A genetic algorithm is used to solve and optimize the multiobjective problem. A location optimal solution should be studied and improved in the global scalability in the future.
The researcher is supported by the national 863 program in the Ministry of Science and Technology of China. Project no. 2013AA040302.
- G. Nikolakopoulou, S. Kortesis, A. Synefaki, and R. Kalfakakou, “Solving a vehicle routing problem by balancing the vehicles time utilization,” European Journal of Operational Research, vol. 152, no. 2, pp. 520–527, 2004.
- M. Lang and S. Hu, “Study on the optimization of physical distribution routing problem by using hybrid genetic algorithm,” Journal of the Society of Management Science of China, vol. 10, pp. 51–56, 2002.
- G. Zhou and M. Gen, Journal of Engineering Design and Automation, vol. 3, p. 157, 1997.
- C. A. Coello, “A comprehensive survey of evolutionary-based multiobjective optimization techniques,” Journal of Knowledge and Information Systems, vol. 3, pp. 269–308, 1999.