A squeaky wheel optimisation methodology for two-dimensional strip packing

https://doi.org/10.1016/j.cor.2010.10.005Get rights and content

Abstract

The two-dimensional strip packing problem occurs in industries such as metal, wood, glass, paper, and textiles. The problem involves cutting shapes from a larger stock sheet or roll of material, while minimising waste. This is a well studied problem for which many heuristic methodologies are available in the literature, ranging from the basic ‘one-pass’ best-fit heuristic, to the state of the art Reactive GRASP and SVC(SubKP) iterative procedures. The contribution of this paper is to present a much simpler but equally competitive iterative packing methodology based on squeaky wheel optimisation. After each complete packing (iteration), a penalty is applied to pieces that directly decreased the solution quality. These penalties inform the packing in the next iteration, so that the offending pieces are packed earlier. This methodology is deterministic and very easy to implement, and can obtain some best results on benchmark instances from the literature.

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 time<time 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)

  • F. Rinaldi et al.

    A two-dimensional strip cutting problem with sequencing constraint

    European Journal of Operational Research

    (2007)
  • S. Jakobs

    On genetic algorithms for the packing of polygons

    European Journal of Operational Research

    (1996)
  • K.K. Lai et al.

    Developing a simulated annealing algorithm for the cutting stock problem

    Computers and Industrial Engineering

    (1997)
  • L. Faina

    An application of simulated annealing to the cutting stock problem

    European Journal of Operational Research

    (1999)
  • A. Lodi et al.

    Heuristic and metaheuristic approaches for a class of two-dimensional bin packing problems

    INFORMS Journal on Computing

    (1999)
  • E. Burke et al.

    A new placement heuristic for the orthogonal stock-cutting problem

    Operations Research

    (2004)
  • E. Burke et al.

    A simulated annealing enhancement of the best-fit heuristic for the orthogonal stock cutting problem

    INFORMS Journal on Computing

    (2009)
  • Cited by (30)

    • Exact solution techniques for two-dimensional cutting and packing

      2021, European Journal of Operational Research
    • Heuristic algorithm for RPAMP with central rectangle and its application to solve oil–gas treatment facility layout problem

      2018, Engineering Applications of Artificial Intelligence
      Citation 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 Systems
      Citation 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].

    View all citing articles on Scopus
    View full text