Next Article in Journal
A Self-Training-Based System for Die Defect Classification
Previous Article in Journal
Adaptive Visual Control for Robotic Manipulators with Consideration of Rigid-Body Dynamics and Joint-Motor Dynamics
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

The Normalized Direct Trigonometry Model for the Two-Dimensional Irregular Strip Packing Problem

by
Germán Pantoja-Benavides
1,2,
David Álvarez-Martínez
1,* and
Francisco Parreño Torres
2
1
School of Engineering, Los Andes University, Bogota 111711, Colombia
2
Department of Mathematics, University of Castilla-La Mancha, 02071 Albacete, Spain
*
Author to whom correspondence should be addressed.
Mathematics 2024, 12(15), 2414; https://doi.org/10.3390/math12152414
Submission received: 21 June 2024 / Revised: 22 July 2024 / Accepted: 31 July 2024 / Published: 2 August 2024

Abstract

:
Background: The Irregular Strip Packing Problem (ISPP) involves packing a set of irregularly shaped items within a strip while minimizing its length. Methods: This study introduces the Normalized Direct Trigonometry Model (NDTM), an innovative enhancement of the Direct Trigonometry Model (DTM). The NDTM incorporates a distance function that supports the integration of the separation constraint, which mandates a minimum separation distance between items. Additionally, the paper proposes a new set of constraints based on the bounding boxes of the pieces aimed at improving the non-overlapping condition. Results: Comparative computational experiments were performed using a comprehensive set of 90 instances. Results show that the NDTM finds more feasible and optimal solutions than the DTM. While the NDTM allows for the implementation of the separation constraint, the number of feasible and optimal solutions tends to decrease as more separation among the items is considered, despite not increasing the number of variables or constraints. Conclusions: The NDTM outperforms the DTM. Moreover, the results indicate that the new set of non-overlapping constraints facilitates the exploration of feasible solutions at the expense of optimality in some cases.

1. Introduction

The Irregular Strip Packing Problem (ISPP) is a real-world challenge with significant implications. Its goal is to optimally arrange a set of irregular items on a strip of material with a fixed width and infinite length. By minimizing the strip length required, the ISPP directly contributes to reducing waste and cost, making it a critical issue in industries ranging from textile and garment manufacturing to sheet metal cutting [1,2,3], where material efficiency directly translates to economic and environmental benefits.
Acknowledged as an NP-hard problem [4] the ISPP has attracted substantial interest due to its inherent computational complexity and significant real-world implications. Researchers have frequently employed metaheuristic approaches to tackle this complexity, balancing the quest for optimal solutions and manageable computational time. However, with the evolution of computational technologies and capacities, there is an increasing focus on developing more precise and efficient mathematical models [5].
In this context, this paper introduces the Normalized Direct Trigonometry Model (NDTM), an innovative adaptation of the Direct Trigonometry Model (DTM) proposed by [6]. The NDTM stands out by utilizing a distance function between a line and a point rather than relying on the D-function. The NDTM also introduces flexibility in the search space by allowing multiple separating lines between convex sub-polygons. Utilizing the distance function allows the incorporation of a separation constraint among the pieces, i.e., a minimum separation distance between pieces. Therefore, this study corresponds to the first study that involves this constraint within a MILP model based on direct trigonometry. Additionally, this study explores the incorporation of additional non-overlapping constraints that use the bounding boxes of the pieces.
The main findings of this study are listed below:
  • Introduction of the NDTM: This study presents the NDTM, which has proven to be a more flexible and efficient framework than the DTM, generating more feasible and optimal solutions.
  • Integration of the separation constraint: This study successfully incorporates the separation constraint into the trigonometry-based MILP model (NDTM), which is relevant for various industrial applications. Computational experiments show that this constraint decreases the number of feasible and optimal solutions despite not increasing the number of variables or constraints.
  • Novel non-overlapping constraints: A new set of non-overlapping constraints based on bounding boxes is introduced, allowing the generation of more feasible solutions at the cost of optimality of some instances.
The paper is structured as follows: Section 2 provides an in-depth description of the ISPP. Section 3 reviews related literature and research. Section 4 details the NDTM, including its mathematical foundation, the implementation of the separation constraint, and the model’s modifications. Section 5 presents the results of computational experiments comparing the NDTM and the DTM, the impacts of the separation constraint, and the effects of the NDTM’s modifications. Finally, Section 6 concludes the paper with a summary of findings and implications for future research.

2. Problem Description

The Irregular Strip Packing Problem (ISPP) addresses how to pack a set of irregular 2D items into a rectangular container such that the length of the container is minimized [7]. In this problem, all items must be packed, satisfying the containment and the non-overlapping constraints. The former indicates that all items must lay within the container’s limits. The latter constraint states that the packed items must not overlap but may touch. Moreover, in this study, the items have several fixed rotations, broadening the NDTM’s applications in several scenarios. For example, the fabric may have a pattern or stamps with valid clothing orientations in the garment industry.
This study also incorporates the separation constraint, also known as the distance constraint, which mandates that at least a specified distance must separate the packed items within the container [8,9,10]. This constraint is related to the necessary space for cutting tools to extract the shapes once placed within the container. The separation between items depends on the material of the container from which pieces are extracted and the technology of the cutting tool. For example, wood may be cut with a saw and metal with a laser. Both materials/technologies require different separations among the items to extract them without altering their dimensions or shapes.
The distance constraint can be interpreted in three scenarios based on how the separation s among pieces is measured. First, the edge-to-edge separation measures the distance between the edges of the two pieces (Figure 1a). This scenario is relevant when the edges are parallel, as the distance between them remains constant. Second, the edge-to-vertex separation measures the distance between the edge of one item and the vertex of the other item (Figure 1b). It is worth noting that this scenario encompasses the previous one, as the separation s between parallel edges is equivalent to the separation between an edge and any vertex of the other edge. Finally, the vertex-to-vertex separation measures the distance between the vertices of both items (Figure 1c).
This study considers the edge-to-vertex separation (which also includes the edge-to-edge separation) but not the vertex-to-vertex separation. The edge-to-vertex separation effectively separates convex items and results in linear constraints, as will be shown in the methodology section. In contrast, the vertex-to-vertex separation leads to quadratic constraints based on the Euclidean distance between independent points.
It is worth noting that considering the separation constraint is not equivalent to enlarging the items to be packed. This misconception is common in some industries. While there are cases where it might be true, when dealing with pieces with sharp edges, enlarging items may imply a larger separation between pieces than the desired one. Figure 2a–c illustrate cases where an edge-to-vertex separation ( s ), as considered in this study, is achieved. In scenarios where the approach is to increase the size of the pieces, each edge moves away by half the desired separation ( s / 2 ). Figure 2d shows a case where this separation is appropriate and achieves the same effect as considering the edge-to-vertex separation. However, Figure 2e,f demonstrate cases where this strategy of enlarging the pieces would not be appropriate because there would be overlap between the enlarged pieces. This situation occurs because, by considering a separation ( s / 2 ) between the edges of the original and the enlarged piece, some vertices would be at a distance greater than ( s / 2 ) from the corresponding vertices. As seen in Figure 2e,f, this phenomenon is more evident when the internal angle between the edges of a piece is smaller.
Notably, the separation enforced by the distance constraint applies only between items, i.e., i t e m i i t e m j , and not between items and the container. The item-container separation is not considered because, in many industrial applications, the proximity of items to the container’s edge is not a significant issue, as the edges can be seen as areas where cutting precision is not critical.
Moreover, the item-container separation can easily be managed by adjusting the container’s dimensions. For instance, if a δ separation is desired between the items and the container, the container’s width should be reduced by 2 δ to account for this constraint on the top and bottom of the container. After obtaining the solution with the reduced width, δ must be added to the position of each item along the width axis (y-axis). The same process of adding δ would apply to the length axis (x-axis) to account for separating the items and the container along its length. Consequently, the container’s length would be increased by 2 δ to include this constraint.
Another valuable constraint for industries is considering containers of different shapes other than a rectangle or creating no-packaging zones, such as damaged or inappropriate container areas. These constraints are not directly considered in this study. However, it is worth noting that these constraints can be addressed by packing items without rotation (with only one valid rotation) in fixed positions within the container.

3. Related Work

Cutting and Packing Problems (C&PPs) have gained significant attention from researchers who have developed numerous algorithms, software solutions, and practical applications [11]. These problems are especially challenging when addressing irregular shapes. The literature on two-dimensional C&PPs handling irregular shapes has focused on the IBPP and the ISPP. The former involves packing irregular items into the fewest bins possible. The latter consists of packing irregular items into a strip with minimal length. The IBPP has been solved with various approaches [1,12,13]. However, the researchers on C&PPs have concentrated on the ISPP (focus of this research). Consequently, most two-dimensional irregular packing instances are tailored to ISPP, allowing straightforward comparisons of different approaches.
ISPP is an NP-hard problem that has been addressed through various strategies. Due to its complexity, many researchers have focused on developing heuristics and metaheuristics [14,15,16,17]. Novel reinforcement learning techniques have also been employed, showing promising results [18]. Recent advancements in computing power and optimization software have enabled researchers to explore matheuristic approaches that integrate metaheuristics with mathematical models, enhancing the speed and accuracy of solving subproblems [19,20,21]. In addition, various modeling paradigms have been utilized, including constraint programming [22], quadratically constrained programming [23], and mixed integer quadratically constrained programming [24].
This study focuses on mixed-integer linear programming (MILP) for the ISPP. Some formulations are reviewed next. The Dotted-Board Model (DBM) proposed by [25] uses a raster representation method, and the solution quality depends on the grid size [26]. Efforts have been made to reduce the size of the DBM by clustering pieces [27] or employing a clique-covering model [3]. It is worth noting that the DBM’s dependence on the grid size makes it a non-exact model for the problem, i.e., an optimal solution of the DBM is not necessarily an optimal solution to the problem.
Some researchers have explored alternative geometric representations to avoid the limitations of grid dependence. These geometric representations are primarily employed to model the non-overlapping constraint. [28] introduced a semi-raster representation that uses strips continuous on the x-axis and discretized on the y-axis, allowing for a semi-continuous formulation. Alternative representations to raster ones include phi-functions [29], which offer a flexible yet complex representation of item proximity. Another geometric tool is finding separating lines among pieces [30,31]. The Direct Trigonometry Model (DTM) [6] uses separating lines based on the hyperplane separating theorem. These authors also proposed the NoFit Polygon Covering Model (NFP-CM), which was later improved with the introduction of Vertical Slices (NFP-CM-VS) by Lastra-Díaz & Ortuño (2024).
Recent literature has also explored the integration of the ISPP with the Cutting Path Determination (CPD), i.e., finding the shortest path a cutting tool must follow to cut the pieces. The CPD is generally solved after an ISPP solution is obtained. This integration has been explored through mathematical models [2] and matheuristics [32]. Additionally, new variants of the ISPP have considered uncertain demand for pieces [33] and industry-specific constraints such as defective areas within the strip, where no items can be placed [34], and a distance constraint requiring a minimum distance between pieces. The distance constraint has only been incorporated in models based on phi-functions [8,9,10]. This study is the first model incorporating this constraint in a trigonometry-based model.

4. Methodology

One approach to tackle the ISPP is the Direct Trigonometry Model (DTM) proposed by [6]. This model requires the irregular items to be represented as a union of one or several convex polygons for the non-overlapping constraint. This way, two irregular items are separated if each pair of convex polygons (one of each item) is separated. The DTM uses the D-function to ensure that two convex polygons are separated.
The D-function (Equation (1)) is used to identify the relative position of a point p : ( p x ,   p y ) to an oriented line segment that starts at point a : ( a x ,   a y ) and ends at point b : ( b x ,   b y ) . If D a b p < 0 , p is on the negative side of the line a b ¯ . If D a b p > 0 , p is on the positive side of the line a b ¯ . If D a b p = 0 , p is on the line a b ¯ .
D a b p = a x b x a y p y a y b y a x p x
The proposed model uses the Signed Euclidean Distance function (SED), i.e., without the absolute value, between an oriented line l :   A x + B y + C = 0 and a point p : ( p x ,   p y ) (Equation (2)). The lines associated with the edges of the convex polygons are oriented such that the polygon’s interior lies on the positive side of the lines (see Figure 3). Consequently, these lines are correctly oriented when their (SED) to the centroid of the convex polygon is positive. The centroid can be calculated as the average of all vertices of the convex polygon.
E l p = A p x + B p y + C A 2 + B 2
The difference between the Euclidean distance function and the D-function is the interpretation and comparability of the returning value. In the former, the value is a distance and can be compared to another distance value. Therefore, two pairs of line-vertex can be compared with the Euclidean distance to determine which pair is more separated. This comparison is valid even if the lines and points are different. In the D-function, the value does not have an interpretation, and the comparisons are limited to the same line. The returning value of the D-function is related to the distance. However, comparisons are only valid for the same line. A point associated with a larger value indicates that it is farther than one associated with a smaller value. However, the actual distances are unknown.
The Euclidean distance is the normalization of the D-function. For this reason, the proposed model has been called the Normalized Direct Trigonometry Model (NDTM).

4.1. Separation of Convex Polygons

Two convex polygons are separated if a line separates them, i.e., one polygon is on the line’s negative side, and the other is on the line’s positive side. When two convex polygons are separated by a distance ϵ > 0 , infinite lines can separate them (Figure 4a). However, to limit the number of considered lines, this study focuses on the separating lines that are collinear with the edges of the polygons (Figure 4b). This section describes the mathematical fundamentals of separating a pair of convex polygons.
Polygons do not change their shape when translated (without rotation), i.e., the axis distances between the vertices of a polygon are fixed. Therefore, if the location of a polygon vertex is known, the rest of the vertices are found by adding the fixed distances to the known vertex. Thus, any vertex v : ( v x ,   v y ) of a polygon can be related to a single reference point q : ( q x ,   q y ) with the fixed distances in each axis ( α and β ). If α = v x q x and β = v y q y , v can be represented as v : v x ,   v y v : ( q x + α ,   q y + β ) .
The components of the line l : A x + B y + C = 0 formed with two adjacent vertices of the same convex polygon ( a : q x + α a , q y + β a and b : q x + α b , q y + β b ) are computed as follows: A = β b β a / n , B = α a α b / n , and C = A q x + α a B q y + β a , where n = β b β a 2 + α a α b 2 . Applying Equation (2) with the line of a convex polygon and a point c : ( p x + α c , p y + β c ) of another polygon results in Equation (3), where C 2 = A α c α a + B β c β a .
E l c = A p x q x + B p y q y + C 2
Equation (3) shows the Signed Euclidean Distance (SED) between a line and a vertex. Line l is anchored to the reference point q of a convex polygon. The vertex c is anchored to the reference point p of another convex polygon. Note that the term C 2 does not depend on the reference vertices. Therefore, C 2 is constant regardless of the positions of the polygons (reference points).
Two convex polygons are separated if all vertices of the first polygon lay on one line’s side and all vertices of the second polygon lay on the other line’s side. In this study, the edges are oriented such that all vertices of the same polygon are on the positive edges’ side. Therefore, if an arbitrary point lies on the positive side of all polygon edges, it is on the polygon. Otherwise, if the arbitrary point lies on the negative side of at least one polygon edge, it is outside the polygon. Moreover, the non-overlapping constraint allows touching; therefore, the vertices of both polygons can be colinear to the separating line (Figure 5).
An arbitrary point is on a line’s positive (negative) side if the respective SED is zero or greater (less) than zero. Therefore, two convex polygons are separated if there is a line where the SED for the vertices of one polygon is zero or positive and for the vertices of the other polygon is zero or negative. Furthermore, since this study uses the convention that all edges are oriented, such as the interior of the polygon lays on the positive side, two convex polygons are separated if there exists a line of a polygon whose SED for all vertices of the other polygon is zero or negative.
Computing the SED of all lines (edges) of a polygon with all vertices of the other and vice versa implies many computations. However, the computations can be significantly reduced if the SED associated with a line is calculated for only one vertex instead of all vertices of the other convex polygon. This vertex is the closest to the line on the negative line’s side when the line separates the two convex polygons (Figure 5). Identifying the appropriate vertex for each line requires a preprocessing procedure of determining the SED with all vertices and identifying the one with the highest SED. These calculations can be done with arbitrary reference points for the polygons; however, if both reference points are set to the origin 0,0 , Equation (3) is simplified to C 2 . Therefore, the appropriate vertex for a line is the one with the highest C 2 .
The separation of a pair of convex polygons can be applied to non-convex polygons if the last ones can be represented as unions of convex sub-polygons. Therefore, two non-convex polygons are separated if each pair of convex polygons (one of each non-convex polygons) are separated.

4.2. The Basic Normalized Direct Trigonometry Model (NDTM)

The basic formulation for the NDTM considers no rotation for the pieces. This model consists of a set of pieces I : { P i e c e 1 ,   ,   P i e c e n } , each piece i has a subset of convex parts (sub-polygons) P i : { P a r t 1 i , , P a r t m i } , and each part p has a subset of lines L p : { L i n e 1 p ,   ,   L i n e r p } (see Figure 6). The parameters and variables for the NDTM are shown in Table 1 and Table 2, respectively. Additionally, Figure 7 illustrates the notation of the parameters related to a piece i I listed in Table 2.
The formulation of the NDTM is presented in Equations (4)–(11).
min L                              
s . t .                               x i x i L x i +                               i I
y i y i W y i +                               i I
A l p i x j x i + B l p i y j y i + C l p i q j M l p i q j ( 1 u l p i q j )                               l L p ,   p P i ,   q P j ,   i , j I | i j
l L p u l p i q j + l L q u l q j p i 1                               p P i ,   q P j ,   i , j I | i < j
L 0                              
x i ,   y i 0                               i I
u l p i q j { 0,1 }                               l L p ,   p P i ,   q P j ,   i , j I | i j
Constraints (5) and (6) ensure the containment constraint in the x-axis and the y-axis. These inequalities limit the value for the reference points on the strip based on their distance from the polygon’s bounding box. The non-overlapping constraint is ensured by Constraints (7) and (8). Constraint (7) is based on Equation (3), which indicates that the SED must be negative for the separating line. Otherwise, the value of the SED is limited by a Big- M l p i q j value. Constraint (8) ensures that at least one separating line exists for each pair of convex polygons. The separating line may come from any convex polygon. It is worth mentioning that another difference between the NDTM and the DTM is the inequality in Constraint (8). The NDTM considers that at least one separating line must exist for each pair of convex polygons, in contrast with the DTM, which states that there must be precisely one separating line for each pair of convex polygons. Constraints (9)–(11) indicate the nature of the variables, i.e., the possible values or ranges for the variables.

