PLoS ONE
Home Exact solutions for the 2d-strip packing problem using the positions-and-covering methodology
Exact solutions for the 2d-strip packing problem using the positions-and-covering methodology
Exact solutions for the 2d-strip packing problem using the positions-and-covering methodology

Competing Interests: The authors have declared that no competing interests exist.

Article Type: research-article Article History
Abstract

We use the Positions and Covering methodology to obtain exact solutions for the two-dimensional, non-guillotine restricted, strip packing problem. In this classical NP-hard problem, a given set of rectangular items has to be packed into a strip of fixed weight and infinite height. The objective consists in determining the minimum height of the strip. The Positions and Covering methodology is based on a two-stage procedure. First, it is generated, in a pseudo-polynomial way, a set of valid positions in which an item can be packed into the strip. Then, by using a set-covering formulation, the best configuration of items into the strip is selected. Based on the literature benchmark, experimental results validate the quality of the solutions and method’s effectiveness for small and medium-size instances. To the best of our knowledge, this is the first approach that generates optimal solutions for some literature instances for which the optimal solution was unknown before this study.

Cid-Garcia,Rios-Solis,and Mirjalili: Exact solutions for the 2d-strip packing problem using the positions-and-covering methodology

Introduction

The Two-Dimensional Strip Packing Problem (2SP) is composed of a given set of n rectangular items, each one with specific width wi and height hi, for i = 1, …, n, and a strip of width W and infinite height. The aim is to place all the items into the strip orthogonally; without overlapping, minimizing the overall strip’s height [1, 2]. We assume that all input data wi, hi, and W are positive integers and that wiW for all items i = 1, …, n. We consider the case when the items have a fixed orientation, and the guillotine cut constraint is unnecessary.

The 2SP is NP-hard in the strong sense since it can be reduced to the one-dimensional bin-packing problem [24], and according to the typology proposed by [5], the 2SP belongs to the class of cutting and packing problems: two-dimensional, open dimension problem (2D-ODP). Fig 1 shows the optimal configuration for an instance proposed by [6] with 50 items and a strip of width W = 40. The optimal height is H = 15. In this case, there is no wasting in the strip; that is, we have a perfect packing.

Example for 2SP.
Fig 1

Example for 2SP.

The optimal configuration for an instance proposed by [6] with 50 items, a strip of width W = 40, and an optimal height H = 15.

Many real-world applications of this problem can be found in the paper, textile, glass, steel, and wood industries, where rectangular items are cut from larger rectangular sheets of material that can be considered with infinite height [7, 8]. The 2SP also appears in scheduling problems where the tasks require a contiguous subset of identical resources [9].

In this study, we propose an adaptation of the Positions and Covering (P&C) methodology, used by [10] to obtain optimal solutions for the two-dimensional bin packing problem. Considering the similarity of the 2SP with other packing problems, some potential applications for the P&C methodology can be found in agricultural fields to delineate rectangular and homogeneous management zones [1113], in scheduling problems applied to environmental, automotive, ferry, and manufacturing industries to ensure maximum use of materials [1416], in healthcare applied to operating rooms schedules [1719], in cloud computing where a set of jobs must be processed on virtual machines of physical servers with the aim of improves the energy efficiency [2022], and in optimal deliveries in e-commerce where the objective is optimizing the total number of containers to integrate into several delivery trips [23].

The P&C methodology adapted to the 2SP is as follows. Given an instance of the 2SP, the first step of the P&C is to compute the strip’s height with the assumption that a perfect packing exists. Then we generated a set of valid positions to determine all possible places to locate it on the strip for each item. This pre-processing is the key-point of the P&C methodology. Finally, using the H computed, the P&C solves a set-covering model for the decision version of the 2SP (D-2SP(H)): is there a non-overlapping packing of the n items into the strip with H height? If there is a feasible solution, then H is the optimal value for the 2SP. Otherwise, P&C iterates again, increasing the height H of the strip by one. The P&C is an exact methodology that obtains optimal solutions for the 2SP, that is, every time our methodology is executed, the same solution and time are going to be obtained.

The main differences of our methodology with respect to the mentioned exact approaches is that the P&C groups the items with identical size and computes their demand. Indeed, all the other approaches consider similar items as individual. This grouping makes a better covering model that can be solved faster. Moreover, this new set-covering formulation is strengthened with two families of valid inequalities. This manner, the P&C methodology is power enough to obtain optimal solutions for the 2SP problem without any more complex methodology as column generation.

Because of the combinatorial complexity of the 2SP, the attempts to solve it are roughly divided into exact and approximation methods. Some reviews of the 2SP are presented in [8, 24, 25], and some surveys for packing and cutting problems are showed in [2629].

In terms of other exact methods, there have been recent combinatorial branch-and-bound (B&B) algorithms that build solutions by packing items one at a time in the strip like the ones of [1, 2, 3033]. In [1], the authors propose a B&B algorithm to solve the 2D rectangular packing problems, a particular case of the 2SP. This B&B algorithm is enhanced with a dynamic programming mechanism for determining if gaps can be filled.

A new relaxation to produce good lower bounds and obtain practical heuristic algorithms is introduced in [2]. These bounds were also used in a B&B algorithm. The authors of [33] propose two algorithms for the 2SP with and without 90-degrees rotations. They are based on a branching operation that uses the staircase placement. Two exact algorithms and an approximate algorithm have been proposed by [34] to solve a variant of the strip cutting problem. These algorithms are based on B&B and dynamic programming procedures.

Concerning the heuristics and metaheuristics methods to solve the 2SP, in [3], the authors introduce the bottom-left (BL) heuristic. Some approaches with variants or implementations of the BL strategy to solve packing problems can be found in [6, 3539]. Other works that implement metaheuristics methods as tabu-search, simulated annealing, and genetic algorithms are presented in [4043].

In [44], the authors propose two metaheuristics that involve the application of the simulated annealing with a heuristic construction algorithm. In many of these studies, the authors use a version of the BL heuristic to arrange the items. In [45] the authors show some models strengthen with well-known valid inequalities and based on the work of [43]. Some improvements for the best-fist heuristic, where it is presented a simple local random local search, are showed in the work of [46]. The use of data mining techniques also has been implemented to assess the quality of heuristics solutions [47]. Other approaches that consider hierarchical or multi-stage methodologies can be found in the works of [4850]. A survey of heuristics for the two-dimensional rectangular strip packing problem is presented in [51], and upper bounds for heuristic approaches in [52].

