Professional Documents
Culture Documents
Article BLF2 GLNCSStyle Submitted To RCRA201105072011
Article BLF2 GLNCSStyle Submitted To RCRA201105072011
1 Introduction
The problem of cutting or placement is an optimization problem, whose objective is to
determine a suitable arrangement of various items in others that are wider. The main
objective is to maximize the use of the raw material, and thus to minimize the losses.
The orthogonal cutting problem pulls its interest of the fact that it is applicable on
several fields such as the cut of sheet steel, paper, fabrics, etc. … This is important for
the industries of mass production where the optimization of the material plays an im-
portant role in the cost of manufacturing.
In our work, we will propose a new guillotine placement routine, which aims the
exploitation of the raw material. The development of such routine has to consider
several parameters, such as the shape of the treated objects and the constraints im-
posed by the production system.
In our case, we considered an orthogonal cutting problem, which treats a strip of
fixed width and supposed infinite height, to generate items of rectangular shape. The
used material can be a steel sheet and the machines of production are typically shears
guillotine, which impose the cut from edge-to-edge (guillotine constraint). Items keep
their original orientations to be cut on decorated or textured plates.
1
The routine, which we propose, pulls its profile of the BLF (Bottom Left Fill) rou-
tine; the layout of items is made in levels, to insure the guillotine constraint. Two oth-
er mechanisms are setup to exploit intra-levels residues, vertically and horizontally.
After this introduction to the problem, we lists in section 2 of this article the place-
ment routines found in literature. In section 3 we expose our routine, and we show its
utility in exploitations of residues on test sets made to fit the bin. The results of our
method are explained in section 4, which will be compared with the other heuristics,
on test sets found in literature. We end our article with a conclusion, which will be
presented in section 5.
3 Our contribution
The placement policy is the crucial point in the laying out process, to maximize the
exploitation of residues. We can divide the placement heuristics into two categories:
2
a) The direct heuristics, which place directly the current item in the first suitable place
according to the applied policy, we can quote the routines Finite First Fit, Finite Nest
Fit, Bottom Left, Bottom left Fill [3] … b) The heuristics which chooses, they choose
a suitable place among various according to their laying out policies, to place the cur-
rent item, such as Finite Best Fit, Finite Worst Fit …
The first category of heuristics realizes the laying out at short time, and it depends
totally on the order of appearance of the items. These heuristics are favorable to be
combined with stochastic algorithms and metaheuristics. The second category requires
an additional time to realize the laying out and gives, generally better results than the
first category.
Our placement routine tries to place items directly to the suitable place, according
to a laying out policy which verifies the guillotine constraint. It belongs to the first
category.
Level 1
3
Available height of
BLGsub-levels
The BLFGsub-levels
Width of BLGsub-levels
After this stage, the residues are too small to be exploited, but if we have a data set of
smallest items, we can continue the exploitation using BLF3G, BLF4G, etc…
4
ing to our policy BLF2G, determines the quality of every individual. We implemented
a genetic algorithm approach with a population size of 100 and we fixed the number
of generations by 20 times the number of items. Initially we generate a random popu-
lation with a random ordering item in each individual. At each generation, our BLF2G
policy gives the quality of each individual. The genetic operators are so defined:
The crossover operator. We used the partially matched cross-over with 1-point
cross-over (PMX1). We make then a correction to make the children’s valid. We are
going to correct the child 1 with the missing genes according to their order of appear-
ance in parent 2, and replace the double genes in child 2 by the missing genes accord-
ing to their order of appearance in parent 1.
Parent 1 : 123|456 123321 Child 1 : 123654
PMX1 Correction
Parent 2 : 654|321 654456 Child 2 : 654123
The Mutation operator. It is about a permutation between two sites chosen random-
ly:
Child : 1|2365|4 143652
4 Experimental results
To estimate the performance of our heuristic we made a test sets which offer a max-
imal exploitation of the material (0 % of scraps) by applying the BLF2G policy.
name # of Item Plates dimension Optimal height
Msa17a, Msa17b, Msa17c 17 200 x 200 200
Msa35a, Msa35b, Msa35c 35 200 x 200 200
Msa75a, Msa75b, Msa75c 75 200 x 200 200
Msa150a, Msa150b, Msa150c 150 200 x 200 200
Table 1. Our made test sets
To estimate our heuristics we combined it with a genetic algorithm. The obtained
results are compared with our policy BLF2G by applying a sorting according to the
Decreasing Heights to the list of items.
Msa17 Msa35 Msa75 Msa150
a b c a b c a b c a b c
BLF2G DH 240 245 263 220 225 229 214 210 210 205 205 218
BLF2G GA 200 200 200 220 215 219 215 210 218 205 205 219
4.1 Improvement
The GA failed in front of the DH heuristic for the test sets of large-size. To remedy
that we suggest injecting the individual sorted out according to DH policy in the initial
population of the evolutionary process, which we name GAguided. The following table
shows the results.
5
Msa17 Msa35 Msa75 Msa150
a b c a B c a b c a b c
BLF 2G DH 240 245 263 220 225 229 214 210 210 205 205 218
BLF2G GA 200 200 200 220 215 219 215 210 218 205 205 219
BLF2G GAguided 200 200 200 215 210 219 207 205 210 205 205 212
C2P3 16 16 16 15 N2 51 52 53 50
C3P1 32 32 32 32 N3 52 52 52 53
C3P2 32 32 34 33 N4 83 83 83 87
Burke et al. 2004
Table 5. comparison of the GAguided+BLF2G heuristic to GA+BLF, SA+BLF and New Best-
Fit heuristics.
We notice that for the test sets of small-size the method GA+BLF and SA+BLF gave
results better than the heuristics New Best Fit. Our method gave comparable and
sometimes better results than the other methods, such thing is explained by the care of
the constraint of guillotine. For the test sets C2P3 and N2 our method reached the
6
optimal, while the other methods did not manage to reach it, although they are free of
the guillotine constraint. And that shows the power of our method in the exploitation
of the material.
For the test sets of medium size our method kept its position with regard to the oth-
er methods. But for the test sets of big size our method shows a better score with re-
gard to the methods GA+BLF, and SA+BLF. And that confirms the good adopted
laying out policy. The New Best-Fit heuristic marked a score better than our method
for the test sets of large-size. And that confirms the failure of the GA in front of the
test sets of large-size.
The following graph compares the four methods according to the percentage of fall.
GA+BLF
25
% over optimal
SA+BLF
20
New Best-Fit
15 GAguided+BLF2G
10
5
0
N1
C1P3
N2
C2P2
C3P1
C3P2
N4
C4P2
N5
N7
C5P2
N8
C6P2
N9
C7P3
N10
N12
Tests sets
5 Conclusion
Our contribution, in the problem of rectangular cut, showed its efficiency. First of all
we developed a powerful routine in exploitation of residues named BLF2G. This rou-
tine takes into account the constraint of cut from edge to edge. Secondly, we guided
the genetic algorithm with the greedy heuristics DH, by the introduction of the DH
individual in the initial population.
The use of the GAguided combined with our routine BLF2G, has allowed to reach the
optimal for Msa17 test set (a, b, and c) of small-size. But for the test sets of medium
and large-size, the GA failed to investigate the space of search to find the sequence of
items which offers the optimal solution.
The comparisons made with the other methods which do not take the guillotine
constraint into account on test sets made to insure the optimum without considering
7
this constraint of guillotine, are very encouraging. The optimal is reached by our me-
thod repeatedly, especially for C2P3 and N2, such result is not reached by the other
methods. Such thing explained the legitimacy of our heuristics of placement, in ex-
ploitation of residues.
The Guided GA combined with our heuristic BLF2G allowed us to show the quali-
ties of our method of placement for the test sets of small and mid-size. For the test sets
of big size, our method BLF2G+GAguided was out of service for the test set N13 of
spatial size. Almost the same thing occurred for the test sets MT01, … MT10, of
Burke et al. [5].
Our BLF2G routine depends totally on the GA to find the optimal order of items.
In perspective, we intend in the near future to give more intelligence to our heuristics
BLF2G, by applying new policies of placement, of Best-Fit type, to escape from de-
fects met by the GA.
References
1. B. S. Baker, E. G. Coffman, and R. L. Rivest, “Orthogonal packings in two dimensions,”
SIAM Journal of Computing, 9, 4, pp. 846-855, 1980.
2. S. Ben Messaoud, C. Chu, and M. L. Espinouse, “An approach to solve cutting stock
sheets,” IEEE International Conference on Systems, Man and Cybernetics, pp. 5109-5113,
2004.
3. J. O. Berkey, and P. Y. Wang, “Two dimensional Finite bin packing algorithms.” Journal
of the Operational Research Society, 38, pp. 423-429, 1987.
4. E. K. Burke, G. Kendall and G. Whitwell, “A New Placement Heuristic for the Orthogonal
Stock Cutting Problem,” Operations Research, vol. 52, no. 4, pp. 655–671, 2004.
5. E. K. Burke, G. Kendall, and G. Whitwell, “A Simulated Annealing Enhancement of the
Best-Fit Heuristic for the Orthogonal Stock-Cutting Problem,” INFORMS Journal on
Computing, Vol. 21, No. 3, pp. 505-516, 2009.
6. D. E. Goldberg, “Genetic algorithms in search, optimization, and machine learning,”
Reading, MA: Addison-Wesley, 1989.
7. E. Hopper, and B. Turton, “A genetic algorithm for a 2D industrial packing problem,”
Computers and Industrial Engineering, vol. 37/1-2, pp. 375-378, 1999.
8. E. Hopper, and B. Turton, “An empirical investigation of metaheuristic and heuristic algo-
rithms for a 2D packing problem.” Eur. J. Oper. Res., 128, pp. 34-57, 2001.
9. S. Jakobs, “On genetic algorithms for the packing of polygons,” European Journal of Op-
erations Research, n° 88, pp. 165-181, 1996.
10. D. Liu, and H. Teng, “An improved BL-algorithm for genetic algorithm of the orthogonal
packing of rectangles,” Eur. J. Operational Research, 112, pp. 413-420, 1999.
11. A. Lodi, S. Martello, and D. Vigo, “Heuristic and metaheuristic approches for a class of
two-dimensional bin packing problems,” INFORMS journal on computing, Vol 11, pp.
345-357, 1999.
12. Z. Michalewics, “Genetic Algorithms + Data Structures = Evolution Programs,” Third,
Revised and Extended Edition, Springer, 1996.
13. A. Ramesh Babu, and N. Ramesh Babu, “Effective nesting of rectangular parts inmultiple
rectangular sheets using genetic and heuristic algorithms,” International Journal of Pro-
duction Research, Vol. 37, n°7, pp. 1625-1643, 1999.