4.2.1. Big-M Calculation

The parameter M l p i q j is analogically calculated, as [6] proposed. M l p i q j is used in Constraint (7) and corresponds to the maximum SED between a line and a reference point when the line does not separate a pair of convex polygons. This value must be large enough to avoid eliminating feasible solutions but should not be enormous to avoid numeric instability. Since M l p i q j is a SED, Equation (3) holds, but some manipulations are required to obtain a valid value (Equation (12)).
M l p i q j = A l p i L m a x + B l p i W + C l p i q j                               l L p ,   p P i ,   q P j ,   i , j I | i j
Equation (12) indicates that the difference between two reference points (Equation (3)) is the biggest possible in both axes. Since the strip’s width is fixed, the reference points can be separated at most by W in the y-axis. On the other hand, the strip’s length is estimated. [6] used the sum of the pieces’ lengths ( L m a x ). In this case, pieces are arranged side by side from the strip start. Therefore, the reference points can be separated at most by L m a x in the x-axis. It is worth noting that W and L m a x are positive values; therefore, the relative position between the reference points is controlled by applying absolute value to the line’s components A and B .

4.2.2. Bounds

Ref. [6] proposed using bounds for the strip’s length (Constraint (13)). The upper bound for L ( L m a x ) was detailed in Section 4.2.1. The lower bound for L ( L m i n ) corresponds to the maximum between the sum of the pieces’ area divided by W and the maximum length of all pieces to be packed.
L m i n L L m a x

4.2.3. Reduction in the Number of Constraints and Variables

This study uses the simplification proposed by [6] related to parallel edges. A pair of convex polygons may have parallel edges with inverse orientation. These edges generate redundant, non-overlapping constraints. Therefore, these cases are identified, and one of the constraints is dropped. Since the lines’ components A and B are normalized, the sum of the components of parallel edges with inverse orientation is zero, i.e., A i + A j = 0 and B i + B j = 0 .

4.2.4. Symmetry Breaking

This study also adopts the symmetry-breaking proposed by [6]. An item can appear more than once in a packing pattern. If two equal items are interchanged, the solution is the same. This symmetry is solved by indicating that x i x j ,   i < j , where pieces i and j are the same type. It is worth noting that this symmetry breaking can be applied to the y-axis instead of the x-axis. However, this study chooses the x-axis since L may be greater than W . One way to select the appropriate axis is to compare W with L m a x . If L m a x is greater than W, the x-axis is chosen; otherwise, the y-axis would be used.

4.3. The General NDTM

This section indicates the changes to the basic NDTM that have to be performed to include two or several fixed orientations of the items. Moreover, this section considers that items have several duplicates. This formulation requires more subsets and more variables.
This formulation consists of a set of pieces types I : { P i e c e T y p e 1 , , P i e c e T y p e n } , each piece type i has a subset of orientations F i : { O r i e n t a t i o n 1 i , , O r i e n t a t i o n q i } , each orientation f has a subset of convex parts (sub-polygons) P f : { P a r t 1 f , , P a r t m f } , and each part p has a subset of lines L p : { L i n e 1 p , , L i n e r p } . Besides these sets, an additional one is used to distinguish between the duplicates. Therefore, each piece type i has a subset of duplicates D i : { D u p l i c a t e 1 i , , D u p l i c a t e t i } and each duplicate d has a subset of orientations. The incorporation of more sets implies that parameters and variables have additional indices. The parameters and variables whose indices change are shown in Table 3 and Table 4.
The formulation of the general NDTM is presented in Equations (14)–(26).
min L                              
s . t .                               L m i n L L m a x                              
f F i v f d i = 1                               d D i , i I
x f i x f d i L x f i +                               f F i ,   d D i , i I
y f i y f d i W y f i +                               f F i ,   d D i , i I
                              f F i ,   g F j ,   d D i , A l p f i x g e j x f d i + B l p f i y g e j y f d i + C l p f i q g j                             e D j ,   i , j I ,                                     M l p f i q g j ( 1 u l p f d i q g e j )                             | i j     d e     f g
l L p u l p f d i q g e j + l L q u l q g e j p f d i v f d i + v g e j 1                               p P f ,   q P g ,   f F i   g F j ,   d D i , e D j   i , j I ,   | i < j   ( i = j     d < e )     ( i = j     d = e     f < g )
l L p u l p f d i q g e j + l L q u l q g e j p f d i L p + L q v f d i                               p P f ,   q P g ,   f F i   g F j ,   d D i , e D j   i , j I ,   | i < j   ( i = j     d < e )     ( i = j     d = e     f < g )
l L p u l p f d i q g e j + l L q u l q g e j p f d i L p + L q v g e j                               p P f ,   q P g ,   f F i   g F j ,   d D i , e D j   i , j I ,   | i < j   ( i = j     d < e )     ( i = j     d = e     f < g )
x f d i + L m a x 1 v f d i x g e i L m a x 1 v g e i                               f , g F i , d , e D i ,   i I | e = d 1     d > 1
L 0                                
x f d i ,   y f d i 0                               f F i ,   d D i , i I
u l p f d i q g e j { 0,1 }                               l L p ,   p P f ,   q P g , f F i ,   g F j ,   d D i , e D j ,   i , j I , | i j     d e     f g
Constraint (15) indicates that L m i n and L m a x bound the strip’s length ( L ). These parameters are estimated differently when rotation and duplicates of the pieces are considered. L m i n is determined as the maximum value of the strip’s length considering two extreme cases. First, suppose the strip’s width is infinite. In that case, the minimum strip’s length is the largest among the pieces when considering only the orientation that yields the minimum length. The second extreme case assumes a perfect fit, which yields a 100% utilization. Therefore, the minimum strip’s length is the sum of the area of all items to be packed divided by the strip’s width.
L m a x continues to be the required strip’s length to arrange all items side by side; however, it is computed differently. L m a x is obtained by considering the shortest length of the valid rotations of each piece type. Next, this length is multiplied by the number of copies for the piece type. L m a x is the sum of all these products with all piece types.
Constraint (16) ensures that the quantity of each piece type is packed within the container. Constraints (17) and (18) ensure that all packed pieces lay within the container (containment constraint). Constraints (19) and (20) ensure non-overlapping constraints. Constraint (19) is based on the SED like Constraint 7 with the difference in the indices for parameters and variables. Constraints (21) and (22) break symmetry regarding separating lines when a piece is not placed within the container. These last two constraints use L p and L q , which indicate the number of lines that may separate the convex parts p and q . This cardinality allows choosing more than one separating line. Constraint (23) ensures symmetry breaking regarding positioning several duplicates of a piece type along the x-axis. This constraint is only active with the actually packed items, i.e., v f d i = v g e i = 1 . Finally, Constraints (24)–(26) indicate the nature of the variables, i.e., the ranges of values of the problem variables.

4.4. Separation or Distance Constraint

As mentioned above, the distance constraint indicates that a minimum distance must separate all pairs of pieces. Incorporating this constraint in the general NDTM requires the parameter s , which indicates the minimum separation among items. This parameter increases L m a x by s ( n 1 ) , where n is the total number of pieces packed within the strip. The minus one is because the separation is only considered between the pieces and not between the pieces and the strip.
The parameter s is used in Constraint (27), which replaces Constraint (19) in the general NDTM. It is worth noting that a positive value for s indicates a separation of the pieces, and a negative value indicates overlapping.
                              l L p ,   p P f ,   q P g , A l p f i x g e j x f d i + B l p f i y g e j y f d i + C l p f i q g j                             f F i ,   g F j ,   d D i ,                                     M l p f i q g j 1 u l p f d i q g e j s                             e D j ,   i , j I ,                               | i j     d e     f g
Since the separation parameter is considered in Constraint (27) and this constraint is based on the SED, the separation considered in this study is limited to edge-vertex separation, which does not include vertex-vertex separation. Including the latter separation would require nonlinear constraints outside the scope of this study. Furthermore, vertex-vertex separations become significant only if the closest distance between two convex polygons occurs between their vertices at an angle between the angles formed by their respective edges.

4.5. New Valid Inequalities

