Improved Adaptive Genetic Algorithm in Optimal Layout of Leather Rectangular Parts
Improved Adaptive Genetic Algorithm in Optimal Layout of Leather Rectangular Parts
[a]
School of Mechanical Engineering, Shanghai University of optimization technology is essential in the leather industry
Engineering Science, Shanghai, China. and an important means to save raw materials and make
*
Corresponding author.
full use of the resources. The merits of nesting cutting
Received 9 April 2015; accepted 25 August 2015 directly impact on the leather production efficiency and
Published online 26 September 2015 economic benefits. Artificial leather nesting cutting is
generally based on two-dimensional rectangular sample
Abstract rule nesting. For irregular leather nesting, complementary
In the mass customization of Leather products (such sample makes the fight against and filling, cluster
as sofa), the intelligent layout is the key technology to analysis, take the smallest envelope rectangle and
improve material utilization. The paper faces artificial other Pretreatment, irregular sample transformed into a
leather fabric cutting problem, most can be converted into rectangular sample, finally, in the rules of artificial leather
a rectangle packing layout problem. This paper proposes fabrics to optimize nesting. Such as artificial leather sofa
a new improved adaptive genetic algorithm. Crossover nesting cutting is a typical two-dimensional rectangular
and mutation probability of genetic algorithm adaptively Nesting engineering problems. It requires a set of leather
adjust on the basis of logistic curve equation and the rectangle samples which are distributed over a given
shortcomings of traditional adaptive genetic algorithm specification leather fabric with an optimal arrangement,
solved well. The remaining rectangle algorithm as the various leather samples do not overlap each other and
decoding algorithm and adopting New cross-ways, the not more than leather fabric border, making full use of
niche technology controlled whether the child individual leather fabrics, improving their utilization. Algorithms
replacement the parent individual or not accelerating have a reliable fast convergence and nesting calculation is
convergence rate. Examples show that the algorithm efficient.
of leather fabrics nesting is effective and a substantial Optimal layout of rectangular pieces is NP-hard
increase in the utilization of leather fabric. problem, there is still more literature that dedicated to
finding efficient algorithms to solve a wide variety of
Key words: Optimal layout of rectangular parts;
two-dimensional rectangular pieces of packing problem.
Adaptive genetic algorithm; Niche technology; The
Research work in this area as early as linear programming
remaining rectangle algorithm
and the knapsack problem (Reda & Abd, 1994; Cao &
Zhou, 1994) thinking applied to the problem of nesting,
Liu, H., & Qiu, J. X. (2015). Improved Adaptive Genetic
Algorithm in Optimal Layout of Leather Rectangular Parts.
but it has a great computational complexity, suitable
Advances in Natural Science, 8 (3), 20-26. Available from: for small-scale problem solving, not very practical in
h t t p : / / w w w. c s c a n a d a . n e t / i n d e x . p h p / a n s / a r t i c l e / v i e w / 7 3 4 2 engineering.
DOI: http://dx.doi.org/10.3968/7342 With the development of intelligent algorithms
and successfully applied to TSP and space allocation,
literature (Huang, Qi, & Tan, 2012; Thiruvady, Meyer, &
Ernst, 2008; Jiang & Lu, 2008) make the particle swarm
INTRODUCTION optimization, ant colony algorithm, genetic algorithms,
Leather fabric used in clothing, automobile, home, simulated annealing algorithm apply to the Rectangular
airplane seats, luggage, and other industries. Nesting Strip Packing Problem. However, due to the limitations of
the algorithm itself, the nesting effect is not too satisfied. motherboard. After completion of the maximum height
In Literature (Tang & Tang, 2005; Jia, Yin, & Luo, 2002). of nesting (that is the highest leather rectangular
GA combined with layout algorithm of BL, BLF to sample boundary of figure nesting, also known as
optimize the layout, however, the algorithm is not very the highest nesting contour) H high ≦H (referring to
good stability and convergence rate. Figure 3 Hhigh). While meeting certain cutting process
After a lot of genetic iterative, genetic algorithm requirements.
eventually evolved to the optimal layout in probability Optimization objectives: The minimum gap of
theory from the random search method. It has the between Leather rectangular sample to make leather fabric
advantage of strong global search capability, but has maximum utilization (η).
the disadvantage of premature and local convergence. Since guarantee the lowest Hhigh of the highest contour
Adaptive genetic algorithm (Lee, Lin, & Chen et al., nesting figure, between leather rectangular sample gap
2011) solve the problem that the crossover rate is too is the minimum in nesting figure, so the optimization
large, the best individual structures destroyed, and the modeling in this paper can be simplified to only consider
crossover probability is too small to make evolutionary the impact of the highest contour nesting map. Due to
stagnation. It also solves the question that the mutation the width of Motherboard leather and the total area of all
probability value is too small to difficult produce a new leather Rectangular samples is constant, the utilization
individual, mutation probability value is too large, GA has of leather fabric η only relevant with total area of all
no evolutionary effect and other issues. However, since rectangles and area of using motherboard sample, the
the value of the adaptive genetic algorithm crossover optimization objective function is:
and mutation probability close to zero in later evolution, η = h/Hhigh , (1)
evolution will occur stagnation. In addition, adaptive where: n
genetic algorithm only consider the average value of
h = ∑ w i × hi / W . (2)
group fitness and optimal fitness value and it does not i =1
consider the impact of its evolution from the entire group where, h is theoretical optimal height, which is the
setting produces. resulting all the leather samples rectangular area divided
In this paper, an improved adaptive genetic algorithm by the width of leather motherboard. h is constant, Hhigh is
is employed. First, obtain Optimal into the row order of variable. The objective function value η the closer 1, the
a set of rectangular leather samples. In the process of closer optimal nesting.
Leather rectangular sample layout, automatically adjust
the crossover and mutation probability depending on
the circumstances, it well overcomes the shortcomings 2. THE KEY TECHNOLOGY AND BASIC
of traditional adaptive genetic algorithm. In order to F L O W A L G O R I T H M O F L E AT H E R
make the evolutionary process does not fall into local
optimum, this paper adopted a new way of cross. Finally,
RECTANGULAR SAMPLE LAYOUT
the remaining rectangle decoding algorithm to determine In this paper, using the improved adaptive genetic
the rules of the row of rectangular samples of leather, algorithm to obtain the optimal order of the row of
achieving automatic nesting. rectangular leather sample group, and then use the
remaining rectangle algorithm to determine the rules
of the row of rectangular samples of leather, automatic
1. LEATHER RECTANGLE PACKING nesting. In this paper, using leather rectangular optimal
layout sample problem describes the improved adaptive
PROBLEM MATHEMATICAL MODEL
genetic algorithm basic flow.
Leather rectangular nesting optimization problem is
described as follows: In the wide W, height H of the 2.1 Genetic Encoding
rectangular artificial leather motherboard emissions Optimization leather rectangular sample nesting use
without overlapping rectangular leather samples {P1, P2 decimal integer coding. To a group of n rectangular
.... Pi .... Pn}, anyone leather rectangular samples Pi (i = leather samples P 1, P 2, ... P n with a natural number 1
1,2, ..., n) can be expressed using a dimensional binary to n correspond to numbered,the number of leather
array: rectangular samples constitute a random integer string
Pi = (wi , hi ) , X={x 1, x 2,...x i.....x n} (x i represents a rectangle leather
where wi, hi are the leather rectangular sample Pi’s width sample), thus forming an individual, that is, a group
and height. of leather rectangle row sample group which has been
Optimization constraints: Each rectangle leather determined to be the order of the rows. Coding sequence
sample does not exceed the edges of the rectangular of the individual elements in the sample is the order of
artificial leather motherboard and its edges must be leather rectangle. x i has positive and negative points,
parallel to the edges of the rectangular artificial leather representing nesting manner of leather rectangular
by X1 gene duplication. In order to avoid the generation the corresponding position of Offspring1 by the order of
of invalid individuals, if gene copied from X1 conflict appearing in X2. Using the same method of generating
with a cross section, using some method map copied to Offspring2. For example:
ParentX1
3 -5 1 10 -2 9 -8 6 4 7
↑ ↑
r1 r2
ParentX2 ↓ ↓
6 -9 3 -7 -4 2 1 8 10 5
Progeny Offspring1
3 -5 -9 -7 -4 2 1 6 8 10
Progeny Offspring2
6 1 3 10 -2 9 -8 4 7 5
k
Pm P= = 2 k 21
m 1
5(15+(1e+ e)ω )
ω
Figure 3
Rectangular Nesting Algorithm With Main Flow Chart
Gmax=100, ηk=0.98, Generation Gap GGAP=0.9. Artificial
3. EXPERIMENTAL ANALYSIS
leather fabric width is 2 m, assuming infinite length. The
In order to verify the validity of firefly simulated annealing size and number of rectangular leather sofa fabric as
algorithm, a set of selected samples of rectangular leather shown in Table 1:
sofa from a furniture plant for nesting computing. Set the Using matlab software for simulation,nesting results
parameters as follows: k1=10, k2=0.1, Convergence criteria shown in Figure 5 , nesting height of the evolutionary
process diagram in Figure 6. The results can be seen from In order to verify the efficiency of the algorithm,
Figure , nesting height Hhigh = 4,395 mm, leather fabric above a set of leather sofas rectangular sample
utilization of 94.49%, obtaining the number of iterations respectively use GA (Standard genetic algorithm)
of the final layout diagram for the first 62 times, the entire and AGA (Adaptive Genetic Algorithm) algorithm
nesting process run time of 159.8s. nesting, the results were compared, remaining rectangle
Table 1 algorithm as the decoding algorithm; Based on this
The Size and Number of Rectangular Leather Fabric algorithm (improved adaptive genetic algorithm in this
Kind of The length of the The width of the paper), using the lowest level algorithm as the decoding
rectangular rectangular pieces rectangle pieces Quantity algorithm nesting. The results obtained for the above-
pieces long (mm) wide (mm) described algorithm are compared, as shown in Table
1 700 410 6 2. In order to ensure comparability of the algorithm,
parameter settings should be the same. GA parameters
2 650 300 6
are set as follows: Population size m=72, GGAP=0.9,
3 650 150 6 Pc=0.9, Pm=0.1, Gmax=100, ηk=98%; AGA’s parameters
4 650 650 6 are as follows: Population size m=72, GGAP=0.9, Initial
crossover probability Pc1=0.9, Pc2=0.6, Initial mutation
5 500 400 2 probabilityPm1=0.5, Pm2=0.1, Gmax=100, ηk=98%; In this
6 500 250 4 algorithm basis, using the lowest level algorithm as the
decoding algorithm nesting algorithm uses the same
7 700 500 2
parameters of this algorithm. For the four algorithms,
8 550 265 2 respectively, running 10 times, obtaining the maximum
9 550 400 2 height H max, the minimum height H min, average height
H avg . After each run, the maximum number K max of
iterations of the final solution, minimum Kmin, average
Kavg, average utilization ηavg.
Table 2
Compares the Four Algorithms Results
Kmax 96 72 98 96
Figure 4
Nesting Results Kmin 3 22 44 47
CONCLUSION Huang, L., Qi, J., & Tan, Y. (2012). A genetic-discrete paticle
swarm optimization algorithm for rectangular packing.
(a) Improvement of Algorithms: In this paper, Based Chinese Journal of Electronics, 6(40), 1103-1107.
on the adaptive genetic algorithm, crossover and adaptive Jaya Thomas·Narendra, S. C. (2014). A new metaheuristic
crossover probability, mutation probability are improved genetic-based placement algorithm for 2D strip packing.
, using a mechanism based on a pre-selected niche Springerlink, 47(9), 1-16
technology, obtaining the best leather rectangular layout Jia, Z. X., Yin, G. F., & Luo, Y. (2002). Two-dimensional
sample order, and then using the remaining rectangle irregular parts packing with genetic algorithm. Journal of
algorithm to achieve automatic nesting. Computer-Aided Design & Computer Graphics, 5(14),
(b) Effect of the algorithm: By comparison of the data 467-470.
with the GA and AGA experiments prove the algorithm is Jiang, X. B., & Lu, X. Q. (2008). Optional packing of rectangles
better and superior performance. For leather rectangular with an adaptive simulated annealing genetic algorithm.
layout sample, using this algorithm obtains maximum Journal of Computer-Aided Design & Computer Graphics,
utilization of material, later evolution remains the 11(20), 1426-1431.
effective evolution. Improved adaptive genetic algorithm Lee, C. P., Lin, W. S., & Chen, Y. M., et al. (2011). Gene
is proposed to solve the problem that production of good selection and sample classification on microarray data based
utilization and efficiency can not take into account in the on adaptive genetic algorithm/k-nearest neighbor method.
leather rectangle sample layout. The algorithm not only Expert Systems With Applications, 38(5), 4661-4667.
improves utilization of leather sample material, but also Patnailklm, S. M. (1994). Adaptive probabilities of crossover
has fast convergence rate. In the garment leather business and mutation in genetic algorithms. IEEE Transaction on
applications, this algorithm significantly improves the System, Man and Cybernetics, 24(4), 656-667.
economic efficiency of enterprises. Reda, M. S., & Abd, E. A. (1994). An interactive technique
for cutting stock problem with multiple objects. European
Journal of Operational Research, 78(3), 304-317.
REFERENCES Ren, Z. W., & San, Y. (2006). Improved adaptive genetic
Cao, J., & Zhou, J. (1994). Rectangular nesting of backpack algorithm and its application research in parameter
algorithm. Chinese Mechanical Engineering, 5(2), 11-12. identification. Journal of System Simulation, 1(18), 41-44.
Chen, C. (2011). Improved adaptive genetic algorithm and its Tang, K. W., & Tang, W. K. S. (2005). Metal cutting with hybrid
application. Guangzhou, South China University of genetic algorithmic (pp. 735-739). Proceedings of the 3rd
Technology. IEEE International Conference Industrial Informatics, Perth.
Dong, D. W., & Yan, Y. H. (2013). Adaptive genetic simulated Thiruvady, D. R., Meyer, B., & Ernst, A. T. (2008). Strip packing
annealing algorithm in optimal layout of rectangular parts. with hybrid ACO: Placement order is learnable. IEEE
China Mechanical Engineering, 18(24), 2499-2504. Congress on Evolutionary Computation, 1207-1213.