The main strength of the P&C methodology for the 2SP is that it obtains optimal solutions for many instances of the classical benchmarks that none of the previous (and more elaborated) methods could find. For example, the P&C solved to optimality several instances proposed by [53] for which the optimal solutions were not known before of this study. To the best of our knowledge, the P&C methodology is one of the best methods to find optimal solutions for the 2SP for small and medium-size instances.

The rest of this article is organized as follows. In Section Materials and methods, we describe the P&C methodology for the 2SP. In Section Results, we present the experimental results for the P&C methodology by using a set of small and medium-size instances that have been broadly used in the literature to test other algorithms. Finally, in Section Conclusions, we make some concluding remarks.

Materials and methods

In this section, we present the materials and methods used to solve the 2SP. First, we show the adaptation of the P&C proposed by [10] to solve the 2d-bin packing problem. Then, we describe each part of the methodology for the 2SP.

The P&C methodology for the 2SP

The adaptation of the P&C methodology for the 2SP is schematized in Fig 2. Given an instance of the 2SP, the first step is to compute the height H of the strip, assuming that a perfect packing exists, that is, the total area of the items divided by the width of the strip, as shown in Eq (1). Notice that if a better lower bound of the 2SP instance is known, then this first value of the height could be updated, and some iterations of the P&C may be avoided.

Adaptation of the P&C methodology.
Fig 2

Adaptation of the P&C methodology.

The two-step methodology to solve the 2SP.

Considering this H-value, the P&C generates the set of valid positions that locate the items inside of the strip. This step is the key-point of our methodology, and it will be later explained in detail. Then, an integer linear programming set-covering formulation (ILP) for the decision version of the 2SP, named as D-2SP(H), is solved to optimality. If the covering model is feasible, then H is the optimal height of the strip. Else, the H-value is increased by one or in a dichotomous way, the new set of valid positions for the items is generated, and the covering model is solved again. These last three steps represent the main difference with the P&C for the 2D-BPP (see [10]). The procedure ends when P&C finds a feasible solution of the D-2SP(H), and the current height becomes the optimal one.

Positions stage for the 2SP

The objective of the Positions stage is to generate the set of valid positions where an item can be placed into the strip, that is, from the infinite set of positions that an item can take in the bin, the P&C determines only a finite set that guarantees the optimality of the solution. The inputs of the Positions stage are i) the number n of items with their specifics width wi, height hi, and demand di, ii) the width W of the strip, and iii) the current height H of the strip (first computed with Eq 1 or a known lower bound, or an updated value).

With the current height H of the strip, the first step in the Positions stage is to delineate a Cartesian grid inside the strip, that is, a regular tessellation of the 2-dimensional Euclidean space by congruent unit squares, where each square has a particular identification. We arbitrarily choose the enumeration that starts at the top left corner square and ends at the bottom right square (see Fig 3a). Thus, for each item, a valid position is created if its top left corner coincides with a tiling, and its width and height dimensions do not exceed the size of the strip. Each valid position is labeled to differentiate one from each other. Fig 3b shows the valid position for an item with dimensions 2 × 3 with its top-left corner at tile 1. Notice that the position which starts in the tile 1 × W would not be a valid position for this item. Let JH be the set of valid positions for all the items for a fixed height H of the strip. To generate JH, we start populating its valid positions width-wise and then length-wise for each item. The size of JH is pseudo-polynomial, but this pre-processing allows the P&C method to decompose the problem and to reach optimal solutions.

First step of the P&C methodology.
Fig 3

First step of the P&C methodology.

a) Grid inside of the strip and b) Valid position for an item with dimensions 2 × 3 with its top-left corner at tile 1.

Fig 4 shows the set of valid positions for an item of 2 × 3 and an item of 5 × 3 in a strip with dimensions 6 × 4. In this case, JH has 14 valid positions. The set from 1 to 10 corresponds for the first item while the set from 11 to 14 to the second item. Each valid position is unique; therefore, it has a specific label and an unrepeatable tiles set. For example, position 1 (corresponding to the 2 × 3 item) contains tiles 1, 2, 3, 5, 6, and 7.

Generation of positions.
Fig 4

Generation of positions.

Set JH of valid positions for items of 2 × 3 and 5 × 3 in a strip with H = 6 and W = 4.

The resulting set of valid positions may be view as a correspondence matrix CH = {cjp}, where rows represent the set of valid positions jJH and columns are the tiles in the strip. Matrix CH is composed of 1’s and 0’s, where cjp = 1 if valid position j covers tile p, cjp = 0 otherwise. The correspondence matrix of Fig 4 (set JH for an item of 2 × 3 and another one of 5 × 3 in a strip with H = 6 and W = 4) appears in Table 1. Each row in the correspondence matrix represents the respective valid position presented in Fig 4. For example, row 1 has ones in tiles 1, 2, 3, 5, 6, and 7, which correspond with position 1 of the figure.

Table 1
Correspondence matrix CH for the set JH of two, one of 2 × 3 and the other of 5 × 3, in a strip with H = 6 and W = 4, corresponding to Fig 4.
Tiles on the strip (p)
123456789101112131424
Valid positions (j)1111011100000000
2011101110000000
3000011101110000
4000001110111000
5000000001110110
6000000000111010
7000000000000110
8000000000000010
9000000000000000
10000000000000001
11111011101110110
12011101110111010
13000011101110110
14000001110111011

Notice that the set of valid positions determined by the unitary grid is sufficient to reach the optimal solution of the 2SP since all input data are integer.

Covering stage

In this stage, the P&C executes a set-covering formulation based on an integer linear programming model. This formulation solves the decision problem for the strip packing problem D-2SP(H), that is, is there a solution for the 2SP when the height is set to H? If the answer is positive, then the procedure ends (since we are minimizing the height), else the height of the strip is increased by one. A new iteration begins by populating the new set of valid positions for each item, and the decision model is solved again.

Formalizing, let I be the set of items, recall that JH is the set of valid positions for a fixed height of the strip, V(i) be the subset of valid positions for each item iI where V(i)∈J, and P be the tiles set inside of the strip. Furthermore, we know other parameters such as the demand di of item iI and the maximum of times that this item can be packed inside the strip: UBi.