This study proposes new valid inequalities regarding the non-overlapping constraint by implementing a non-overlapping constraint considering the bounding boxes of the original pieces. The non-overlapping constraint states that each pair of packed pieces must not overlap. This constraint can be accomplished by ensuring a separating line for each pair of convex sub-pieces. However, suppose a pair of pieces is far enough, so their bounding boxes do not overlap. In that case, estimating separation lines between each pair of convex sub-pieces seems unnecessary. Therefore, the modifications are oriented to allow the model to be flexible in determining separating lines if the bounding boxes of the pieces are separated.
This study considers two modifications to ease the non-overlapping constraint with the bounding boxes of the pieces. These modifications require new variables indicated in Table 5. The first modification replaces Constraints (20)–(22) of the general NDTM formulation with Constraints (28)–(32). Constraints (28) and (29) define variables x ˙ f d i g e j and y ˙ f d i g e j , respectively, i.e., separating two pieces according to their bounding boxes. Constraints (30)–(32) ensure that at least one separation criterion exists for each pair of convex sub-pieces. Two convex sub-pieces are separated when there is a separating line among them or the bounding boxes of the respective pieces are separated. Therefore, the first modification aims to make the problem more flexible by allowing more alternatives to indicate the separation of pieces.
Table 5. Variables for the incorporation of the new non-overlapping constraints based on bounding boxes.
Table 5. Variables for the incorporation of the new non-overlapping constraints based on bounding boxes.
VariableDescription
x ˙ f d i g e j Indicator variable. It is 1 if the bounding box of the duplicate piece d D i with orientation f F i of piece type i I is separated and on the right of the bounding box of the duplicate piece e D i with orientation g F i of piece type j I . It is 0 otherwise.
y ˙ f d i g e j Indicator variable. It is 1 if the bounding box of the duplicate piece d D i with orientation f F i of piece type i I is separated and above of the bounding box of the duplicate piece e D i with orientation g F i of piece type j I . It is 0 otherwise.
s f d i g e j Indicator variable. It is 1 if the bounding box of the duplicate piece d D i with orientation f F i of piece type i I is separated from the bounding box of the duplicate piece e D i with orientation g F i of piece type j I . It is 0 otherwise.
L m a x 1 x ˙ f d i g e j + x f d i x f i x g e j + x g j +                               f F i ,   g F j ,   d D i , e D j ,   i , j I , | i j     d e     f g
W 1 y ˙ f d i g e j + y f d i y f i y g e j + y g j +                               f F i ,   g F j ,   d D i , e D j ,   i , j I , | i j     d e     f g
                              p P f ,   q P g , f F i ,                                 g F j ,   d D i , e D j , l L p u l p f d i q g e j + l L q u l q g e j p f d i + x ˙ f d i g e j + x ˙ g e j f d i + y ˙ f d i g e j + y ˙ g e j f d i                               i , j I , | i < j                                       v f d i + v g e j 1                               ( i = j     d < e )                                 ( i = j     d = e     f < g )
                              p P f ,   q P g , f F i ,                                 g F j ,   d D i , e D j , l L p u l p f d i q g e j + l L q u l q g e j p f d i + x ˙ f d i g e j + x ˙ g e j f d i + y ˙ f d i g e j + y ˙ g e j f d i                               i , j I , | i < j                                       L p + L q v f d i                               ( i = j     d < e )                                 ( i = j     d = e     f < g )
                              p P f ,   q P g , f F i ,                                 g F j ,   d D i , e D j , l L p u l p f d i q g e j + l L q u l q g e j p f d i + x ˙ f d i g e j + x ˙ g e j f d i + y ˙ f d i g e j + y ˙ g e j f d i                               i , j I , | i < j                                       L p + L q v g e j                                 ( i = j     d < e )                                 ( i = j     d = e     f < g )
The second modification includes the first one and Constraints (33)–(35). Constraints (33) and (34) determine if two pieces are separated through their bounding boxes by defining the value of variable s f d i g e j . Constraint (35) dictates that no separating line must be determined among any pair of convex sub-pieces if the optimizer separates the respective pieces by their bounding boxes. Therefore, the second modification is more aggressive than the first one, aiming to eliminate symmetries considering the separating lines in pieces separated by their bounding boxes.
s f d i g e j x ˙ f d i g e j + x ˙ g e j f d i + y ˙ f d i g e j + y ˙ g e j f d i                               f F i ,   g F j ,   d D i , e D j ,   i , j I , | i < j     ( i = j     d < e )   ( i = j     d = e     f < g )
2 s f d i g e j x ˙ f d i g e j + x ˙ g e j f d i + y ˙ f d i g e j + y ˙ g e j f d i                               f F i ,   g F j ,   d D i , e D j ,   i , j I , | i < j     ( i = j     d < e )   ( i = j     d = e     f < g )
l L p u l p f d i q g e j + l L q u l q g e j p f d i L p + L q 1 s f d i g e j                               f F i ,   g F j ,   d D i , e D j ,   i , j I , | i < j     ( i = j     d < e )   ( i = j     d = e     f < g )

5. Results

This section details the results and analysis of the computational experiments. This study has employed a comprehensive set of 90 instances (see Appendix A) to ensure a robust comparison across the models. Considerable effort was made to compile instances from various authors, which enhances the dataset’s diversity and improves this study’s rigor. Therefore, the findings are less biased towards specific types of instances and apply to various practical scenarios.
These instances typically specify a range of permissible rotations or orientations for the pieces. However, this study establishes three scenarios regarding rotations resulting in 270 evaluated instances:
  • No rotation: Pieces are placed as provided, i.e., the only allowed rotation is 0°.
  • Two rotations: Pieces may rotate 180°, allowing placements at 0° and 180°.
  • Four rotations: Pieces may rotation by 90° increments, enabling placements at 0°, 90°, 180° and 270°.
The pieces of all instances were pre-decomposed into convex sub-polygons. Therefore, the time required for decomposition is not factored into our analysis. Applying the NDTM with arbitrary polygons would require preprocessing them with a convex decomposition algorithm [35,36,37].
The results presented in Table 6, Table 7, Table 8 and Table 9 are quantified using the following metrics:
  • Util. [%]: This represents the average strip utilization percentage, calculated from the optimal solution when available or based on the best feasible solution found (upper bound).
  • Time [s]: This shows the average time to find the optimal solution or until the computation time exceeds the time limit.
  • #Optimals: Counts the optimal solutions found across the instances.
  • #Feasibles: Tally of all feasible solutions found, including optimal ones.
  • Objective Function: This indicates the value of the strip’s length.
The results are presented in two formats: individual results and consensus results. The former shows the performance of each model across the entire set of instances. The latter shows the performance of each model considering only the instances where all models in the respective table found a solution (feasible or optimal).
All tests were conducted using multithreading (8 threads) on an Intel® Xeon® Gold 6242R processor 3.1 GHz with 32 GB of RAM. The models were implemented in C++, and the optimizer used was CPLEX 22.11. Each model was run with a time limit of 3600 s. The results are directly comparable since all models and test cases were implemented and executed under the same conditions.
The implementation of the models, instance data, solution files, and visuals can be found at the following repository: https://github.com/gfpantoja/NDTM.

5.1. Comparison between the DTM and the NDTM

