Problemadvanced
Cutting sequence planning
Also called laser cutting path planning, cutting path optimization.
Order the contours cut from a sheet and choose their pierce points to minimise idle travel, a generalized traveling salesman problem with precedence.
Cutting sequence planning chooses the order in which a laser, plasma or water jet cutter cuts the contours of the parts on a sheet, and the pierce point where each cut starts. The layout of the parts on the sheet is fixed before, by nesting. The cutting time itself does not depend on the order, since every contour is cut once at its own speed. What the plan can change is the idle travel: the moves of the head with the beam off, from the end of one contour to the pierce point of the next. Some orders are not allowed. A hole in a part must be cut before the outer contour of the part, since the part can drop or move once it is free. So the problem is a traveling salesman problem in which each city is a contour with a choice of points, the generalized traveling salesman problem, with precedence constraints. This page states it, proves that it is NP-hard, and solves a small instance.
In plain words
A laser cutter cuts many parts from one sheet of metal. For each shape, the head goes to a point on the shape, burns a hole there (a pierce), and follows the shape around until it is back at the pierce. Then it moves with the beam off to the next shape. These moves cost time and add nothing to the parts.
The planner picks the order of the shapes and the point on each shape where the cut starts, so that the moves are short. One rule limits the order: holes inside a part come first, and the outside of the part comes last, because a part that is cut free can drop, tilt or shift, and then its holes would be cut in the wrong place.
Definition
There is no standard formal statement of cutting sequence planning. The following version is the common core of the work that Dewil, Vansteenwegen and Cattrysse (2016) review.
The generalized TSP. The generalized traveling salesman problem (GTSP) is defined here, since it has no page of its own. Its input is a set of nodes split into disjoint clusters , and a cost for each ordered pair of nodes. A solution is a closed tour that visits exactly one node of each cluster. The goal is a tour of least total cost. With one node per cluster it is the traveling salesman problem.
Input.
- Closed contours on the sheet, from the nesting layout.
- For each contour , a finite set of allowed pierce points.
- A home point of the head.
- A travel time between points: the Euclidean distance over the speed for a head that moves along straight lines, or for a gantry whose axes move at the same time with their own top speeds.
- A precedence relation on the contours: when lies inside , so must be cut before .
Output. An order of the contours that is a linear extension of , and a pierce point for each contour.
Objective. A closed contour starts and ends at its pierce point, so the idle travel is
and the goal is to minimize it. This is a GTSP with the home point as a cluster of its own, the clusters , and precedence between clusters. In versions where the head does not return home, drop the last term.
Variants
- Free pierce points. The pierce point can be any point of the contour, not one of a finite set. Then the choice is continuous, and a common method is to sample each contour.
- Contours cut in pieces. A contour may be cut in several pieces with moves between them, for example to spread the heat. This gives more freedom and more choices.
- Common line cutting. Two parts that share an edge in the layout are cut with one pass along that edge. This changes the contours, so it joins sequencing with nesting.
- Heat constraints. The cutter must not cut near a region that it has just cut, to limit distortion of the sheet.
- Tip-up avoidance. A part that is cut free can tilt up, and the head must not travel over it. This adds rules on the order and on the travel paths.
- Single tool sequencing in machining. The same model, with holes or pockets as contours, is the hole sequencing case of operation sequencing.
Examples
Two parts with holes. A sheet holds two rectangular parts with a round hole each. All lengths are in mm, and the travel time is the Euclidean distance. The home point is . Each contour has four allowed pierce points.
| contour | shape | pierce points |
|---|---|---|
| rectangle | its four corners | |
| circle of radius 5 at , inside | ||
| rectangle | its four corners | |
| circle of radius 5 at , inside |
The precedence is and . The head does not return home.
- A careless plan. Order , with the first listed pierce point of each contour: . The travel is mm.
- Optimum. The same order with the pierce points . The travel is mm.
There are 6 orders that respect the precedence and choices of pierce points, so 1536 plans. A check of all of them finds 81.47 mm as the minimum, 42 percent less travel than the careless plan. The good plan pierces each contour on the side that faces the next one.
Known algorithms
- Pierce points for a fixed order. For a fixed order, the best pierce points are a shortest path in a layered graph: one layer per contour, one node per pierce point, and an arc of cost between nodes of consecutive layers. With points per contour this takes time, as a shortest path in a graph with no cycle. Many heuristics alternate this step with a change of the order.
- Transformation to the TSP. Noon and Bean (1993) turn a GTSP into an asymmetric TSP on the same nodes. Then any exact or heuristic TSP method applies. The precedence needs extra care in the transformed problem.
- Construction and local search. Nearest neighbor rules on the pierce points, with inner contours first, then 2-opt and other local moves (Hoeft and Palekar 1997).
- Metaheuristics. Genetic algorithms, simulated annealing and tabu search, which Dewil, Vansteenwegen and Cattrysse (2016) review.
There are no standard benchmarks for cutting sequence planning. Papers test their methods on nesting layouts of their own, so their numbers cannot be compared from paper to paper.
Bounds
NP-hardness. The decision version is NP-hard by a reduction from the Euclidean TSP, which is NP-complete (Papadimitriou 1977): put a tiny contour at each city with the city as its only pierce point and no precedence, so the travel of a plan is the length of a tour through the cities with the home point at one of them. The problem with free pierce points and precedence contains this case, so all versions above are NP-hard.
Easy parts. For a fixed order, the pierce points are found in polynomial time, as above. So the hard part is the order.
Approximation. The GTSP with precedence has, in the cited sources, no approximation guarantee for general instances. Since the Euclidean TSP is the special case above, no version is easier than it.
Reductions
- From the Euclidean TSP. As above.
- To the GTSP. A plan is a GTSP tour with precedence between clusters, as in the definition. The transformation of Noon and Bean then gives an asymmetric TSP.
- Relation to operation sequencing. With the tool fixed and only travel costs, operation sequencing is the case with one pierce point per contour.
Applications
- Laser, plasma, flame and water jet cutting. Idle travel and the number of pierces are part of the cycle time of every sheet, and the cutting order also affects heat distortion and safety of the parts.
- CAM for sheet metal. The planner runs after nesting and writes the cutting order and the lead-ins of each contour into the NC program.
- Other path problems. Engraving, drilling of printed circuit boards and pen plotters have the same structure: visit many shapes and choose where each one starts.
References
- Reginald Dewil, Pieter Vansteenwegen and Dirk Cattrysse, A review of cutting path algorithms for laser cutters, International Journal of Advanced Manufacturing Technology 87(5 to 8), 2016, 1865 to 1884, the classes of cutting path problems, from fixed pierce points to free pierce points and contours cut in several pieces, with the precedence and heat constraints of laser cutting
- Jeffrey Hoeft and Udatta S. Palekar, Heuristics for the plate-cutting traveling salesman problem, IIE Transactions 29(9), 1997, 719 to 731, the plate-cutting TSP, in which the cutter visits each contour once with a choice of the entry point, and heuristics for it
- Charles E. Noon and James C. Bean, An efficient transformation of the generalized traveling salesman problem, INFOR 31(1), 1993, 39 to 44, the transformation of the generalized TSP into an asymmetric TSP on the same nodes
- Christos H. Papadimitriou, The Euclidean travelling salesman problem is NP-complete, Theoretical Computer Science 4(3), 1977, 237 to 244, the NP-completeness of the TSP with Euclidean distances, the source of the hardness result on this page
About this page
The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.
| Ladder | Level | What the next level needs |
|---|---|---|
| Human proof | H0 no proof |
|
| Lean | L0 no Lean part |
|
| Visual | V0 none |
|
| Writing | W2 basic |
|
Tag Z3M3JK Edit this page History Report an error Markdown