The decision variables for the ILP model are:

This manner, the set-covering formulation to solve the decision problem D-2SP(H) is as follows.

s.t.

where (2) establishes that any feasible solution for the 2SP is desirable. Constraints (3) avoid the overlapping assigning at most one item at each tile of the strip. Constraints (4) guarantee that all the items will be packed into the strip. Constraints (5) act as valid inequalities (valid by definition) since we bound the number of occurrences of each item in the strip. Constraint (6) determines that the capacity of the strip must not be exceeded; that is, it is impossible to pack more items than allowed. This constraint is also a valid inequality that strengthens the constraint space. Finally, in (7), the nature of the variables is declared.

Besides valid inequalities (5) and (6), other valid inequalities could enhance the ILP, but these proved in preliminary results to be the more efficient for the 2SP (and also for the 2BPP, see [10]).

Results

To test the P&C methodology, we use two sets of instances: the original benchmark for the strip packing and the benchmark for other two-dimensional cutting problems. The description for each group of instances is given in the following sections. Then, we present the experimental results on these sets.

Original instances for the strip packing

This instance set refers to the instances generated for the two-dimensional strip packing problem. This set contains:

    2 perfect packing instances proposed by [6], known as jack01-jack02.

    4 instances proposed by [5355], known as dagli01-dagli04.

    1 instance proposed by [56], known as kendall.

    25 instances proposed by [34], known as hifi01-hifi25.

    9 of 21 instances proposed by [36], known as hopper.