There are two main differences between the DTM and the NDTM. First, NDTM1 and NDTM substitute the traditional D-function used in DTM with a signed distance in the separation constraint. Second, NDTM enhances the model’s flexibility by allowing the identification of multiple separating lines between convex sub-pieces. In contrast, DTM restricts this to exactly one separating line.
Table 6. Comparison between the DTM and the NDTM on the 270 instances.
Table 6. Comparison between the DTM and the NDTM on the 270 instances.
OrientationsMetricIndividual ResultsConsensus Results
DTMNDTM1NDTMDTMNDTM1NDTM
Util. [%]69.0568.2468.5269.0168.5269.66
Time [s]2386.712442.372499.792351.522391.902324.23
GAP [%]17.4618.6419.6017.1117.7816.56
#Optimals252426252426
#Feasibles717280696969
0°, 180°Util. [%]68.8968.9468.9768.8968.9470.05
Time [s]2381.512459.942527.742345.062408.832335.33
GAP [%]18.2318.0419.7617.8417.4516.67
#Optimals242524242524
#Feasibles697079676767
0°, 90°, 180°, 270°Util. [%]71.5370.2969.5571.6071.1871.27
Time [s]2494.792426.522485.642454.492340.942262.15
GAP [%]15.8317.3219.7315.2915.5415.87
#Optimals212122212122
#Feasibles575966555555
AggregateUtil. [%]69.7169.0868.9869.7269.4370.26
Time [s]2416.162443.842505.462378.902383.162310.25
GAP [%]17.2618.0419.6916.8517.0216.40
#Optimals707072707072
#Feasibles197201225191191191
The values in bold indicate the best metric value.
Table 6 shows that NDTM1 performs like DTM regarding the number of optimal solutions produced. However, NDTM1 finds more feasible solutions than the DTM. When evaluating NDTM against DTM, the results consistently favor NDTM, highlighting superior performance metrics. This improvement underscores the effectiveness of the modifications introduced in NDTM. Figure 8 shows the two additional optimal solutions the NDTM found compared to the DTM.
The first modification, implemented in NDTM1, enhances solution interpretability while not yielding significant advancements in optimal solution outcomes. The NDTM1 (and NDTM) indicate which lines are separating ones (as DTM does) and quantify the distance by which the convex pieces are separated. The second modification, exclusive to NDTM, substantially increases both the quantity of optimal and feasible solutions. These enhancements are attributed to the increased model flexibility by allowing multiple separation lines.
Table 6 demonstrates the expected behavior of optimization models, where increasing the problem size yields fewer optimal and feasible solutions. In this context, the problem size is closely related to the complexity of the pieces (e.g., if a piece is composed of more convex sub-polygons and these sub-polygons have more edges), the number of pieces, and the valid rotations for each piece. Therefore, a detailed analysis of the model’s behavior based on the complexity of the instances is challenging. However, some insights can be drawn from the data in Table 6, considering only the valid rotations. Specifically, Table 6 shows that as the problem size grows (i.e., more valid rotations for each piece), both models, DTM and NDTM, tend to decrease the number of optimal and feasible solutions. This phenomenon occurs because, in combinatorial problems like this, expanding the solution space makes it increasingly difficult for the optimizer to find even a feasible solution. However, it is worth noting that the flexibility of the NDTM over the DTM results in more feasible solutions than the DTM.
An in-depth analysis of the DTM and NDTM models can be conducted by examining their relaxed versions, i.e., assuming that the binary variables are continuous. For this analysis, 25 instances were selected in a no-rotation scenario to minimize the noise associated with multiple rotations. These instances ensured that both models returned an optimal solution. Table 7 presents the objective function values obtained from both the relaxed and non-relaxed versions of the models. This data indicates that both models achieve the same objective function values. This outcome is expected as both models are founded on the same mathematical principles and apply identical bounds to the objective function. These bounds ensure the relaxed solution does not deviate significantly from the non-relaxed solution. Table 7 also shows that, in some cases, the non-relaxed solution is identical to the relaxed solution. Moreover, in no case does the objective function of the non-relaxed solutions exceed twice that of the relaxed solutions.
Table 7. Comparison between the relaxed and non-relaxed formulations of the DTM and the NDTM on the 25 instances without rotations.
Table 7. Comparison between the relaxed and non-relaxed formulations of the DTM and the NDTM on the 25 instances without rotations.
InstanceRelaxed FormulationsNon-Relaxed Formulations
Objective FunctionTime [s]Objective FunctionTime [s]
DTMNDTMDTMNDTM
Blaz1_15.40.050.077.4492.58378.07
Dagli_1230.040.07232.835.10
Dighe21000.050.06100335.1914.83
Fu_1025.44740.070.0628.6875172.33399.34
Fu_5140.070.0717.88890.450.27
Fu_616.68420.050.08230.100.23
Fu_718.52630.060.03240.140.44
Fu_819.71050.060.06240.300.52
Fu_922.28950.070.06251.615.86
Metal0_3294.5760.060.065010.120.15
Metal0_4346.0960.060.065010.150.14
Metal0_5359.160.060.065010.250.14
Metal0_6461.0640.060.057850.480.76
Metal0_72840.060.0750181.263.34
Metal0_8328.8440.070.0752924.3914.20
Metal0_9364.0440.060.0752957.7932.61
Metal1_12860.070.07286195.1115.88
Poly1c130.070.0813125.3834.63
Shapes_4140.060.06240.580.24
Shapes2140.070.06144.9010.48
Shirts1_2130.060.07133.383.63
Three40.060.0661.950.06
Threep26.571430.060.029.333332.090.63
Threep2w95.111110.060.0685.502.32
Threep39.857140.060.0613.53332290.332498.72
It is important to note that the only integer (binary) variables in both models (DTM and NDTM) are associated with determining the separating lines between each pair of convex polygons. Thus, relaxing these variables affects the non-overlapping constraint. Consequently, this analysis evaluates the impact of this constraint on the model. The results indicate that this constraint significantly influences the objective function.

5.2. Results of the NDTM with the Separation Constraint

The modification introduced within NDTM1 and NDTM facilitates the interpretation of the results and allows the incorporation of the separation constraint. This constraint is absent in classic problem instances, i.e., no separating values are indicated. Therefore, this study used two separation values corresponding to 1% and 10% of the strip’s width (see Figure 9), with the detailed outcomes presented in Table 7.
Table 8. Results of the NDTM with the separation constraint on the 270 instances.
Table 8. Results of the NDTM with the separation constraint on the 270 instances.
OrientationsMetricIndividual ResultsConsensus Results
s = 0 s 1 % s 10 % s = 0 s 1 % s 10 %
Util. [%]68.5262.7836.9868.5063.0837.20
Time [s]2499.792617.842923.812471.552554.832880.42
GAP [%]19.6024.3145.3019.3023.1843.94
#Optimals262519262519
#Feasibles808383787878
0°, 180°Util. [%]68.9763.4837.9769.3163.9038.36
Time [s]2527.742737.942891.332470.392691.882862.96
GAP [%]19.7624.3146.3318.8223.2445.31
#Optimals242017242017
#Feasibles797978757575
0°, 90°, 180°, 270°Util. [%]69.5565.3539.7170.6166.1140.61
Time [s]2485.642668.162883.572393.702649.752809.00
GAP [%]19.7322.1646.1017.8821.0243.72
#Optimals221714211614
#Feasibles666364585858
AggregateUtil. [%]68.9863.7438.1069.3764.2038.55
Time [s]2505.462674.102901.102449.742629.632854.58
GAP [%]19.6923.7145.8818.7422.6144.37
#Optimals726250716150
#Feasibles225225225211211211
Incorporating the separation (or distance) constraint does not increase the number of variables or the constraints within the model. However, as shown in Table 8, incorporating the separation parameter into the non-overlapping constraint significantly complicates the problem-solving process as the minimum separation between pieces increases. The distance parameter does not significantly affect the overall count of feasible solutions. However, the optimizer’s performance varies with different separation settings, as evidenced by the discrepancies between the number of feasible solutions shown in the individual and consensus results. This variation underscores the model’s sensitivity to the defined separation, impacting how effectively the optimizer can find feasible solutions under varying constraints.

5.3. Results of the NDTM with the Non-Overlapping Constraints Based on Bound Boxes

In addition to the primary modifications made to the DTM that resulted in the NDTM, this study introduces two further modifications, the impacts of which are documented in Table 9. These modifications, referred to as Mod1 and Mod2, facilitate the separation of distant pieces using their bounding boxes. However, they differ in the strictness with which these separations are implemented. Mod1 allows the model to determine that a pair of sub-pieces are separated because at least one separating line exists between them, the bounding boxes of the respective pieces are separated, or by both methods. Mod2, however, strictly uses the separating lines when a pair of pieces is not indicated to be separated by their bounding boxes.
Table 9. Results of the NDTM with additional valid constraints on the 270 instances.
Table 9. Results of the NDTM with additional valid constraints on the 270 instances.
OrientationsMetricIndividual ResultsConsensus Results
NDTMMod1Mod2NDTMMod1Mod2
Util. [%]68.5268.4566.9468.5269.0468.38
Time [s]2499.792693.332802.642499.792602.052702.47
GAP [%]19.6021.4923.5819.6019.9020.96
#Optimals262421262421
#Feasibles808890808080
0°, 180°Util. [%]68.9767.7268.6668.9768.4169.23
Time [s]2527.742799.612705.752527.742748.732637.60
GAP [%]19.7622.5521.7319.7621.2520.43
#Optimals241922241922
#Feasibles798485797979
0°, 90°, 180°, 270°Util. [%]69.5568.1167.5469.5570.0870.08
Time [s]2485.642738.752903.642485.642607.602765.49
GAP [%]19.7322.7623.7419.7319.4019.48
#Optimals221919221919
#Feasibles667679666666
AggregateUtil. [%]68.9868.1067.7068.9869.1269.18
Time [s]2505.462743.252801.632505.462655.182698.18
GAP [%]19.6922.2423.0119.6920.2320.34
#Optimals726262726262
#Feasibles225248254225225225
The values in bold indicate the best metric value.
The results presented in Table 9 indicate that while both modifications reduce the number of optimal solutions found, they significantly increase the number of feasible solutions. The increase in feasible solutions can be attributed to bounding boxes, simplifying finding feasible arrangements by dealing with less complex shapes (boxes) than irregular items. The reduction in optimal solutions is due to the additional constraints and variables introduced by these modifications, which increase the complexity and size of the model, thereby making it more challenging to solve.

6. Conclusions

The NDTM proposed in this study marks a significant advancement in solving the Irregular Strip Packing Problem (ISPP) by integrating the separation (or distance) constraint that mandates a minimum separation distance between items. This novel approach not only facilitates compliance with industry-specific requirements but also enhances the packing model’s practical utility. The findings indicate that the NDTM provides a more flexible and efficient framework than the DTM because it allows multiple separation lines.
Moreover, the study’s computational experiments demonstrate that incorporating non-overlapping constraints based on bounding boxes within the NDTM delivers superior performance in generating feasible solutions at the cost of optimality. This trade-off may be advantageous in practical applications.
Including the distance constraint within a trigonometry-based MILP framework (NDTM) opens new avenues for further research to integrate more industry-related constraints to expand packing problem applications in two and three dimensions.

