Cutting Stock Problem
Cutting Stock Problem
In operations research, the cutting-stock problem is the where the objective is not to minimise the waste, but to
problem of cutting standard-sized pieces of stock ma- maximise the total value of the produced items, allowing
terial, such as paper rolls or sheet metal, into pieces each order to have a different value.
of specified sizes while minimizing material wasted. It In general, the number of possible patterns grows expo-
is an optimization problem in mathematics that arises
nentially as a function of m, the number of orders. As
from applications in industry. In terms of computational the number of orders increases, it may therefore become
complexity, the problem is an NP-complete problem re- impractical to enumerate the possible cutting patterns.
ducible to the knapsack problem. The problem can be
formulated as an integer linear programming problem. An alternative approach uses delayed column-generation.
This method solves the cutting-stock problem by starting
with just a few patterns. It generates additional patterns
1 Formulation and solution ap- when they are needed. For the one-dimensional case, the
new patterns are introduced by solving an auxiliary op-
proaches timization problem called the knapsack problem, using
dual variable information from the linear program. The
The standard formulation for the cutting-stock problem knapsack problem has well-known methods to solve it,
(but not the only one) starts with a list of m orders, each such as branch and bound and dynamic programming.
requiring qj , j = 1, . . . , m pieces. We then construct The Delayed Column Generation method can be much
a list of all possible combinations of cuts (often called more efficient than the original approach, particularly as
“patterns”), associating with each pattern a positive inte- the size of the problem grows. The column generation
ger variable xi representing how long each pattern is to approach as applied to the cutting stock problem was pi-
be used. The linear integer program is then: oneered by Gilmore and Gomory in a series of papers
published in the 1960s.[1][2] Gilmore and Gomory showed
that this approach is guaranteed to converge to the (frac-
∑
n
tional) optimal solution, without needing to enumerate all
min ci xi
the possible patterns in advance.
i=1
A limitation of the original Gilmore and Gomory method
∑
n
s.t. aij xi ≥ qj , ∀j = 1, . . . , m is that it does not handle integrality, so the solution may
i=1 contain fractions, e.g. a particular pattern should be pro-
xi ≥ 0 duced 3.67 times. Rounding to the nearest integer of-
ten does not work, in the sense that it may lead to a
where aij is the number of times order j appears in pat-
sub-optimal solution and/or under- or over-production of
tern i and ci is the cost (often the waste) of pattern i . The
some of the orders (and possible infeasibility in the pres-
precise nature of the quantity constraints can lead to sub-
ence of two-sided demand constraints). This limitation
tly different mathematical characteristics. The above for-
is overcome in modern algorithms, which can solve to
mulation’s quantity constraints are minimum constraints
optimality (in the sense of finding solutions with mini-
(at least the given amount of each order must be pro-
mum waste) very large instances of the problem (gener-
duced, but possibly more). When ci = 1 the objective
ally larger than encountered in practice[3][4] ).
minimises the number of utilised master items and, if the
constraint for the quantity to be produced is replaced by The cutting-stock problem is often highly degenerate, in
equality, it is called the bin packing problem. The most that multiple solutions with the same waste are possi-
general formulation has two-sided constraints (and in this ble. This degeneracy arises because it is possible to move
case a minimum-waste solution may consume more than items around, creating new patterns, without affecting the
the minimum number of master items): waste. This gives rise to a whole collection of related
problems which are concerned with some other criterion,
such as the following:
∑
n
qj ≤ aij xi ≤ Qj , ∀j = 1, . . . , m • The minimum pattern count problem: to find
i=1
a minimum-pattern-count solution amongst the
This formulation applies not just to one-dimensional minimum-waste solutions. This is a very hard prob-
problems. Many variations are possible, including one lem, even when the waste is known.[5][6] There
1
2 4 CUTTING-STOCK PROBLEM IN PAPER, FILM AND METAL INDUSTRIES
is a conjecture that any equality-constrained one- this case the minimum number of patterns with this level
dimensional instance with n orders has at least one of waste is 10. It can also be computed that 19 different
minimum waste solution with no more than n + 1 such solutions exist, each with 10 patterns and a waste of
patterns. No upper bound to the number of patterns 0.401%, of which one such solution is shown below and
is known either, examples with n + 5 are known. in the picture:
There are 308 possible patterns for this small instance. • Winder constraints where the slitting process has
The optimal answer requires 73 master rolls and has physical or logical constraints: a very common con-
0.401% waste; it can be shown computationally that in straint is that only a certain number of slitting knives
3
5 Cutting-stock problem in the [8] Wäscher, G.; Haußner, H.; Schumann, H. An Improved
Typology of Cutting and Packing Problems. European
glass industry Journal of Operational Research Volume 183, Issue 3,
1109-1130
The guillotine problem is a problem of cutting sheets of
glass into rectangles of specified sizes, using only cuts that [9] Raffensperger, J. F. (2010). “The generalized assort-
ment and best cutting stock length problems”. Inter-
continue all the way across each sheet.
national Transactions in Operational Research 17: 35.
doi:10.1111/j.1475-3995.2009.00724.x.
10 Further reading
• Chvátal, V. (1983). Linear Programming. W.H.
Freeman. ISBN 978-0-7167-1587-0.
• Hatem Ben Amor, J.M. Valério de Carvalho, Cut-
ting Stock Problems in Column Generation, edited
by Guy Desaulniers, Jacques Desrosiers, and Mar-
ius M. Solomon, Springer, 2005, XVI, ISBN 0-387-
25485-4
11 External links
• European Special Interest Group on Cutting &
Packing
• A rudimentary brute-force algorithm for cutting
stock
• Bin Packing and Cutting Stock Solver Algorithm
5
12.2 Images
• File:CuttingStock.gif Source: https://upload.wikimedia.org/wikipedia/en/c/cb/CuttingStock.gif License: PD Contributors: ? Original
artist: ?
• File:Question_book-new.svg Source: https://upload.wikimedia.org/wikipedia/en/9/99/Question_book-new.svg License: Cc-by-sa-3.0
Contributors:
Created from scratch in Adobe Illustrator. Based on Image:Question book.png created by User:Equazcion Original artist:
Tkgd2007