exact and heuristic mip models for nesting problems
play

Exact and Heuristic MIP Models for Nesting Problems Matteo - PDF document

Exact and Heuristic MIP models for Nesting Problems Exact and Heuristic MIP Models for Nesting Problems Matteo Fischetti, Ivan Luzzi DEI, University of Padova presented at the EURO meeting, Istanbul, July 2003 Slide 1 Exact and Heuristic MIP


  1. Exact and Heuristic MIP models for Nesting Problems Exact and Heuristic MIP Models for Nesting Problems Matteo Fischetti, Ivan Luzzi DEI, University of Padova presented at the EURO meeting, Istanbul, July 2003 Slide 1

  2. Exact and Heuristic MIP models for Nesting Problems The Nesting Problem Given a set of 2-dimensional pieces of generic (irregular) form and a 2-dimensional container , find the best non-overlapping position of the pieces within the container. small pieces big pieces Pieces: 45/76 Length: 1652.52 Eff.: 85.86% Complexity : NP-hard (and very hard in practice) Slide 2

  3. Exact and Heuristic MIP models for Nesting Problems Literature Heuristics • J. Blazewicz, P. Hawryluk, R. Walkowiak, Using a tabu search approach for solving the two-dimensional irregular cutting problem , AOR 1993 • J.F.C. Oliveira, J.A.S. Ferreira, Algorithms for nesting problems , Springer-Verlag 1993 • K.A. Dowsland, W.B. Dowsland, J.A. Bennel, Jostling for position: local improvement for irregular cutting patterns , JORS 1998 • ... Containment & Compaction • K. Daniels, Z. Li, V. Milenkovic, Multiple Containment Methods , Technical Report TR-12-94, Harvard University, July 1994. • Z. Li, V. Milenkovic, Compaction and separation algorithms for non-convex polygons and their applications , EJOR 1995 • K. Daniels, Containment algorithms for non-convex polygons with applications to layout , PhD thesis 1995 • ... Branch & Bound • R. Heckmann, T. Lengauer, Computing closely matching upper and lower bounds on textile nesting problems , EJOR 1998 • ... Slide 3

  4. � ✁ �✁ Exact and Heuristic MIP models for Nesting Problems A MIP model for the nesting problem Input • We are given a set P of n := |P| pieces . The form of each piece is defined by a simple polygon described through the list of its vertices. In addition, each piece i is associated with an arbitrary reference point whose 2-dimensional coordinates v i = ( x i , y i ) will be used to define the placement of the piece within the container. • The container is assumed to be of rectangular form, with fixed height maxY and infinity length. top i (x , y ) maxY i i bottom i length left right i i Variables • v i = ( x i , y i ) : coordinates of the reference point of piece i • length : right margin of the used area within the container ("makespan") Objective Minimize length , i.e., maximize the percentage efficiency computed as: � n i =1 area i efficiency = length ∗ maxY ∗ 100 Slide 4

  5. Exact and Heuristic MIP models for Nesting Problems How to check/model the overlap between two pieces? The Minkowski sum of two polygons A and B is defined as: A ⊕ B = { a + b : a ∈ A, b ∈ B } The no-fit polygon between two polygons A and B is defined as U AB := A ⊕ ( − B ) y − y B A B touches A v B B does not v B intersect A v = (0,0) x − x A A B v B U AB B overlaps A Interpretation: place the reference point of polygon A at the origin; then the no-fit polygon represents the trajectory of the reference point of polygon B when it is moved around A so as to be in touch (with no overlap) with it. Slide 5

  6. Exact and Heuristic MIP models for Nesting Problems The Minkowski difference between polygons A and B is defines as: � A b A ⊖ B = b ∈ B The containment polygon corresponding to two polygons A and B is defined as: V AB := A ⊖ ( − B ) and represents the region of containment (without overlap) of a piece B inside a hole A . B A V AB Slide 6

  7. Exact and Heuristic MIP models for Nesting Problems Using the no-fit polygon How to express the non-overlapping condition between two pieces i and j ?      x j  x i  �∈ U ij v j − v i =  − ⇐ ⇒ v j − v i ∈ U ij , ∀ i, j ∈ P : i < j y j y i Partition the non-convex region U ij into a collection of m ij disjoint k polyhedra U ij called slices . y −y i j __5 __6 U ij U ij __4 __7 U ij U ij __8 U O ij x −x i __3 j U ij Uij __9 U __2 ij U ij __1 U ij Each slice can be represented through a set of linear constraints of the form: R 2 : A k k ij · u ≤ b k U ij = { u ∈ I ij } Slide 7

  8. Exact and Heuristic MIP models for Nesting Problems The MIP model A variant of a model by Daniels, Li, and Milenkovic (1994) Variables • v i = ( x i , y i ) : coordinates of the reference point of piece i • length : rightmost used margin of the container  k 1 if v j − v i ∈ U  ij • z k ij = ∀ i, j ∈ P : i < j, k = 1 . . . m ij 0 otherwise  Model � min length + ε ( x i + y i ) i ∈P s. t. left i ≤ x i ≤ length − right i ∀ bottom i ≤ y i ≤ maxY − top i ∀ i ∈ P A k ij ( v j − v i ) ≤ b k ij + M (1 − z k ij ) · 1 ∀ i, j ∈ P : i < j, k = 1 . . . m ij m ij � z k ij = 1 ∀ i, j ∈ P : i < j k =1 z k ij ∈ { 0 , 1 } ∀ i, j ∈ P : i < j, k = 1 . . . m ij Slide 8

  9. Exact and Heuristic MIP models for Nesting Problems Constraint coefficient lifting Issue: the use of big-M coefficients makes the LP relaxation of the model quite poor α kf ij ( x j − x i ) + β kf ij ( y j − y i ) ≤ γ kf ij + M (1 − z k ∀ f = 1 . . . t k ij ) ij Replace the big-M coefficient by: δ kfh α kf ij ( x j − x i ) + β kf := max ij ( y j − y i ) ij h ( v j − v i ) ∈ U ij ∩ B so as to obtain (easily computable) lifted constraints of the form: m ij α kf ij ( x j − x i ) + β kf � δ kfh z h ij ( y j − y i ) ≤ ij ij h =1 y −y i j h U ij 2 * maxY O x −x i j U ij k U ij 2 * maxX Slide 9

  10. Exact and Heuristic MIP models for Nesting Problems Some computational results 4 5 4 4 6 3 5 6 3 5 8 3 7 9 7 1 1 2 1 2 2 INSTANCE PIECES INT PRIOR NODES TIME GAP Glass1 5 73 no 470 0.26” 0% yes 111 0.11” 0% Glass2 7 173 no 100,000 97.40” 32.08% yes 11,414 13.29” 0% Glass3 9 302 no 100,000 157.76” 59.82% yes 100,000 203.48” 58.70% PRIOR yes/no refers to the use of a specific branching strategy based on "clique priorities" Solved with ILOG-CPLEX 7.0 on a PC AMD Athlon/1.2 GHz "Not usable in practice for real-world problems" Slide 10

  11. Exact and Heuristic MIP models for Nesting Problems Multiple Containment Problem An important subproblem: after having placed the "big pieces", find the best placement of the remaining "small pieces" by using the holes left by the big ones. A greedy approach for placing the small pieces can produce poor results Aim: Define an approximate MIP for guiding the placement of the small pieces Idea: Small pieces can be approximated well by rectangles Input • Set P of n small pieces • Set H of m irregular polygons representing the available holes Slide 11

  12. ☞✌ ✍✎ ✙✚ ✒✓ ✏✑ �✁ ✂✄ ☎✆ ✝✞ ✟✠ ✡☛ Exact and Heuristic MIP models for Nesting Problems Geometrical considerations • rectangular approximation of the small pieces • original holes and usable holes • placement grid within each hole. ✛✕✛ ✜✕✜ ✢✕✢✣ ✗✕✗ ✘✕✘ ✔✕✔✖ Slide 12

  13. Exact and Heuristic MIP models for Nesting Problems An approximate multiple-containment MIP model R h C h ( holeArea h · U h − � � � � pieceArea p · Z hp min rc ) r =1 c =1 h ∈H p ∈P R h C h � � � ( X h rc + Y h + ε rc ) h ∈H r =1 c =1 � Z hp ≤ U h s. t. ∀ h ∈ H , r = 1 . . . R h , c = 1 . . . C h rc p ∈P R h C h � � � Z hp ≤ holeArea h ∀ h ∈ H pieceArea p rc r =1 c =1 p ∈P � X h length p Z hp rc + ≤ X r, c +1 rc p ∈P ∀ h ∈ H , r = 1 . . . R h , c = 1 . . . C h − 1 � X h length p Z hp ≤ rowEnd h rc + rc r p ∈P ∀ h ∈ H , r = 1 . . . R h , c = C h C h � � Z hp ≤ rowLength h length p ∀ h ∈ H , r = 1 . . . R h rc r c =1 p ∈P � Y h width p Z hp rc + ≤ Y r +1 , c rc p ∈P ∀ h ∈ H , r = 1 . . . R h − 1 , c = 1 . . . C h � Y h width p Z hp ≤ colEnd h rc + rc c p ∈P ∀ h ∈ H , r = R h , c = 1 . . . C h R h � � Z hp ≤ colWidth h ∀ h ∈ H , c = 1 . . . C h width p rc c r =1 p ∈P Slide 13

  14. Exact and Heuristic MIP models for Nesting Problems Bounds on the variables max( rowStart h r , origX h + ( c − 1) · cellLength h ) ≤ X h rc ≤ min( rowEnd h r , origX h + ( c ) · cellLength h ) ∀ h ∈ H , r = 1 . . . R h , c = 1 . . . C h max( colStart h c , origY h + ( r − 1) · cellWidth h ) ≤ Y h rc ≤ min( colEnd h c , origY h + r · cellWidth h ) ∀ h ∈ H , r = 1 . . . R h , c = 1 . . . C h U h ∈ { 0 , 1 } ∀ h ∈ H Z hp rc ∈ { 0 , 1 } ∀ h ∈ H , p ∈ P , r = 1 . . . R h , c = 1 . . . C h Remark 1: Solvable in short computing time Remark 2: To be followed by a greedy post-processing procedure for fixing possible overlaps Remark 3: Sequential approach: big pieces placed first, "special pieces" of intermediate size/difficulty second, and "trims" last. Slide 14

  15. Exact and Heuristic MIP models for Nesting Problems Example: Smart vs. greedy placement of "special pieces" Pieces: 34/76 Length: 1643.53 Eff.: 83.97% Pieces: 30/76 Length: 1634.55 Eff.: 81.54% Slide 15

  16. Exact and Heuristic MIP models for Nesting Problems Example (cont’d): Smart vs. greedy placement of "trims" Pieces: 44/76 Length: 1665.50 Eff.: 86.13% Pieces: 42/76 Length: 1660.87 Eff.: 85.67% Slide 16

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend