A squeaky wheel optimisation methodology for two-dimensional strip packing
Introduction
Optimisation problems involving cutting stock arise in many industries such as metal, wood, glass, paper, and textiles. These problems generally involve cutting stock sheets of material into smaller shapes, and a typical objective is to minimise the waste. These problems form part of a wider set of cutting and packing problems (see the typologies presented in [1], [2]). This paper addresses the two-dimensional orthogonal strip packing problem, where a set of rectangular shapes must be arranged onto a larger rectangle of fixed width and infinite height, while minimising the height of the highest rectangle in the solution, corresponding to a ‘guillotine cut’ across the width of the sheet. The rectangles must not intersect each other, or exceed the edges of the large rectangle, and the resulting arrangement corresponds to a cutting pattern which will obtain the necessary set of shapes from the stock sheet.
The exact problem that we address in this paper can be defined, by reference to the typology of Wäscher et al. [2], as the two-dimensional orthogonal open dimension problem. We do not use piece rotations, and guillotine cuts are not required, so the problem can also be referred to as the ‘OF’ sub-type (oriented, free cutting) [3], [4].
‘Best-fit’ is a constructive heuristic for the two-dimensional orthogonal stock cutting problem. A detailed description of the algorithm is given in [5], [6], [7], but a brief summary is given here as some of the concepts are used in our squeaky wheel optimisation approach. Best-fit represents the stock sheet as a set of dynamic slots where pieces can be placed. At the start of the packing, there is only one slot extending across the width of the sheet. Given a list of pieces to pack, best-fit iteratively packs a piece into the lowest available slot, and the slot structure is updated after each iteration. The piece that is chosen for the slot is the piece with the largest width, from all of those which can fit. If the lowest available slot is too narrow for any piece, the slot is raised to the level of its lowest neighbour, and they are merged, producing a wider slot. The packing continues in this manner until there are no pieces left to pack.
Burke et al. [6] presented a simulated annealing enhancement to the best-fit heuristic (BF+SA). This was motivated by the observation that the choice of pieces to pack was increasingly limited towards the end of the packing. This often produced ‘towers’ protruding from the top of the solution, reducing the solution quality. This was initially addressed with a post-processing stage which turned these tall pieces on their side, but there was rarely a good place to put them at that late stage. BF+SA stops packing when m rectangles are left (a parameter which one must tune depending on the size of the instance), and then the rest of the pieces are iteratively packed using a simple bottom-left-fill heuristic, with a simulated annealing algorithm to optimise the piece order.
The current state of the art methodologies are the Reactive GRASP [8] and SVC(SubKP) [9]. The GRASP algorithm involves a constructive phase and a subsequent iterative improvement phase. The method is a complex algorithm with many parameters, which are chosen by hand, and obtains some of the best results in the literature. The SVC (SubKP) uses a constructive heuristic which fills the lowest slot by solving a one-dimensional knapsack problem with a pseudo-profit for each item. The packing is split into horizontal slices determined by the positions of the pieces, and the profits of the items are based on their size, the size of the slices containing them, and a random scaling variable. In each iteration the profits are updated meaning that the pieces will be packed differently in the next iteration. The algorithm is stochastic. In a given run, probabilities are randomly chosen for changing the order of the pieces in a slot, moving all the pieces to the left or right of the slot, and changing the scaling variable for the pseudo-profits. These probabilities are also modified during the run.
The contribution of this paper is to present a very simple, yet effective, deterministic packing methodology based on ‘squeaky wheel optimisation’ [10], [11]. Squeaky wheel optimisation is a metaheuristic search technique which attempts to identify the most difficult elements of a problem by iteratively constructing a solution, each time analysing the solution to assess which elements are causing problems. In the next iteration, those elements that have been judged to be most difficult are dealt with earlier in the solution construction. BF+SA, GRASP, and SVC (SubKP) are stochastic algorithms, and as such they may require multiple runs to obtain their best solution. In contrast, the squeaky wheel optimisation methodology is deterministic, and therefore requires only one run. While it was not our initial aim, the squeaky wheel optimisation approach is competitive (and sometimes better than) these much more complex algorithms.
Section snippets
Related work
This section provides an overview of the relevant literature on cutting and packing problems. More extensive surveys of the field can be found in [1], [2], [12], [13]. Exact methods are not covered here, but recent work on this type of methodology can be found in [14], [15], [16], [17].
Methodology
This section describes our iterative squeaky wheel optimisation packing methodology (SWP), also shown in Algorithm 1. Section 3.1 provides an example of the first six iterations of a run, to further clarify the methodology. Algorithm 1 Pseudo-code of the squeaky wheel optimisation packing methodology Initialise each piece's penalty value to zero while elapsed limit do while exists pieces not packed do Find lowest Slot ‘s’ if s is too narrow for any piece then Raise s to level of lowest neighbour and
Results
To present the results of our squeaky wheel optimisation packing methodology (SWP), we use the wide variety of problem instances that are publicly available, allowing us to compare with the simulated annealing enhancement to best-fit (BF+SA), the GRASP methodology, and SVC(SubKP). In this paper, we use two classes of benchmark instances from the literature. Class 1 contains instances which were created from known optimal solutions, and class 2 contains instances which were created by randomly
Conclusions
This paper has presented a squeaky wheel optimisation packing methodology (SWP), which obtains superior results to a previously published simulated annealing methodology (BF+SA) [6], and it is competitive with the state of the art Reactive GRASP [8] and SVC(SubKP) [9]. SWP is shown to be capable of generating the best results in the literature on some benchmark instances.
SWP is very easy to implement, particularly when compared to other modern strip packing methodologies. In addition to its
Acknowledgements
This work was supported by ESPRC grant reference EP/C523385/1. The genetic programming was implemented using the ECJ package, a Java based evolutionary computation research system, which can be found at http://www.cs.gmu.edu/∼eclab/projects/ecj/.
References (34)
A typology of cutting and packing problems
European Journal of Operational Research
(1990)- et al.
An improved typology of cutting and packing problems
European Journal of Operational Research
(2007) A genetic algorithm for the two-dimensional strip packing problem with rectangular pieces
European Journal of Operational Research
(2006)- et al.
Reactive GRASP for the strip-packing problem
Computers and Operations Research
(2008) - et al.
Packing problems
European Journal of Operational Research
(1992) - et al.
Two-dimensional packing problems: a survey
European Journal of Operational Research
(2002) - et al.
A new constraint programming approach for the orthogonal packing problem
Computers and Operations Research
(2008) - et al.
Exact algorithms for the two-dimensional strip packing problem with and without rotations
European Journal of Operational Research
(2009) - et al.
An Empirical investigation of meta-heuristic and heuristic algorithms for a 2D packing problem
European Journal of Operational Research
(2001) - et al.
A new heuristic recursive algorithm for the strip rectangular packing problem
Computers and Operations Research
(2006)
A two-dimensional strip cutting problem with sequencing constraint
European Journal of Operational Research
On genetic algorithms for the packing of polygons
European Journal of Operational Research
Developing a simulated annealing algorithm for the cutting stock problem
Computers and Industrial Engineering
An application of simulated annealing to the cutting stock problem
European Journal of Operational Research
Heuristic and metaheuristic approaches for a class of two-dimensional bin packing problems
INFORMS Journal on Computing
A new placement heuristic for the orthogonal stock-cutting problem
Operations Research
A simulated annealing enhancement of the best-fit heuristic for the orthogonal stock cutting problem
INFORMS Journal on Computing
Cited by (30)
Generalized multiple strip packing problem: Formulations, applications, and solution algorithms
2023, Computers and Industrial EngineeringNHACR: A novel heuristic approach for 2D rectangle packing area minimization problem with central rectangle
2021, Engineering Applications of Artificial IntelligenceExact solution techniques for two-dimensional cutting and packing
2021, European Journal of Operational ResearchAn efficient deterministic heuristic algorithm for the rectangular packing problem
2019, Computers and Industrial EngineeringHeuristic algorithm for RPAMP with central rectangle and its application to solve oil–gas treatment facility layout problem
2018, Engineering Applications of Artificial IntelligenceCitation Excerpt :In order to find a satisfactory solution for RPAMP, Wei et al. (2009) introduced the least wasted first (LWF) strategy. Edmund et al. (2001) proposed a packing method based on squeaky wheel optimization. In last several years, many approaches have been presented to solve RPAMP.
Waste minimization in irregular stock cutting
2014, Journal of Manufacturing SystemsCitation Excerpt :For instance, Gomes and Oliveira [10] presented a search technique based on a 2-exchange neighborhood generation mechanism, simulated annealing [11], hill climbing [9], nesting with defects [5], etc. Quite a few studies were presented to address the problem of nesting irregular shapes [7,13,14]. Most of this research implemented the idea of No Fit Polygon (NFP) to detect potential overlap between polygons [15].