Professional Documents
Culture Documents
EUROPEAN
JOURNAL
OF OPERATIONAL
RESEARCH
European Journal of Operational Research 87 (1995) 57-64
Abstract
Heuristics have been suggested as a means to sequence cutting patterns. Further heuristics are presented which
appear to improve on the objective of minimizing the maximum queue of partially cut orders. Salient features of
previous heuristics are adopted but other enhancements are also implemented. Computing experience is used as a
means of substantiating the improvements achieved and establishing the optimality of the heuristics.
I. Introduction
T h e r e has been a substantial amount of research carried out on the two dimensional trim
loss or cutting stock problem. Generally the solution to this would consist of a n u m b e r of different
patterns along with the n u m b e r of repeats of
these patterns. The piece sizes, their corresponding quantities and their placement define a cutting pattern. At this stage a further problem is
encountered, this being the sequencing of cutting
the generated patterns or pattern allocation. Different piece sizes are queued or stacked and only
removed when all patterns involving that size
have been cut. The glass industry in Australia has
avoided the problem of sequencing largely by
addressing the pattern generation stage instead
of the sequencing stage (Yuen, 1991), this being
achieved by severely restricting the number of
piece types allowed in a pattern. However this
incurs a high cost and a significant increase in
wastage.
Elsevier Science B.V.
SSDI 0 3 7 7 - 2 2 1 7 ( 9 4 ) 0 0 0 6 8 - N
where q * is the optimal queue over all the possible sequences. A complete sequence of cutting
58
Min ~ rijqi j.
i
2. Previous work
j=l
3. Heuristic 3
Mj=Cj-Nj.
The selection rule is to next sequence the pattern
with the maximum Mj measure. In the tied case
where more than one pattern has the maximum
Mj measure the rule is to select the tied pattern
with the lowest new measure. If the tie is still not
resolved, then the tie-break selects the first occurring doubly tied pattern.
59
7. Pattern rearrangement
4. Heuristic 4
5. Heuristic 5
6. Heuristic 6
g = Ex~ajk.
k
8. A small example
60
Table 3
Matching, new and common measures after pattern 1 is
sequenced
Table 1
Example data set
Piece i
1
Pattern j
NR
2
3
4
5
2
8
0
0
5
0
0
0
0
5
0
8
0
0
3
0
1
0
2
0
5
0
0
0
0
0
0
9
0
0
4
0
2
1
5
1
Xk
Pattern j
2
3
4
5
Cj
1
1
1
1
Ni
3
1
2
1
Mi
-2
0
-1
0
c u r r e n t stacks a r e 1, 3 a n d 5 with t h e i r r e s p e c t i v e
N U P T s o f 1, 1 a n d 2 (see T a b l e 2).
N o t e , as n o n e o f t h e new m e a s u r e values w e r e
z e r o a f t e r p a t t e r n 1 was s e q u e n c e d , t h e all-comm o n rule d i d n o t c o m e into effect.
8.1. Heuristic 3
8.2. Heuristic 4
A f t e r p a t t e r n 1 is s e q u e n c e d , p a t t e r n s 3 a n d 5
tie on t h e m i n i m u m Nj value, b o t h on 1. T h e
t i e - b r e a k t h e n selects p a t t e r n 3 as it is t h e first
o c c u r r i n g p a t t e r n . T h e u p d a t e d c u r r e n t stacks a r e
as for h e u r i s t i c 3.
Mj=Cj-Nj=
1-3
= -2.
L i k e w i s e t h e M r m e a s u r e is e v a l u a t e d for t h e
remaining unsequenced patterns. The maximum
M r m e a s u r e is z e r o a n d it is a tie b e t w e e n p a t t e r n s 3 a n d 5. T h e s e v a l u e s a r e given in T a b l e 3.
A s t h e r e is a tie t h e rule t h e n selects t h e t i e d
p a t t e r n with t h e m i n i m u m Nj.. But p a t t e r n s 3 a n d
5 tie a g a i n with a n e q u a l Nj o f 1. T h e t i e - b r e a k
t h e n selects t h e first o c c u r r i n g o f these, p a t t e r n 3.
At the completion of sequencing pattern 3 the
Table 2
NUPTs (number of unsequenced pattern types) of current
stacks only
Piece
Patterns sequenced
1-3
8.3. Heuristic 5
On
there
Their
0 (see
61
Table 4
Root patterns and their immediate follow patterns Mj values
Table 6
Example set sequences as picked by heuristics 3 to 6
Root
pattern j
Heuristic
Pattern
immediately
following
root j + 1
Cy+i
Nj+ I
Mj+ I M a x j ( M j + , )
3
4
5
2
1
1
0
2
1
2
-1
0
2
4
5
2
1
1
2
2
1
0
-1
0
2
3
5
1
1
1
3
1
1
-2
0
0
2
3
4
1
1
1
3
1
2
-2
0
-1
3
4
5
6
Pattern
rearrangement
Sequence
Maximum
queue
Stacks
number
No
Yes
No
Yes
No
Yes
No
Yes
1-3-5-2-4
1-5-3-2-4
1-3-5-2-4
1-5-3-4-2
1-3-2-5-4
1-5-3-2-4
1-3-5-2-4
1-5-3-2-4
4
4
4
4
5
4
4
4
34
33
34
38
35
33
34
38
Table 5
Pj values for sample data patterns
1 for
6. It
pronon-
9. Results
The results for heuristics 1 and 2 from Yuen
(1991) are included for comparison. The group A
sets have an approximate average piece's area to
stock plate area of 1:4 while the group B sets
have a ratio of 1:25. There are 14 group A sets
and 28 group B data sets. Their parameters are
summarised in Tables 7 and 8.
Pattern j
Pieces
Pj
3, 5
6
1, 2, 5, 6
7
1, 3
5
4, 5, 8
5
3, 7
4
62
Table 7
Summary of parameters for G r o u p A data sets
Average
Minimum
Maximum
SQ
LB
UB
PTP
NPT
NPR
66.29
31.1
125.9
3.43
2
5
32.5
18
40
2.22
1.12
3.11
31.14
14
49
391.64
144
829
SQ
Table 10
Group A - Optimality of the heuristics expressed as the
n u m b e r of data sets in defined categories
Heuristic
Case
Opt
Opt + 1
Opt + 2
7
4
0
6
5
0
10
1
0
4
6
1
10
1
0
6
5
0
Table 11
Group B - Optimality of the heuristics expressed as the
n u m b e r of data sets in defined categories
Heuristic
Table 8
Summary of parameters for G r o u p B data sets
Average
Minimum
Maximum
SQ
LB
UB
PTP
NPT
NPR
85.72
48.0
156.9
8.25
5
12
31.79
15
50
3.99
1.79
8.15
24.79
8
46
60.93
10
208
Table 9
N u m b e r of best or equal best m a x i m u m queue sets from
amongst the results of the heuristics listed u n d e r each heuristic
Data
No. of sets
Heuristic
group
tested
A
B
14
28
8
9
7
9
13
22
4
9
13
20
8
14
Case
Opt
Opt+l
Opt + 2
Opt + 3 and above
6
7
6
2
5
8
6
2
15
6
0
0
6
7
3
5
12
9
0
0
7
12
2
0
Table 12
Averaged best maximum queues
Average best m a x i m u m queue for heuristic
Group
A
B
6.79
12.96
6.86
12.96
6.36
11.86
7.21
13.36
6.36
11.93
7.21
12.25
1 below
equal to
1 above
3
5
1
2
12
10
1
2
Table 14
Group B - results of pattern rearrangement compared to the
non-rearranged case expressed as the number of data sets
Number of data sets
Heuristic
2below
1 below equal to
1 above 2 above
3
5
0
2
2
3
2
3
23
20
1
0
63
Table 15
Averaged best stacks number
Average best stacks number for heuristic
Group
A
B
1513
467
1494
463
1410
435
1628
507
1405
436
1575
464
9.2. Stacks n u m b e r
T h e averaged stacks n u m b e r indicate heuristics 3 a n d 5 had very similar results a n d were the
best or lowest in both groups A a n d B (see T a b l e
15).
9.3. C P U time
T h e results of p a t t e r n r e a r r a n g e m e n t for
heuristics 3 a n d 5 are given for d a t a of groups A
a n d I3 in T a b l e s 13 a n d 14 respectively. T h e y
show that in a small p r o p o r t i o n of d a t a sets
tested ( 7 - 1 8 % ) the p a t t e r n r e a r r a n g e m e n t chosen did p r o d u c e slightly b e t t e r m a x i m u m q u e u e s
c o m p a r e d to the n o n - r e a r r a n g e d case.
10000
Key:
Numeric charater is the heuristic n u m b e r
A - small n u m b e r of pieces per plate
B - large n u m b e r of pieces per plate
6A
1000
q~
tO0
Q.
10
10
20
30
40
50
64
tions. As an extreme
exhaustive search done
tern types required in
days of CPU time as
heuristic 3.
I0. Conclusions
Heuristics 3 and 5 have been shown to meet
the objective of minimizing the maximum queue
better than those currently available. Refinements to sequencing heuristics have been suggested and implemented including pattern rearrangement based on the patterns' P/s and the
all-common rule. Results of the implicit exhaustive search indicate that heuristics 3 and 5 are
near optimal for sets with up to 30 pattern types.
Heuristic 5 however has the drawback of requiring substantial CPU time, notably for sets with a
large number of pattern types.
Acknowledgements
The author thanks Ken Richardson for his
help and counselling on improving the write up of
References
Dyson, R.G., and Gregory, A.S. (1974), "The cutting stock
problem in the fiat glass industry", Operations Research
Quarterly 25, 41-54.
Farley, A.A. (1983), "A note on modifying a two-dimensional
trim-loss algorithm to deal with cutting restrictions", European Journal of Operational Research 14, 393-395.
Gilmore, P.C., and Gomory, R.E. (1961), "A linear programming approach to the cutting-stock problem", Operations
Research 9, 849-859.
Gilmore, P.C., and Gomory, R.E. (1963), "A linear programming approach to the cutting-stock problem - Part II",
Operations Research 11,863-888.
Gilmore, P.C., and Gomory, R.E. (1965), "Multistage cutting
stock problems of two or more dimensions", Operations
Research 13, 94-120.
Gilmore, P.C., and Gomory, R.E. (1966), "The theory and
computation of knapsack functions", Operations Research
14, 1045-1074.
Madsen, O.B.G. (1988), "An application of travelling-salesman routines to solve pattern-allocation problems in the
glass industry", Journal of the Operational Research Society
39, 249-256.
Yuen, B.J. (1991), "Heuristics for sequencing cutting
patterns", European Journal of OperationalResearch 55/2,
183-190.