The optimum for instances dagli01, dagli03 and, dagli04 was not known until now, according to the Working Group on Cutting and Packing within the Association of the European Operational Research Societies (ESICUP) (https://www.euro-online.org/websites/esicup/data-sets/#1535972088188-55fb7640-4228).

For some instances like the hopper ones, we are no testing all of the instances of the benchmark since they are too large for the P&C methodology. Indeed, other instances benchmark exist in the literature but they are also too large for the P&C so they are not mentioned in this section.

Instances for other two-dimensional cutting problems

This set of instances was originally introduced for other two-dimensional cutting problems and was transformed into strip packing instances considering the item size and the bin width. We found the following instances:

    100 of 300 instances proposed by [57]. These instances are divided into 10 classes (6 and 4, respectively), where each class is composed of 5 groups of 10 instances. Each group has a different number of items to be packed into the bin with n = {20, 40, 60, 80, 100}. The corresponding best-known solution and lower bound for each instance are available at http://www.or.deis.unibo.it/research_pages/ORinstances/2BP.html. This set of instances is known as the BW instances.

    3 instances proposed by [58], known as cgcut.

    12 instances proposed by [59], known as ngcut. The cgcut and ngcut instances are test problems for 2D cutting problems, which were transformed to 2D bin packing instances according to [60]. These instances are available from the ORLIB library.

    10 instances generated by [61], known as beng. They are vailable at PackLib2 ([62]), http://www.ibr.cs.tu-bs.de/alg/packlib/index.shtml.

    6 instances proposed by [33], known as kenmochi.

As in the original instances for the strip packing problem, there are other set of instances that we do not include in this study since they are too large for the P&C.

Computational results

To solve the set-covering formulation, we use the integer linear programming solver (B&B) of CPLEX 12.7 using its default options, except for the optimality parameter set to 0%. All the instances were executed on a computer equipped with a processor 8-Core Intel Xeon E5-2609 @1.70 GHz, and 64 GB of RAM. The time limit for the B&B execution was fixed to 8 hours (28800 seconds).

For all of the instances, we start the P&C methodology using the height of the strip H given by the best lower bound obtained in the literature. When this bound is not available, we compute the H parameter assuming that a perfect packing exists (Eq (1)). We report the execution time for the last iteration of the P&C.

We compare the P&C with several methodologies that were implemented and tested on computers with different characteristics. Thus, our comparison is informative more than comparative. The main purpose of this study is to obtain optimal solutions for instances of the 2SP. Furthermore, statistical tests are not required to determine the solution quality because P&C is an exact method without statistical components on its procedure.

Original instances for the strip packing

Tables 25 show the experimental results for the original instances of the 2SP. The structure of these tables is as follows: the first three columns describe the instance, that is, the name (“Inst”), the width size W of the strip, and the number n of items. The fourth column indicates the optimum (“Opt”) or the best lower bound known (“LB”) in the literature. Columns 5–7 present the values for the P&C methodology: the generation time in seconds of the correspondence matrix (“GT”), the execution time in seconds required by the B&B solver (“ET”), and the optimum value z*. In the last columns, we present the solutions obtained by other approaches in the literature.

Table 2
Results for jack and kendall instances.
InstSizeOptP&CJakobsLiu and TengMumford–ValenzuelaBortfeldt
WnGTETz*
jack01 4025150.5922.401517161616
jack02 4050150.7114.701517161615
kendall 801314065.701.59140
Number of optimal solutions3/30/30/30/31/3
Table 3
Results for dagli instances.
InstSizeLBP&CRatanapan and DagliDagli and PoshyanondaBortfeldt
WnGTETz*% alternatives
dagli01 6031454.21843.864610091.8895.67
dagli02 6021401.874.414010092.5097.56
dagli03 30371128.0278.7811210094.4196.0398.58
dagli04 203716110.4317.8920910020897.1597.62
Number of optimal solutions3/40/40/40/4

A “-” mark means that the authors did not solve this particular instance.

Table 4
Results for hifi instances.
InstSizeLBP&CHifiSbbSdaSbp
WnGTETz*zETzETzETzET
hifi01 510130.010.001313<0.10130.00130.00130.00
hifi02 411400.010.0840400.30400.00400.00400.00
hifi03 615140.010.0614140.30147.1014403.83190.00
hifi04 611190.010.0220200.60202.4520160.3522OM
hifi05 208200.040.0020200.50200.00200.00200.00
hifi06 307380.580.0138384.90380.00380.00380.00
hifi07 158140.010.0214140.30140.01140.06141.01
hifi08 1512170.020.0517170.50171.571710.45170.00
hifi09 2712681.24.1468687.60680.14680.01680.00
hifi10 508803.7220.8480800.30800.18800.01800.00
hifi11 2710481.053.2148488.60484.89480.42480.00
hifi12 8118343.360.0334342.80383600340.01383600
hifi13 707504.7811.4750506.10500.38500.15500.00
hifi14 100106012.3177.6369694.106915.5769196.65690.00
hifi15 4514341.7013.2234346.00342688.1334445.94340.00
hifi16 614320.020.1133331.4033606.1233216.8335OM
hifi17 429341.125.7034397.10342.07340.00340.00
hifi18 70108917.382777.1210010110.701009.4310097.0310088.25
hifi19 512250.010.0825260.30260.012616.3627OM
hifi20 1510190.050.2920211.80201.73201.32200.00
hifi21 30111407.22141.441401453.9014024.3114063.291400.00
hifi22 9022346.7035.57343411.80423600391597.91433600
hifi23 1512340.080.2134351.503437.973424.07390.00
hifi24 501010318.96995.9210911418.9010919.3410971.051090.00
hifi25 2515350.8214.04353611.5036360036657.15433600
Number of optimal solutions25/2517/2521/2522/2515/25
Table 5
Experimental results for hopper instances.
ClassInstSizeOptP&CIoriBest-fitBurkeBortfeldtGRASP
WnGTETz*BF+TSBF+SABF+GAAvgBestAvgBest
C1012016200.210.002020212020202020
022017200.2012.672021222120212020
032016200.192.422020242020202020
Average percentage deviation from optimum01.5910.171.5901.591.591.5900
C2044025150.7326.051515161616161515
054025150.6964.591516161616161515
064025150.6616.391515161616161515
Average percentage deviation from optimum02.086.256.256.256.253.332.0800
C3076028307.582134.923031323131313030
086029308.164334.203031343231323131
096028308.020.053030333131313030
Average percentage deviation from optimum02.159.044.233.234.233.163.161.081.08
Number of optimal solutions9/95/90/92/93/92/98/98/9

The results for jack and kendall instances from [6] and [56] are showed in Table 2. The last four columns are the solutions obtained by other approaches such as the genetic algorithm combined with a deterministic algorithm proposed by Jakobs in [6], a bottom-left algorithm for the genetic algorithm proposed by Liu and Teng in [39], the genetic algorithm proposed by Mumford-Valenzuela in [63], and the genetic algorithm based on layouts proposed by Bortfeld in [41]. These approaches are heuristics, and no execution times were reported. To the best of our knowledge, there are no other exact algorithms that have solved these instances. The P&C is the only method that guarantees the optimal solution (bold numbers) for the three instances, which were solved in less than 70 seconds, considering the generation time of the correspondence matrix and the execution time of the B&B.

Table 3 shows the experimental results for dagli instances. For these instances, we add two columns for the P&C: column “%” represents the packing density which is added to make a comparison with the other approaches, and column “LB¯” that shows the best lower bound found by the P&C methodology when an instance is not solved to optimality considering the time limit. The last three columns show the results in terms of the average of packing density for other approaches (no execution times were reported for these algorithms) such as an object-based evolutionary algorithm proposed by Ratanapan and Dagli in [54, 55], an artificial neural network, mathematical programming and genetic algorithm proposed by Dagli and Poshyanonda in [53] and [64], and a genetic algorithm based on layouts proposed by Bortfeld in [41] (we report the best solution obtained by this author). The P&C improves or certifies the optimality of the lower bound in the literature for the four instances. The optimum for dagli01 and dagli03 was not known before of this study according to the Working Group on Cutting and Packing within EURO of the Association of the European Operational Research Societies (ESICUP). The P&C methodology was able to solve 3 of 4 instances to optimality obtaining the best average packings. Furthermore, the P&C improves the LB of the literature for dagli04 instance from 161 to 208. For this instance, our methodology cannot guarantee the optimality because the B&B reaches the time limit with the value of 208. However, it obtains a feasible packing for the value 209 and infeasible for 207. When the lower bound is not close to the optimum, as for dagli04, we searched for the optimal height of the strip in a dichotomous way. Notice that the times of the last iteration of the P&C methodology are less than 15 minutes.

The experimental results for hifi instances proposed by [34] are shown in Table 4. This table is interesting since it compares several dichotomous algorithms based on exact methodologies. The P&C is compared with four approaches of the literature (the last eight columns) such as the dichotomous exact approach based on a B&B and dynamic-programming procedures developed by Hifi in [34], the B&B algorithm of [65] called Sbb, based on the B&B of [2], the dichotomous algorithm of [65] named Sda, based on the one of [34] with the decision version problem solved with the model of [66], and the branch-and-price algorithm of [65] called Sbp. For each approach, we present its solution z and the execution time ET. Hifi’s algorithm was coded in C and tested on a Sparc-Server20 (module 712 MP). The Sbb, Sda and Sbp algorithms were coded in C++ and tested on a Pentium M 1.7 GHz with 1G of RAM. The column generation and linear programs were solved with CPLEX and Concert Technology.

For hifi instances, we are not comparing the dichotomous behavior that seems to be a promising characteristic for the 2SP, but, we are analyzing the exact algorithms that solve the one-dimensional problem. Indeed, the best algorithms in terms of solution value are P&C, Sda, and Sbb, respectively. To the best of our knowledge, the P&C methodology is the only one finding the optimal solution for instances hifi19 and hifi25. Furthermore, the execution times of the last iteration for the P&C are efficient since they are less than 45 minutes in the worst case (instance hifi18). Nevertheless, the execution times of Hifi’s algorithm seem more competitive.

The experimental results for small-medium size instances proposed by Hopper and Turton in [36] are presented in Table 5. We add a new column at the beginning of the table to specify the class of the instance. We compare the results of the P&C with the hybrid algorithm proposed in [42] (column 9). Columns 10–13 show the results obtained by the best-fit algorithm from [67] and its enhancements adding Tabu-search (TS), simulated-annealing (SA), and a genetic algorithm (GA) from [68]. In columns 14 and 15 are presented the average and best solutions obtained by the genetic algorithm presented in [41], the authors do not present detailed solutions for each instance. Finally, the last two columns show the average and best results obtained by the GRASP proposed by [40]. Numbers in bold represent the optimal solutions. To make a comparison of our methodology with respect to other approaches, we use the average percentage deviation from optimum proposed by [40]. This average is calculated as (sol–opt)/opt. The results show that the P&C algorithm obtains the best solutions for the first three classes (small-medium instances), getting 9 of 9 optimal solutions, improving the best results of the GRASP proposed by [40]. We do not present the results for large instances since P&C cannot obtain their optimal solutions. Indeed, the size of the correspondence matrix for these instances is too large, and the memory of our computer is not enough to solve them.

Instances for other two-dimensional cutting problems

In this section, we present the experimental results for the other two-dimensional cutting instances which have been adapted to the 2SP (Tables 610). The format for each table is similar to the previous ones.

Table 6
Results for burke instances.
InstSizeOptP&CBest fitBurkeGRASP
WnGTETz*BF+TSBF+SABF+GAAverageBest
N14010401.663.0140454040404040
N23020502.9872.6450535050505050
N34030508.3127.9150525151525151
N4804080102.8525047.9080868382838181
Number of optimal solutions4/40/42/42/42/42/42/4
Table 7
Results for ngcut, cgcut, and beng instances.
ClassInstSizeLBP&CIoriGRASP
WnGTETz*AverageBest
Beasley ngcut011010230.010.0323232323
021017300.040.1430303030
031021280.081.0228282828
04107200.010.0120202020
051014360.070.3736363636
061015290.060.4231313131
07208200.040.0020202020
082013320.211.0433333333
092018490.8267.4750505050
103013801.8113.9880808080
113015501.26102.0852525252
123022873.66586.7487878787
Christofides cgcut011016230.040.2323232323
0270236315.0924314.8664656565
037062636MOTO661661
Bengtsson beng012520301.5240.8030313030
0225405711.062756.1257585757
0325608436.428096.7284868484
04258010773.5318104.00107110107107
0525100134130.22TO136134134
0640403611.121110.9436373636
0740806775.2319849.4067696767
0840120101214.07TO101101
0940160126379.02TO126126
1040200156645.63TO156156
Number of proven optimal solutions19/2513/2523/2523/25
Table 8
Results for BW instances, class 1.
InstSizeLBP&CIoriBortfeldtGRASP
Wn alternatives alternatives GTETz*AverageBestAverageBest
1302065700.628.4570
244440.3011.3844
365730.7117.7573
447480.4151.0048
554540.4836.7054
674770.9419.8379
753550.470.9655
851520.447.0552
962690.635.9369
1067690.711.2769
60.358.261.161.361.262.061.661.361.3
11304090912.1578.6991
121071083.5398.66108
131391456.4853.89145
141251296.0774.24129
151381405.48336.94140
161071214.223.37122
171081093.2641.40109
181461657.3241.05169
191011023.2080.72102
201031033.073722.60103
121.6116.4121.3121.8122.1122.3122.0121.9121.9
21306020121716.941140.48217
2217718111.97715.23181
2318219413.39218.68194
2418320916.493021.05209
2516516510.32462.32165
2616616811.41488.32168
2714815010.13221.44150
2818919615.84314.78196
2917417512.35745.81175
3021123018.71310.80230
187.4179.6188.5188.5189.0189.1189.0188.7188.6
31308022824029.4190.10240
3224125428.64207.28254
3323026530.90343.02265
3424426133.021843.17261
3523624529.651316.57245
3625326332.452147.05263
3726628936.162113.05289
3826528237.09101.73282
3927928235.5426216.00282
4024324529.502707.75245
262.2248.5262.6262.6262.8262.9262.8262.9262.8
413010027427442.604015.39274
4230430647.568514.15306
4326726736.295709.47267
4428929346.683592.48293
4530230949.345481.73309
4633835566.293223.22355
4727427638.734500.47276
4831331557.478984.06315
4929930050.707200.16300
5034235364.952556.37353
304.4300.2304.8304.8305.5305.2305.0305.6305.5
Table 9
Results for BW instances, class 2.
InstSizeLBP&CIoriBortfeldtGRASP
Wn alternatives alternatives GTETz*AverageBestAverageBest
1302022220.6930.6022
215150.344.3515
322220.7745.9822
416160.3521.2816
518180.4616.7218
625250.9823.2525
718180.4719.4318
817170.4547.6117
921210.6517.6421
1023230.8723.3423
19.719.719.719.719.920.520.519.819.8
11304030302.6662.3830
1236364.46122.0736
1347477.10262.0747
1442426.22200.1742
1546466.86735.3846
1636364.1484.7736
1736363.8299.8436
1849497.63292.1749
1934343.73109.6434
2035353.3684.9235
39.139.139.139.140.039.539.139.139.1
213060676720.072311.9467
22595916.901476.7559
23616117.671987.6561
24616118.671985.7661
25555512.892450.5055
26565615.481288.0156
27505013.39564.0850
28636320.352493.8263
29585816.271784.4258
30717127.234553.5071
60.160.160.160.161.660.560.160.260.1
313080767637.646942.2576
32818140.786197.8381
33777737.456332.5877
34828242.846223.7882
35797937.464777.4779
36858539.7212458.3085
37898945.4517841.1089
38898949.607866.0189
39939358.3214936.6093
40818143.057035.8281
83.283.283.283.284.783.483.383.283.2
4130100929263.058929.4592
4210210270.0210779.90102
43898952.2811173.8089
44979768.1218199.5097
4510110174.7615758.60101
4611311393.9222739.10113
47929259.6610663.1092
4810510584.5016105.70105
4910010078.5615360.00100
5011411497.1323182.70114
100.5100.5100.5100.5101.8100.7100.7100.5100.5
Table 10
Results for kenmochi instances.
InstSizeP&CKenmochi
WnWGTETz*BL+DPBL+DP+LPS+DP
1139150.080.1420202020
2139150.080.0020202020
32010200.250.1923202020
42011200.261.1322202020
52012200.271.3721202020
62013200.250.0022202020
Number of optimal solutions6/6

In Table 6, we show the results for the burke instances of [67]. We compare the P&C with the best-fit algorithm from [67] and its enhancements adding Tabu-search (TS), simulated-annealing (SA), and a genetic-algorithm (GA) from [68] (columns 8–11). Finally, the last two columns show the average and best results obtained for the GRASP proposed by [40]. Notice that the P&C is the only approach that obtains the optimal solutions for all the instances.

Table 7 shows the experimental results for ngcut, cgcut, and beng instances proposed by [58, 59], and [61], respectively. For these instances, the P&C methodology is compared with the algorithms of [42] and the GRASP of [40]. MO means that the computer memory was not enough to generate the correspondence matrix, and TO means the time limit to solve the instances was reached. The best results were obtained for the GRASP algorithm of [40]. However, our contribution here is that we have increased and validated the optimal solutions reported by the GRASP from 19/25 to 23/25. For the cgcut_02 instance, the P&C cannot prove its optimal solution since the model reached the time-limit when the lower bound was used as the maximum height of the strip. However, the P&C obtains the best result for this instance with respect to the other approaches.

Tables 8 and 9 present the experimental results for Class 1 and 2 of Berkey and Wang instances proposed in [57]. For each table, we add two new columns for the P&C. Column LB^ represents the initial lower bound computed with Eq (1) and used to start our algorithm. Column LB¯ shows the best lower bound found by the P&C when an instance is not solved to optimality (considering the time limit established for the B&B).

As we mention in the description of the instances, each class has five groups of ten instances that differ one with each other in the number of items. Therefore, both tables are divided into five sections that represent the corresponding group of instances for each class. For each group, we show the average to compare our results with other approaches of the literature. For Class 1, the P&C cannot solve to optimality instances 6, 16, and 18. However, our methodology can find new lower bounds for the first two groups of instances, improving the bounds given in the literature. For the last three groups of Class 1, the P&C can solve all the instances to optimality, improving the lower bounds and the results of other methodologies. Finally, for Class 2, the P&C solved all the instances to optimality, improving the results of the GRASP.

Table 10 shows the results for kenmochi instances proposed by [33]. The first three columns describe the instance as usual. Columns 4–7 show the results obtained with the P&C. In this case, we show the width W (the fourth column) and the optimal height z* of the strip because some anomalies exist in the instances, and a perfect packing does not exist with the original width. The anomalies exist in the first two instances where the width of some items is larger than the width of the bin. Therefore, to solve these instances, we set the width of the bin as long as the width of the larger item (numbers in bold in column 4 show the modification of W). Furthermore, the optimal solutions obtained by our methodology in the last four instances do not correspond with the results presented by Kenmochi [33]. Columns 8–10 present the results of [33] that implement two branching strategies: the bottom-left (BL) point and the the staircase (S) strategy. The bounding operations are based on dynamic programming (DP) and linear programming (LP). The P&C shows the optimal results for all the instances.

The experimental results show that the P&C is an efficient methodology to solve small-medium size instances for the 2SP. Larger instances cannot be solved with the P&C methodology since the combinatorial complexity of the problem also relies on the generation of all the possible positions of the items. In this case, we have detected an opportunity area where we propose to apply a decomposition approach, such as a column generation, to obtain optimal solutions for large instances.

Conclusion

In this study, we present a new methodology called “Positions and Covering (P&C)” to obtain exact solutions for the two-dimensional strip packing problem. The methodology is based on a two-stage procedure where first, a set of valid positions is generated in a pseudo-polynomial way representing how each item can be allocated inside of the strip. The height of the strip is computed assuming that a perfect packing exists (or using the best lower bound, if it exists). In the second stage, a set covering formulation (using the set of valid positions) is solved to determine if the height of the strip is optimal. If the mathematical model is feasible, then the procedure ends with the optimal solution. Else, the height of the strip is increased by one, a new set of valid positions is generated, and a new iteration begins.

The P&C methodology was tested using the benchmark for the 2SP solving small and medium-size instances. We verify that many of the solutions proposed by other approaches were the optimal solutions. The main contribution of this study is that we have obtained optimal solutions for instances proposed in the literature where the optimum was not known before. Furthermore, we have modified some other instances of the literature, which were infeasible, and we have solved them, obtaining the optimal solutions.

An essential characteristic of the P&C is its simple implementation. Nevertheless, a future research line consists of developing a decomposition approach to enhance the P&C methodology to give optimal solutions for larger instances of the 2SP.

Acknowledgements

We thank the journal reviewers for their helpful comments.

References

NLesh, JMarks, AMcMahon, MMitzenmacher. Exhaustive approaches to 2D rectangular perfect packings. Information Processing Letters. 2004 4;90(1):714. 10.1016/j.ipl.2004.01.006

SMartello, MMonaci, DVigo. An exact approach to the strip-packing problem. INFORMS Journal on Computing. 2003 8;15(3):310319. 10.1287/ijoc.15.3.310.16082

BSBaker, EGCoffmanJr, RLRivest. Orthogonal packings in two dimensions. SIAM Journal on Computing. 1980 3;9(4):846855. 10.1137/0209064

DSHochbaum, WMaass. Approximation schemes for covering and packing problems in image processing and VLSI. Journal of the ACM (JACM). 1985 1;32(1):130136. 10.1145/2455.214106

GWäscher, HHaußner, HSchumann. An improved typology of cutting and packing problems. European Journal of Operational Research. 2007 12;183(3):11091130. 10.1016/j.ejor.2005.12.047

SJakobs. On genetic algorithms for the packing of polygons. European Journal of Operational Research. 1996 1;88(1):165181. 10.1016/0377-2217(94)00166-9

PGilmore, REGomory. Multistage cutting stock problems of two and more dimensions. Operations Research. 1965 2;13(1):94120.

EHopper, BTurton. A review of the application of meta-heuristic algorithms to 2D strip packing problems. Artificial Intelligence Review. 2001 12;16(4):257300. 10.1023/A:1012590107280

Augustine J, Banerjee S, Irani S. Strip packing with precedence constraints and strip packing with release times. In: Proceedings of the eighteenth annual ACM symposium on Parallelism in algorithms and architectures. ACM; 2006. p. 180–189.

10 

NMCid-Garcia, YARios-Solis Positions and covering: A two-stage methodology to obtain optimal solutions for the 2d-bin packing problem. Plos one. 2020 4;15(4):e0229358 10.1371/journal.pone.0229358

11 

VMAlbornoz, NMCid-Garcia, ROrtega, YARios-Solis. A Hierarchical Planning Scheme Based on Precision Agriculture In: LPlà -Aragonés, editor. The Handbook of Operations Research in Agriculture and the Agri-Food Industry. New York: Springer; 2015 p. 129162.

12 

NMCid-Garcia, VAlbornoz, YARios-Solis, ROrtega. Rectangular shape management zone delineation using integer linear programming. Computers and Electronics in Agriculture. 2013 4;93:19. 10.1016/j.compag.2013.01.009

13 

NMCid-Garcia, OJIbarra-Rojas. An integrated approach for the rectangular delineation of management zones and the crop planning problems. Computers and Electronics in Agriculture. 2019 9;164:104925 10.1016/j.compag.2019.104925

14 

CBayliss, CSMCurrie, JABennell, AMartinez-Sykora. Queue-constrained packing: A vehicle ferry case study. European Journal of Operational Research. 2021 3;289(2):727741. 10.1016/j.ejor.2020.07.027

15 

HFırat, NAlpaslan. An effective approach to the two-dimensional rectangular packing problem in the manufacturing industry. Computers & Industrial Engineering. 2020 10;148:106687 10.1016/j.cie.2020.106687

16 

JFDTapia, JLee, REHOoi, DCYFoo, RRTan. Planning and scheduling of CO2 capture, utilization and storage (CCUS) operations as a strip packing problem. Process Safety and Environmental Protection. 2016 11;104(A):358372. 10.1016/j.psep.2016.09.013

17 

AAbedini, HYe, WLi. Operating room planning under surgery type and priority constraints. Procedia Manufacturing. 2016; 5:1525. 10.1016/j.promfg.2016.08.005

18 

FLi, DGupta, SPotthoff. Improving operating room schedules. Health care management science. 2016 2;19(3):261278. 10.1007/s10729-015-9318-2

19 

BVijayakumar, PJParikh, RScott, ABarnes, JGallimore. A dual bin-packing approach to scheduling surgical cases at a publicly-funded hospital. European Journal of Operational Research. 2013 2;224(3):583591. 10.1016/j.ejor.2012.09.010

20 

NAydin, IMuter, SIBirbil. Multi-objective temporal bin packing problem: An application in cloud computing. Computers & Operations Research. 2020 9;121:104959 10.1016/j.cor.2020.104959

21 

DFeng, ZWu, DZuo, ZZhang. A multiobjective migration algorithm as a resource consolidation strategy in cloud computing. PloS one. 2010 2;14(2):e0211729 10.1371/journal.pone.0211729

22 

DYe, FXie, GZhang. Truthful mechanism design for bin packing with applications on cloud computing. Journal of Combinatorial Optimization. 2020 10.1007/s10878-020-00601-4

23 

ARhiat, AAggoun, RLachere. Combining Mobile Robotics and Packing for Optimal deliveries. Procedia Manufacturing. 2020;44:536542. 10.1016/j.promfg.2020.02.258

24 

NNtene, JHvan Vuuren. A survey and comparison of guillotine heuristics for the 2d oriented offline strip packing problem. Discrete Optimization. 2009 5;6(2):174188. 10.1016/j.disopt.2008.11.002

25 

MCRiff, XBonnaire, BNeveu. A revision of recent approaches for two-dimensional strip-packing problems. Engineering Applications of Artificial Intelligence. 2009 6;22(4-5):823827. 10.1016/j.engappai.2008.10.025

26 

KADowsland, WBDowsland. Packing problems. European Journal of Operational Research. 1992 1;56(1):214. 10.1016/0377-2217(92)90288-K

27 

RWHaessler, PESweeney. Cutting stock problems and solution procedures. European Journal of Operational Research. 1991 9;54(2):141150. 10.1016/0377-2217(91)90293-5

28 

ALodi, SMartello, MMonaci. Two-dimensional packing problems: A survey. European Journal of Operational Research. 2002 9;141(2):241252. 10.1016/S0377-2217(02)00134-0

29 

ALodi, SMartello, DVigo. Recent advances on two-dimensional bin packing problems. Discrete Applied Mathematics. 2002 11;123(1–3):379396. 10.1016/S0166-218X(01)00347-X

30 

RAlvarez-Valdes, FParreno, JTamarit. A branch and bound algorithm for the strip packing problem. OR spectrum. 2009 4;31(2):431459. 10.1007/s00291-008-0128-5

31 

YArahori, TImamichi, HNagamochi. An exact strip packing algorithm based on canonical forms. Computers & Operations Research. 2012 12;39(12):29913011. 10.1016/j.cor.2012.03.003

32 

MABoschetti, LMontaletti. An exact algorithm for the two-dimensional strip-packing problem. Operations Research. 2010 12;58(6):17741791. 10.1287/opre.1100.0833

33 

MKenmochi, TImamichi, KNonobe, MYagiura, HNagamochi. Exact algorithms for the two-dimensional strip packing problem with and without rotations. European Journal of Operational Research. 2009 10;198(1):7383. 10.1016/j.ejor.2008.08.020

34 

MHifi. Exact algorithms for the guillotine strip cutting/packing problem. Computers & Operations Research. 1998 11;25(11):925940. 10.1016/S0305-0548(98)00008-2

35 

BChazelle. The bottomn-left bin-packing heuristic: An efficient implementation. IEEE Transactions on Computers. 1983 8;C-32(8):697707. 10.1109/TC.1983.1676307

36 

EHopper, BTurton. 2001. An empirical investigation of meta-heuristic and heuristic algorithms for a 2d packing problem. European Journal of Operational Research. 2001 1;128(1):3457. 10.1016/S0377-2217(99)00357-4

37 

JFGonçalves, MGResende. A biased random key genetic algorithm for 2D and 3D bin packing problems. International Journal of Production Economics. 2013 10;145(2):500510. 10.1016/j.ijpe.2013.04.019

38 

NLesh, JMarks, AMcMahon, MMitzenmacher. New heuristic and interactive approaches to 2d rectangular strip packing. Journal of Experimental Algorithmics (JEA). 2005 12;10:12.

39 

DLiu, HTeng. An improved BL-algorithm for genetic algorithm of the orthogonal packing of rectangles. European Journal of Operational Research. 1999 1;112(2):413420. 10.1016/S0377-2217(97)00437-2

40 

RAlvarez-Valdés, FParreño, JMTamarit. Reactive grasp for the strip-packing problem. Computers & Operations Research. 2008 4;35(4):10651083. 10.1016/j.cor.2006.07.004

41 

ABortfeldt. A genetic algorithm for the two-dimensional strip packing problem with rectangular pieces. European Journal of Operational Research. 2006 8;172(3):814837. 10.1016/j.ejor.2004.11.016

42 

MIori, SMartello, MMonaci. Metaheuristic algorithms for the strip packing problem In: PMPardalos, VKorotkikh, editors. Optimization and Industry: New frontiers. Applied Optimization. New York: Springer; 2003 p. 159179.

43 

ALodi, SMartello, DVigo. TSpack: a unified tabu search code for multi-dimensional bin packing problems. Annals of Operations Research. 2004 10;131(1–4):203213. 10.1023/B:ANOR.0000039519.03572.08

44 

RGRakotonirainy, JHvan Vuuren. Improved metaheuristics for the two-dimensional strip packing problem. Applied Soft Computing. 2020 7; 92:106268 10.1016/j.asoc.2020.106268

45 

VMRBezerra, AASLeao, JFOliveira, MOSantos. Models for the two-dimensional level strip packing problem–a review and a computational evaluation. Journal of the Operational Research Society. 2020 4;71(4):606627. 10.1080/01605682.2019.1578914

46 

LWei, QHu, SCHLeung, NZhang. An improved skyline based heuristic for the 2D strip packing problem and its efficient implementation. Computers & Operations Research. 2017 4; 80:113127. 10.1016/j.cor.2016.11.024

47 

ANJúnior, ESilva, AMGomes, CSoares, JFOliveira. Data mining based framework to assess solution quality for the rectangular 2D strip-packing problem. Expert Systems with Applications. 2019 3; 118:365380. 10.1016/j.eswa.2018.10.006

48 

MChen, KLi, DZhang, LZheng, XFu. Hierarchical Search-Embedded Hybrid Heuristic Algorithm for Two-Dimensional Strip Packing Problem. IEEE Access. 2019 11; 7:179086179103. 10.1109/ACCESS.2019.2953531

49 

JMaschler, GRRaidl. A logic-based Benders decomposition approach for the 3-staged strip packing problem In: KDörner, ILjubic, GPflug, GTragler, editors. Operations Research Proceedings 2015. Springer; 2017 p. 393399.

50 

MSugi, YShiomi, TOkubo, HNagai, KInoue, JOta. Solution of the Rectangular Strip Packing Problem Considering a 3-Stage Guillotine Cutting Constraint with Finite Slitter Blades. International Journal of Automation Technology. 2020 5; 14(3):447458. 10.20965/ijat.2020.p0447

51 

JFOliveira, ANeuenfeldt Júnior, ESilva, MACarravilla. A survey on heuristics for the two-dimensional rectangular strip packing problem. Pesquisa Operacional. 2016 May-Aug; 36(2):197226. 10.1590/0101-7438.2016.036.02.0197

52 

TBuchwald, GScheithauer. Upper bounds for heuristic approaches to the strip packing problem. International Transactions in Operational Research. 2016 5; 23(1-2):93119. 10.1111/itor.12100

53 

CHDagli, PPoshyanonda. New approaches to nesting rectangular patterns. Journal of Intelligent Manufacturing. 1997 5;8(3):177190. 10.1023/A:1018517106992

54 

Ratanapan K, Dagli C. An object-based evolutionary algorithm for solving irregular nesting problems. In: Proceedings for Artificial Neural Networks in Engineering Conference. ANNIE’97; 1997. p. 383–388.

55 

Ratanapan K, Dagli C. An object-based evolutionary algorithm: the nesting solution. In: 1998 IEEE International Conference on Evolutionary Computation Proceedings. IEEE World Congress on Computational Intelligence (Cat. No. 98TH8360); 1998. p. 581–586.

56 

EBurke, GKendall. Applying simulated annealing and the no fit polygon to the nesting problem In: Proceedings of the world manufacturing congress. Citeseer; 1999 p. 2730.

57 

JOBerkey, PYWang. Two-dimensional finite bin-packing algorithms. Journal of the Operational Research Society. 1987 5;38(5):423429. 10.1057/jors.1987.70

58 

NChristofides, CWhitlock. An algorithm for two-dimensional cutting problems. Operations Research. 1977 2;25(1):3044. 10.1287/opre.25.1.30

59 

JEBeasley. An exact two-dimensional non-guillotine cutting tree search procedure. Operations Research. 1985 2;33(1):4964. 10.1287/opre.33.1.49

60 

SMartello, DVigo. Exact solution of the two-dimensional finite bin packing problem. Management Science. 1998 3;44(3):388399. 10.1287/mnsc.44.3.388

61 

BEBengtsson. Packing rectangular pieces—A heuristic approach. The computer journal. 1982 8;25(3):353357. 10.1093/comjnl/25.3.353

62 

SPFekete, JSchepers, JCVan der Veen. An exact algorithm for higher-dimensional orthogonal packing. Operations Research. 2007 6;55(3):569587. 10.1287/opre.1060.0369

63 

CLMumford-Valenzuela, JVick, PYWang. Heuristics for large strip packing problems with guillotine patterns: An empirical study In: MGResende, JPde Sousa, editors. Metaheuristics: computer decision-making. Applied Optimization, vol 86 Boston, MA: Springer; 2003 p. 501522.

64 

PPoshyanonda, CDagli. Genetic neuro-nester. Journal of Intelligent Manufacturing. 2004 4; 15(2):201218. 10.1023/B:JIMS.0000018033.05556.65

65 

ABekrar, IKacem, CChu. A comparative study of exact algorithms for the two dimensional strip packing problem. Journal of Industrial and Systems Engineering. 2007;1(2):151170.

66 

DPisinger, MSigurd. The two-dimensional bin packing problem with variable bin sizes and costs. Discrete Optimization. 2005 6; 2(2):154167. 10.1016/j.disopt.2005.01.002

67 

EKBurke, GKendall, GWhitwell. A new placement heuristic for the orthogonal stock-cutting problem. Operations Research. 2004 8;52(4):655671.

68 

Burke EK, Kendall G, Whitwell G. Metaheuristic enhancements of the best-fit heuristic for the orthogonal stock cutting problem. Computer Science Technical Report No. NOTTCS-TR-2006-3. University of Nottingham; 2006.