Author Contributions

Conceptualization, D.Á.-M. and F.P.T.; methodology, G.P.-B.; validation, G.P.-B.; formal analysis, D.Á.-M.; investigation, F.P.T.; resources, D.Á.-M. and F.P.T.; writing—original draft preparation, G.P.-B.; writing—review and editing, D.Á.-M. and F.P.T.; supervision, D.Á.-M. and F.P.T.; project administration, D.Á.-M.; funding acquisition, D.Á.-M. and F.P.T. All authors have read and agreed to the published version of the manuscript.

Funding

This work has been partially supported by the Spanish Ministry of Science and Innovation, project PID2021-124975OB-I00, partially financed by FEDER funds. This work has also been partially supported by Consejería de Educación, Cultura y Deportes de la Junta de Comunidades de Castilla-La Mancha SBPLY/23/180225/000231. This research was possible thanks to funding from the Patrimonio Autónomo Fondo Nacional de Financiamiento para la Ciencia, la Tecnología y la Innovación Francisco José de Caldas.

Data Availability Statement

The implementation of the model in C++ language using CPLEX libraries, the instances, and the individual results of all test cases are found in the following repository: https://github.com/gfpantoja/NDTM (accessed on 20 June 2024).

Acknowledgments

We would like to thank the Spanish Ministry of Science and Innovation, FEDER, the Junta de Comunidades de Castilla-La Mancha, and the Ministry of Science, Technology and Innovation of Colombia for their financial support. We also extend our sincere thanks to the High-Performance Computing (HPC) service of the Centro de Servicios de TI para la Investigación at Universidad de los Andes for facilitating our computational experiments.

Conflicts of Interest

The authors declare no conflicts of interest.

Appendix A

The 90 instances used in this study are shown in Table A1.
Table A1. Instances used for the computational experiments.
Table A1. Instances used for the computational experiments.
Instance W Area of Pieces# Types of Pieces# PiecesAVG #Convex Sub-PiecesAVG #Edges Convex Sub-PiecesReference
Albano490042,656,7858242.084.4[38]
Blaz1_11581771.574.73[25]
Blaz1_2151627141.574.73[25]
Blaz1_3152437211.574.73[25]
Blaz1_4153247281.574.73[39]
Blaz1_5154057351.574.73[25]
Blaz215282.54201.505.67[39]
BlazP2_141521711425[25]
BlazP2_2115325.512125[25]
BlazP2_281543412825[25]
BlazP2_3515542.513525[25]
BlazP2_715108.51725[25]
BlazP2P4_11_1015280.522125[25]
BlazP2P4_14_141537122825[25]
BlazP2P4_18_171546623525[25]
BlazP2P4_21_2115556.524225[25]
BlazP2P4_28_281574225625[25]
BlazP2P4_35_3515927.527025[25]
BlazP2P4_4_315952725[25]
BlazP2P4_7_715185.521425[25]
BlazP4_141515411425[25]
BlazP4_211523112125[25]
BlazP4_281530812825[25]
BlazP4_351538513525[25]
BlazP4_715771725[25]
Dagli603042.910301.74.24[40]
Dagli_1601014.310101.74.24[41]
Dighe110010,00016161.063.76[42]
Dighe210010,00010101.24.25[42]
Fu381083121213.58[43]
Fu_1038967101013.7[44]
Fu_5384385513.6[44]
Fu_6386346613.67[44]
Fu_7387047713.71[44]
Fu_8387498813.75[44]
Fu_9388479913.67[44]
Jakobs14039225251.44.17[45]
Jakobs270135125251.684[45]
Mao25503,758,6179202.74.48[46]
Marques10471948242.174.19[47]
Metal0_10750196,80610101.74.53[6]
Metal0_11750208,80610111.644.5[6]
Metal0_12750221,68610121.584.47[6]
Metal0_13750224,95210131.544.65[6]
Metal0_325073,6443324[6]
Metal0_425086,524441.754[6]
Metal0_525089,790551.64.5[6]
Metal0_6250115,266662.174.38[6]
Metal0_7500130,2667724.36[6]
Metal0_8500164,422881.884.6[6]
Metal0_9500182,022991.784.56[6]
Metal1_11000228,21810141.54.81[6]
Metal1_21000456,43610281.54.81[6]
Metal1_31000684,65410421.54.81[6]
Metal1_41000912,87210561.54.81[6]
Metal1_510001,141,09010701.54.81[6]
Metal2_21000242,4045181.335[6]
Metal2_31000363,6065271.335[6]
Metal2_41000484,8085361.335[6]
Metal2_51000606,0105451.335[6]
Metal3_21000214,0325101.84.56[6]
Metal3_31000321,0485151.84.56[6]
Metal3_41000428,0645201.84.56[6]
Metal3_51000535,0805251.84.56[6]
Poly1a4041015151.43.76[41]
Poly1b40494.515151.474.18[41]
Poly1c40315.515151.474[41]
Poly1d4032715151.334.2[41]
Poly1e4028915151.43.76[41]
Shapes_413160442.54.1[44]
Shapes_820320482.54.1[44]
Shapes14015964432.604.08[39]
Shapes240320482.54.1[25]
Shapes4406404162.54.1[25]
Shapes5408004202.54.1[25]
Shapes74011204282.54.1[25]
Shapes94012964342.594.10[25]
Shirts4021608991.634.34[48]
Shirts1_2402758131.624.33[41]
Shirts2_4405508261.624.33[41]
Shirts3_6408258391.624.33[41]
Shirts4_84011008521.624.33[41]
Shirts5_104013758651.624.33[41]
Swim575225,445,02410486.54.77[39]
Three7233313.67[44]
Threep27463613.67[44]
Threep2w99463613.67[44]
Threep37693913.67[44]
Threep3w99693913.67[44]
Trousers7917,206.517641.624.5[39]

References

  1. Abeysooriya, R.P.; Bennell, J.A.; Martinez-Sykora, A. Jostle heuristics for the 2D-irregular shapes bin packing problems with free rotation. Int. J. Prod. Econ. 2018, 195, 12–26. [Google Scholar] [CrossRef]
  2. Oliveira, L.T.; Silva, E.F.; Oliveira, J.F.; Toledo, F.M.B. Integrating irregular strip packing and cutting path determination problems: A discrete exact approach. Comput. Ind. Eng. 2020, 149, 106757. [Google Scholar] [CrossRef]
  3. Rodrigues, M.O.; Toledo, F.M.B. A clique covering MIP model for the irregular strip packing problem. Comput. Oper. Res. 2017, 87, 221–234. [Google Scholar] [CrossRef]
  4. Martello, S.; Monaci, M.; Vigo, D. An exact approach to the strip-packing problem. INFORMS J. Comput. 2003, 15, 310–319. [Google Scholar] [CrossRef]
  5. Lastra-Díaz, J.J.; Ortuño, M.T. Mixed-integer programming models for irregular strip packing based on vertical slices and feasibility cuts. Eur. J. Oper. Res. 2024, 313, 69–91. [Google Scholar] [CrossRef]
  6. Cherri, L.H.; Mundim, L.R.; Andretta, M.; Toledo, F.M.B.; Oliveira, J.F.; Carravilla, M.A. Robust mixed-integer linear programming models for the irregular strip packing problem. Eur. J. Oper. Res. 2016, 253, 570–583. [Google Scholar] [CrossRef]
  7. Wäscher, G.; Haußner, H.; Schumann, H. An improved typology of cutting and packing problems. Eur. J. Oper. Res. 2007, 183, 1109–1130. [Google Scholar] [CrossRef]
  8. Litvinchev, I.; Fischer, A.; Romanova, T.; Stetsyuk, P. A New Class of Irregular Packing Problems Reducible to Sphere Packing in Arbitrary Norms. Mathematics 2024, 12, 935. [Google Scholar] [CrossRef]
  9. Stoyan, Y.; Pankratov, A.; Romanova, T. Quasi-phi-functions and optimal packing of ellipses. J. Glob. Optim. 2016, 65, 283–307. [Google Scholar] [CrossRef]
  10. Stoyan, Y.; Pankratov, A.; Romanova, T. Placement Problems for Irregular Objects: Mathematical Modeling, Optimization and Applications. In Optimization Methods and Applications; Butenko, S., Pardalos, P., Shylo, V., Eds.; Springer International Publishing: Cham, Switzerland, 2017; pp. 521–559. [Google Scholar] [CrossRef]
  11. Rao, Y.; Luo, Q. Intelligent Algorithms for Irregular Packing Problem. In Intelligent Algorithms for Packing and Cutting Problem; Rao, Y., Luo, Q., Eds.; Springer Nature: Singapore, 2022; pp. 55–95. [Google Scholar] [CrossRef]
  12. Cai, S.; Deng, J.; Lee, L.H.; Chew, E.P.; Li, H. Heuristics for the two-dimensional irregular bin packing problem with limited rotations. Comput. Oper. Res. 2023, 160, 106398. [Google Scholar] [CrossRef]
  13. Martinez-Sykora, A.; Alvarez-Valdes, R.; Bennell, J.A.; Ruiz, R.; Tamarit, J.M. Matheuristics for the irregular bin packing problem with free rotations. Eur. J. Oper. Res. 2017, 258, 440–455. [Google Scholar] [CrossRef]
  14. Umetani, S.; Murakami, S. Coordinate descent heuristics for the irregular strip packing problem of rasterized shapes. Eur. J. Oper. Res. 2022, 303, 1009–1026. [Google Scholar] [CrossRef]
  15. Liu, Q.; Zhang, H.; Lijun, W. An Enhanced Whale Optimization Algorithm for the Two-Dimensional Irregular Strip Packing Problem. In Proceedings of the 33rd International Conference on Industrial, Engineering and Other Applications of Applied Intelligent Systems, IEA/AIE 2020, Kitakyushu, Japan, 22–25 September 2020; pp. 250–261. [Google Scholar] [CrossRef]
  16. Sato, A.K.; Martins, T.C.; Gomes, A.M.; Tsuzuki, M.S.G. Raster penetration map applied to the irregular packing problem. Eur. J. Oper. Res. 2019, 279, 657–671. [Google Scholar] [CrossRef]
  17. Sato, A.K.; de Sales Guerra Tsuzuki, M.; de Castro Martins, T.; Gomes, A.M. Multiresolution based overlap minimization algorithm for irregular packing problems. IFAC-PapersOnLine 2015, 48, 484–489. [Google Scholar] [CrossRef]
  18. Fang, J.; Rao, Y.; Zhao, X.; Du, B. A Hybrid Reinforcement Learning Algorithm for 2D Irregular Packing Problems. Mathematics 2023, 11, 327. [Google Scholar] [CrossRef]
  19. Liu, C.; Si, Z.; Hua, J.; Jia, N. Optimizing Two-Dimensional Irregular Packing: A Hybrid Approach of Genetic Algorithm and Linear Programming. Appl. Sci. 2023, 13, 12474. [Google Scholar] [CrossRef]
  20. Júnior, B.A.; Pinheiro, P.R.; Coelho, P.V. A Parallel Biased Random-Key Genetic Algorithm with Multiple Populations Applied to Irregular Strip Packing Problems. Math. Probl. Eng. 2017, 2017, 1670709. [Google Scholar] [CrossRef]
  21. Cherri, L.H.; Carravilla, M.; Toledo, F. A model-based heuristic for the irregular strip packing problem. Pesqui. Oper. 2016, 36, 447–468. [Google Scholar] [CrossRef]
  22. Cherri, L.H.; Carravilla, M.A.; Ribeiro, C.; Toledo, F.M.B. Optimality in nesting problems: New constraint programming models and a new global constraint for non-overlap. Oper. Res. Perspect. 2019, 6, 100125. [Google Scholar] [CrossRef]
  23. Wang, A.; Hanselman, C.L.; Gounaris, C.E. A customized branch-and-bound approach for irregular shape nesting. J. Glob. Optim. 2018, 71, 935–955. [Google Scholar] [CrossRef]
  24. Cherri, L.H.; Cherri, A.C.; Soler, E.M. Mixed integer quadratically-constrained programming model to solve the irregular strip packing problem with continuous rotations. J. Glob. Optim. 2018, 72, 89–107. [Google Scholar] [CrossRef]
  25. Toledo, F.M.B.; Carravilla, M.A.; Ribeiro, C.; Oliveira, J.F.; Gomes, A.M. The Dotted-Board Model: A new MIP model for nesting irregular shapes. Int. J. Prod. Econ. 2013, 145, 478–487. [Google Scholar] [CrossRef]
  26. Sato, A.K.; de Sales Guerra Tsuzuki, M.; de Castro Martins, T.; Gomes, A.M. Study of the grid size impact on a raster based strip packing problem solution. IFAC-PapersOnLine 2016, 49, 143–148. [Google Scholar] [CrossRef]
  27. Sato, A.K.; Bauab, G.E.S.; de Castro Martins, T.; de Sales Guerra Tsuzuki, M.; Gomes, A.M. A Study in Pairwise Clustering for Bi-dimensional Irregular Strip Packing Using the Dotted Board Model. IFAC-PapersOnLine 2018, 51, 284–289. [Google Scholar] [CrossRef]
  28. Leao, A.A.S.; Toledo, F.M.B.; Oliveira, J.F.; Carravilla, M.A. A semi-continuous MIP model for the irregular strip packing problem. Int. J. Prod. Res. 2016, 54, 712–721. [Google Scholar] [CrossRef]
  29. Stoyan, Y.; Pankratov, A.; Romanova, T. Cutting and packing problems for irregular objects with continuous rotations: Mathematical modelling and non-linear optimization. J. Oper. Res. Soc. 2016, 67, 786–800. [Google Scholar] [CrossRef]
  30. Peralta, J.; Andretta, M.; Oliveira, J.F. Solving irregular strip packing problems with free rotations using separation lines. Pesqui. Oper. 2018, 38, 195–214. [Google Scholar] [CrossRef]
  31. Santoro, M.C.; Lemos, F.K. Irregular packing: MILP model based on a polygonal enclosure. Ann. Oper. Res. 2015, 235, 693–707. [Google Scholar] [CrossRef]
  32. Oliveira, L.T.; Carravilla, M.A.; Oliveira, J.F.; Toledo, F.M.B. A Biobjective Matheuristic for the Integrated Solution of the Irregular Strip Packing and the Cutting Path Determination Problems. Pesqui. Oper. 2023, 43, e275212. [Google Scholar] [CrossRef]
  33. de Souza Queiroz, L.R.; Andretta, M. A branch-and-cut algorithm for the irregular strip packing problem with uncertain demands. Int. Trans. Oper. Res. 2022, 29, 3486–3513. [Google Scholar] [CrossRef]
  34. Bartmeyer, P.M.; Oliveira, L.T.; Leão, A.A.S.; Toledo, F.M.B. An expert system to react to defective areas in nesting problems. Expert. Syst. Appl. 2022, 209, 118207. [Google Scholar] [CrossRef]
  35. Fernández, J.; Cánovas, L.; Pelegrı, B. Algorithms for the decomposition of a polygon into convex polygons. Eur. J. Oper. Res. 2000, 121, 330–342. [Google Scholar] [CrossRef]
  36. Fernández, J.; Tóth, B.; Cánovas, L.; Pelegrín, B. A practical algorithm for decomposing polygonal domains into convex polygons by diagonals. TOP 2008, 16, 367–387. [Google Scholar] [CrossRef]
  37. Keil, J.M. Decomposing a Polygon into Simpler Components. SIAM J. Comput. 1985, 14, 799–817. [Google Scholar] [CrossRef]
  38. Albano, A.; Sapuppo, G. Optimal Allocation of Two-Dimensional Irregular Shapes Using Heuristic Search Methods. IEEE Trans. Syst. Man Cybern. 1980, 10, 242–248. [Google Scholar] [CrossRef]
  39. Oliveira, J.F.; Gomes, A.M.; Ferreira, J.S. TOPOS—A new constructive algorithm for nesting problems. OR-Spektrum 2000, 22, 263–284. [Google Scholar] [CrossRef]
  40. Ratanapan, K.; Dagli, C.H. An object-based evolutionary algorithm for solving irregular nesting problems. In Proceedings of the Artificial Neural Networks in Engineering Conference (ANNIE’97), St. Louis, MO, USA, 9–12 November 1997; pp. 383–388. [Google Scholar]
  41. Rodrigues, M.O. Irregular and Quasi-Polyomino Strip Packing Problems. Doctoral Thesis, Universidade de São Paulo, São Paulo, Brazil, 2020. [Google Scholar]
  42. Dighe, R.; Jakiela, M.J. Solving Pattern Nesting Problems with Genetic Algorithms Employing Task Decomposition and Contact Detection. Evol. Comput. 1995, 3, 239–266. [Google Scholar] [CrossRef]
  43. Fujita, K.; Akagi, S.; Hirokawa, N. Hybrid Approach for Optimal Nesting Using a Genetic Algorithm and a Local Minimization Algorithm. In Proceedings of the International Design Engineering Technical Conferences and Computers and Information in Engineering Conference, Albuquerque, NM, USA, 19–22 September 1993; pp. 477–484. [Google Scholar] [CrossRef]
  44. Alvarez-Valdes, R.; Martinez, A.; Tamarit, J.M. A branch & bound algorithm for cutting and packing irregularly shaped pieces. Int. J. Prod. Econ. 2013, 145, 463–477. [Google Scholar] [CrossRef]
  45. Jakobs, S. On genetic algorithms for the packing of polygons. Eur. J. Oper. Res. 1996, 88, 165–181. [Google Scholar] [CrossRef]
  46. Bounsaythip, C.; Maouche, S. Irregular shape nesting and placing with evolutionary approach. In Proceedings of the 1997 IEEE International Conference on Systems, Man, and Cybernetics. Computational Cybernetics and Simulation, Orlando, FL, USA, 12–15 October 1997; Volume 4, pp. 3425–3430. [Google Scholar]
  47. Marques, V.M.M.; Bispo, C.F.G.; Sentieiro, J.J.S. A system for the compaction of two-dimensional irregular shapes based on simulated annealing. In Proceedings of the IECON ’91: 1991 International Conference on Industrial Electronics, Control and Instrumentation, Kobe, Japan, 28 October–1 November 1991; Volume 3, pp. 1911–1916. [Google Scholar] [CrossRef]
  48. Dowsland, K.A.; Dowsland, W.B.; Bennell, J.A. Jostling for position: Local improvement for irregular cutting patterns. J. Oper. Res. Soc. 1998, 49, 647–658. [Google Scholar] [CrossRef]
Figure 1. Separation constraint between two convex polygons, considering the cases of (a) edge-to-edge separation, (b) edge-to-vertex separation, and (c) vertex-to-vertex separation.
Figure 1. Separation constraint between two convex polygons, considering the cases of (a) edge-to-edge separation, (b) edge-to-vertex separation, and (c) vertex-to-vertex separation.
Mathematics 12 02414 g001
Figure 2. Comparison of edge-to-vertex separation (ac) and item enlargement methods (df).
Figure 2. Comparison of edge-to-vertex separation (ac) and item enlargement methods (df).
Mathematics 12 02414 g002aMathematics 12 02414 g002b
Figure 3. Positive and negative sides of the lines associated with the edges of a convex polygon.
Figure 3. Positive and negative sides of the lines associated with the edges of a convex polygon.
Mathematics 12 02414 g003
Figure 4. Two convex polygons separated by a line. The separating line may be (a) arbitrary or (b) colinear to an edge of one of the polygons.
Figure 4. Two convex polygons separated by a line. The separating line may be (a) arbitrary or (b) colinear to an edge of one of the polygons.
Mathematics 12 02414 g004
Figure 5. The appropriate vertex (yellow) for each line (red) of the box (ad) and for each line of the triangle (eg) to determine their separation.
Figure 5. The appropriate vertex (yellow) for each line (red) of the box (ad) and for each line of the triangle (eg) to determine their separation.
Mathematics 12 02414 g005aMathematics 12 02414 g005b
Figure 6. Representation of an irregular Piece i I formed by the union of three convex polygons: P a r t 1 , i , P a r t 2 , i , and P a r t 3 , i . Each convex polygon has a set of oriented lines associated with its edges. P a r t 1 , i has L i n e 1,1 , L i n e 2,1 , L i n e 3,1 , and L i n e 4,1 . P a r t 2 , i has L i n e 1,2 , L i n e 2,2 , L i n e 3,2 , and L i n e 4,2 . P a r t 3 , i has L i n e 1,3 , L i n e 2,3 , and L i n e 3,3 .
Figure 6. Representation of an irregular Piece i I formed by the union of three convex polygons: P a r t 1 , i , P a r t 2 , i , and P a r t 3 , i . Each convex polygon has a set of oriented lines associated with its edges. P a r t 1 , i has L i n e 1,1 , L i n e 2,1 , L i n e 3,1 , and L i n e 4,1 . P a r t 2 , i has L i n e 1,2 , L i n e 2,2 , L i n e 3,2 , and L i n e 4,2 . P a r t 3 , i has L i n e 1,3 , L i n e 2,3 , and L i n e 3,3 .
Mathematics 12 02414 g006
Figure 7. Representation of the notation related to a piece i I used in the formulation of the NDTM.
Figure 7. Representation of the notation related to a piece i I used in the formulation of the NDTM.
Mathematics 12 02414 g007
Figure 8. Optimal solutions for two instances found by the NDTM, which the DTM did not find under the same conditions: (a) for the Metal3_2 instance with four rotations (0°, 90°, 180°, 270°), an objective function value of 286 was obtained in 38.52 s; and (b) for the Shapes_8 instance with one valid rotation (0°), an objective function value of 26 was obtained in 2079.09 s.
Figure 8. Optimal solutions for two instances found by the NDTM, which the DTM did not find under the same conditions: (a) for the Metal3_2 instance with four rotations (0°, 90°, 180°, 270°), an objective function value of 286 was obtained in 38.52 s; and (b) for the Shapes_8 instance with one valid rotation (0°), an objective function value of 26 was obtained in 2079.09 s.
Mathematics 12 02414 g008
Figure 9. Optimal solutions found by the NDTM for the instance Threep3 with different separations among items and no rotations: (a) without separation, the objective function value was 13.53, obtained in 2498.72 s; (b) with a separation of 1% of the strip’s width, the objective function value was 14.05, obtained in 950.57 s; and (c) with a separation of 10% of the strip’s width, the objective function value was 19.17, obtained in 2432.23 s.
Figure 9. Optimal solutions found by the NDTM for the instance Threep3 with different separations among items and no rotations: (a) without separation, the objective function value was 13.53, obtained in 2498.72 s; (b) with a separation of 1% of the strip’s width, the objective function value was 14.05, obtained in 950.57 s; and (c) with a separation of 10% of the strip’s width, the objective function value was 19.17, obtained in 2432.23 s.
Mathematics 12 02414 g009
Table 1. Parameters of the basic formulation for the NDTM.
Table 1. Parameters of the basic formulation for the NDTM.
ParameterDescription
W Strip’s width.
x i x-axis distance between the reference vertex and the furthest left vertex of piece i I .
x i + x-axis distance between the reference vertex and the furthest right vertex of piece i I .
y i y-axis distance between the reference vertex and the furthest down vertex of piece i I .
y i + y-axis distance between the reference vertex and the furthest up vertex of piece i I .
A l p i x coefficient of the line l L p of part p P i of piece i I .
B l p i y coefficient of the line l L p of part p P i of piece i I .
C l p i q j Relative position constant between the line l L p of part p P i of piece i I and the part q P j of piece j I .
M l p i q j Big-M constant for the relative position between the line l L p of part p P i of piece i I and the part q P j of piece j I .
Table 2. Variables of the basic formulation for the NDTM.
Table 2. Variables of the basic formulation for the NDTM.
VariableDescription
L Strip’s length.
x i x-axis position of the reference vertex of piece i I .
y i y-axis position of the reference vertex of piece i I .
u l p i q j Indicator variable. It is 1 if the line l L p separates part p P i of piece i I and the part q P j of piece j I . It is 0 otherwise.
Table 3. Parameters of the formulation for the general NDTM with modified indices.
Table 3. Parameters of the formulation for the general NDTM with modified indices.
ParameterDescription
x f i x-axis distance between the reference vertex and the further left vertex of the orientation f F i of piece type i I .
x f i + x-axis distance between the reference vertex and the further right vertex of the orientation f F i of piece type i I .
y f i y-axis distance between the reference vertex and the further down vertex of the orientation f F i of piece type i I .
y f i + y-axis distance between the reference vertex and the further up vertex of the orientation f F i of piece type i I .
A l p f i x coefficient of the line l L p of part p P f of orientation f F i of piece type i I .
B l p f i y coefficient of the line l L p of part p P f of orientation f F i of piece type i I .
C l p f i q g j Relative position constant between the line l L p of part p P f of orientation f F i of piece type i I and the part q P g of orientation g F j of piece type j I .
M l p f i q g j Big-M constant for the relative position between the line l L p of part p P f of orientation f F i of piece type i I and the part q P g of orientation g F j of piece type j I .
Table 4. Variables of the formulation for the general NDTM with modified indices.
Table 4. Variables of the formulation for the general NDTM with modified indices.
VariableDescription
x f d i x-axis position of the reference vertex of the piece with orientation f F i of the duplicate d D i of piece type i I .
y f d i y-axis position of the reference vertex of the piece with orientation f F i of the duplicate d D i of piece type i I .
v f d i Indicator variable. It is 1 if the piece with orientation f F i of the duplicate d D i of piece type i I is used. It is 0 otherwise.
u l p f d i q g e j Indicator variable. It is 1 if the line l L p separates part p P f of orientation f F i of duplicate d D i of piece type i I and the part q P g of orientation g F j of duplicate e D j of piece type j I . It is 0 otherwise.
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Pantoja-Benavides, G.; Álvarez-Martínez, D.; Parreño Torres, F. The Normalized Direct Trigonometry Model for the Two-Dimensional Irregular Strip Packing Problem. Mathematics 2024, 12, 2414. https://doi.org/10.3390/math12152414

AMA Style

Pantoja-Benavides G, Álvarez-Martínez D, Parreño Torres F. The Normalized Direct Trigonometry Model for the Two-Dimensional Irregular Strip Packing Problem. Mathematics. 2024; 12(15):2414. https://doi.org/10.3390/math12152414

Chicago/Turabian Style

Pantoja-Benavides, Germán, David Álvarez-Martínez, and Francisco Parreño Torres. 2024. "The Normalized Direct Trigonometry Model for the Two-Dimensional Irregular Strip Packing Problem" Mathematics 12, no. 15: 2414. https://doi.org/10.3390/math12152414

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop