Abstract
An integrated approach is put forward to solve the combined cut planning and nesting problem for metal structures manufacturing. In this article, a three-stage solution procedure is framed, which involves dividing the cutting parts into several groups by rules, generating different layouts or patterns in different strategy, and selecting apt cutting patterns. As some layouts with less trim-loss may lead to high setup cost and high stock level, a multiobjective mathematical model, which takes into account the trim-loss, setup cost, labor cost, and their tradeoffs, is developed. Furthermore, a method with ant colony optimization for solving the mathematical model is proposed. The key research of this article is to focus on the nesting problem by using parallel optimization on a variety of steel plates and choosing an apt cutting pattern by weighing the trim-loss, setup cost, and labor cost. The computational results and comparison prove that the presented approach is quite effective for solving the problem.
Introduction
The metal structures are widely used in engineering machinery, mining machinery, port machinery, and other industry machinery. The production process of metal structures starts at the cutting department where steel plates are cut into different shapes and sizes, and some parts may need to be machined, bended, and welded afterward (i.e. the process of some metal structures contains cutting, drilling, bending, and welding). The production process of metal structures is shown in Figure 1.

The production process of metal structures.
The goal of the metal structures manufacturing system is to improve the utilization of steel plates and reduce setup cost and hold cost, meanwhile increasing productivity. To achieve the target, the combined cut planning and nesting problem (CPNP) should be considered. In this article, two-dimensional irregular shape cutting is applied, where a steel plate should be nested as many parts as possible with less scrap. The problem formulation belongs to the wide area of cutting-stock problem. 1 The cutting-stock problem (or trim-loss problem) is addressed such that a given order for smaller pieces has to be cut from larger stock material with some constraints. There has been lots of work concerning the cutting-stock problem. For instance, Blazewicz et al., 2 Gomes and Oliveira, 3 Umetani et al., 4 Bennell et al., 5 Yaodong et al., 6 Cui and Chen, 7 Han and Na, 8 Xie et al., 9 and others proposed some nesting algorithms and gave some suggestions on the two-dimensional cutting-stock problem. In addition, some good nesting algorithms have been implemented in commercial software tools to assist the designer in the industry. However, only the ways of improving the material utilization are involved in these works. Obviously, many other factors, such as setup cost, work-in-process (WIP), and labor cost, are also very important in cutting process for metal structures manufacturing. Solving the combined cutting planning and nesting problem can weigh those factors.
The literature for the combined cutting planning and nesting problem is not vast. Hendry et al. 10 considered both the scheduling and cutting-stock problems for the copper industry. A two-stage solution procedure was proposed, where best cutting patterns to minimize the waste were generated at the first stage and a daily production planning was created at the second stage. Xie and Xu 11 developed a prototype STEP-compliant process-planning system on the basis of computer-aided design (CAD), computer-aided process planning (CAPP)/ computer-aided manufacturing (CAM), and computer numerical control (CNC). Wang and Xie 12 and Xie et al. 13 considered the optimal process planning for a combined punch and laser cutting machine using ant colony optimization (ACO) and genetic algorithms, respectively. Those works focused on the process-planning problem for the combined punch-and-laser machine in order to improve the efficiency of the machine and fully automate the process from layout nesting to machining. Haessler 14 considered the setup cost and the cost of trim-loss in roll paper industry. Generally, the high-quality cutting patterns were difficultly created by linear programming or simple heuristic. He proposed a formulation of the one-dimensional cutting-stock problem where a setup cost for pattern changes was incurred. 15 Verlinden et al. 16 analyzed the use of operations research (OR) techniques for integrated production planning for sheet metal operations. It aimed at creating feasible part groupings while minimizing the number of time-consuming setups at the pressbrake. Vanderbeck 17 also considered the setup cost about cutting rectangular order pieces into stock pieces in specified width and length. Niemi 18 proposed a nesting strategy and method for selecting the candidate parts to be included in each nesting layout and for choosing a combination of layouts to be cut. Nonäs and Thorstenson 19 formulated a combined cutting-stock and lot-sizing problem with a joint setup cost under static and deterministic conditions. They also suggested some different solution algorithms for the combined problem. In general, those approaches in the references are still to be improved with respect to their application in metal structures manufacturing. Considering the characteristics of metal structures production and the practical requirement, some further work on the CPNP needs to be done.
As the complexity of optimal nesting, the optimization results on steel plates in different sizes are quite different. A good nesting result will be gained on a certain type of steel plate for a group of cutting data, while the optimization result is not satisfactory on the same type of steel plate for another group of cutting data. Therefore, the nesting results are improved by using parallel optimization on a variety of steel plates. Different from the existing literature, the important research of this article is to focus on the nesting problem by using parallel optimization on a variety of steel plates and choosing apt cutting pattern by weighing the trim-loss, setup cost, and labor cost.
In this article, the CPNP for metal structures industry is concerned, and an integrated three-stage solution approach on solving the combined problem is presented. First, the parts are divided into several groups by clustering algorithm. Second, the parts of each group are nested on steel plates in different sizes and the cutting patterns are designed. Third, an apt cut planning is created by using those cutting patterns. A multiobjective mathematical model which takes into account the trim-loss, setup cost, labor cost, and their tradeoffs is proposed at the third stage. And some apt cutting patterns with low total manufacturing cost are selected by solving the mathematical model with an ACO algorithm.
The rest of the article is organized as follows. In section “The three-stage programming,” a detailed description of the three-stage solution procedure for CPNP is illustrated. A mathematical model for the CPNP is presented in section “Mathematical modeling.” Here the multiobjective mathematical model which takes into account the trim-loss, setup cost, labor cost, and their tradeoffs is illustrated in this section. In section “The solution approach,” a process for solving the combined CPNP with ACO is demonstrated. Then the results of computational experiment are described in section “Computational experiments.” Finally, conclusions and discussion are given in section “Conclusion and discussion.”
The three-stage programming
Three-stage procedure is composed of the following steps.
STAGE I: Dividing the parts into several groups by clustering algorithm: Step 1: Grouping based on the similarity of processing procedure. The parts with similar processing procedure are divided into the same group at first. Step 2: Grouping based on the material specifications. The parts with similar process are grouped according to their materials and thickness of sheet metal in this step. Step 3: Grouping based on the shape features. The parts which have the same material and similar production process can be grouped according to their shape features by clustering algorithm in this step. STAGE II: Designing the cutting patterns: Step 4: The parts in each group are nested on the varisized steel plates by using special nesting software. STAGE III: Modeling and proposing an optimizing algorithm for the CPNP: Step 5: Framing a multiobjective model concerned trim-loss, setup cost, labor cost, and their tradeoffs for CPNP. Step 6: Proposing an ACO for solving the model to obtain an optimal cut planning.
The flowchart of the integrated approach is shown in Figure 2, and a detailed description is provided in the following subsections.

Flowchart of the three-stage programming.
Part grouping
The parts with the similar processing procedure are divided into a group and then cut according to its reasonable sequence (a group of parts which has long processing procedure routes will be cut in first, and the group of parts which has short processing procedure route will be cut next). As a result of such part grouping, the number of WIP is expected to be reduced in the workshop. The parts are further grouped by clustering shape feature, and the layouts are optimized after grouping. The utilization of the sheet metal and the computing complexity of the nesting software are expected to be improved.
As mentioned earlier, the first step of STAGE I is to divide those parts into several groups according to the similar processing procedure. The next step is to group those parts by their material and thickness. The parts are grouped by their shape features in the final step.
Grouping based on the similar processing procedure
We can construct a model which describes the structural relationship among product components and the process information by analyzing the metal structures products.
As shown in Figure 3, the metal structures P is composed of subparts P1, P2, P3, and P4, and the subpart P1 is composed of parts P11, P12, and P13. The manufacturing process of the part P11 contains cutting process (W1), milling process (W2), welding process (W3), and so on.

An information model for the metal structures.
The parts with the similar processing procedure are grouped together according to the information model. The specific grouping steps are described as follows. The parts which need welding are grouped at first (parts P12, P13, P21, and P22 are grouped by this rule). Then, the parts which need one or two processing procedure without welding are grouped (parts P32, P33, and P4 are grouped by this rule). At last, the residual parts are grouped (parts P11 and P31 are grouped by this rule). The cutting sequence of each group is determined by the length of process route. The number of WIP can be reduced in the workshop in this way. It is an important basis for scheduling the cutting pattern.
Grouping based on the material and thickness
The parts with the same or similar processing procedure are divided into several groups according to the materials and thickness at this step. After being grouped, parts having the same material components and thickness are in one group. By this way, the same group of parts can be ensured to be nested on a steel plate.
Grouping based on the shape features
The main purpose of grouping according to the similar processing procedure is to reduce the number of WIP. Grouping by the shape features can improve the utilization of material and the computing complexity of nesting. A detailed description of this step is present in Dezhong et al. 20
The parts of the metal structures are divided into some groups by using clustering algorithm at this stage. 21 By using this method, the utilization of material and the computing power of nesting can be improved, meanwhile the number of WIP can be reduced. This is what the enterprises of metal structures are always seeking for.
Designing the cutting pattern
The parts are divided into some groups with the similar processing procedure, the similar shape feature, and the same material and thickness in the STAGE I. The parts of each group are nested on varisized steel plates in this stage. For example, a group of 240 cutting parts provided by the metal forming factory are nested on varisized steel plates by the Smart-Nest software (a nesting software developed by our research group). The details of tests are shown in Table 1.
The cutting patterns on steel plates in different specification.
In Table 1, the second column presents the size of steel plate. The third column presents the utilization without surplus. Those parts are nested on many steel plates and the last steel plates may be used only a little. The surplus steel could be stocked and used the next time. For example, 10 steel plates were used in test 9, and the tenth layout is as shown in Figure 4. We can see that the region (1120 mm × 2500 mm) is used in the last plate and the surplus steel (3380 mm × 2500 mm) is not used. The surplus would be put in storage again. The forth column presents the utilization of steel plates with deducting the surplus. The fifth column presents the area of surplus steel plate which is stored, and the last column presents the used quantity of steel plates.

The example of the layout with surplus.
Different cutting patterns of the same group parts are designed in this stage. The parameters of those cutting patterns are also provided in this stage. And those parameters will be used as the input in the next stage.
Model and algorithm for the CPNP
A multiobjective mathematical model for the CPNP is presented at this stage. The trim-loss, setup cost, labor cost, and their tradeoffs are taken into account in this model. The detailed description is given in the next section. Then an approach with ACO for solving the combined problem is proposed. The feasibility of solving the CPNP with the ACO is verified by some tests. The detailed procedure of this approach is illustrated in section “The solution approach.”
Mathematical modeling
In this section, a model for the combined CPNP is illustrated. The model is based on the formulation of an optimization problem, where there are three components for the objective function (trim-loss, setup cost, and labor cost).
The combined CPNP considered can be summarized by the following three points.
The demanded parts are to be cut from varisized steel plates. A setup cost is incurred when the cutting pattern is used. (It contains the cost of putting the steel plate on the cutting machine, the cost of gas and electricity power which the cutting machine uses, and other costs.) Surplus is permitted to generate on the cutting patterns. It will be stocked and used the next time. The cutting patterns with surplus would incur the additional setup cost.
The problem parameters and variables are defined in Appendix 1. The combined CPNP is described as the following mathematical model
There are three components in the objective function (1). The first component is driven by the need for the minimal trim-loss or maximal utilization of the raw material. The second component involves the setup cost of cutting. The last component relates to the labor cost. Equation (2) considers the balance of production demand. This constraint regards the number of final production to meet the order demand. Equation (3) considers the constraint of part demand. The left-hand side of equation (3) represents the whole parts on the cutting pattern, and the right-hand side represents the demand of cutting parts. Equation (4) considers the condition of generating surplus of the steel plate j which the part group m used. The surplus of the steel plate j which the part group m used is generated when it meets the follow conditions: (1) the length of surplus is greater than or equal to the specified minimum length and (2) the width of surplus is greater than or equal to the specified minimum width. Equation (5) represents the result being intended to gain. It considers the cutting pattern of part group m which nested on the steel plate j is opted. Equation (6) considers the constraint of material utilization. U represents the lower limit of material utilization. It means that the cutting pattern is feasible when its material utilization is greater than U. Otherwise, the cutting pattern is unfeasible. Equation (7) considers the steel plate constraint. The left-hand side of equation (7) represents the quantity of steel plates j which would be used. It has to be less than or equal to the number of steel plates j in the stock. Equation (8) considers the selected cutting pattern for part group m which used only one specification steel plate.
In fact, the material utilization, the number of steel plate, setup cost, and labor cost are different with using different cutting pattern. The total cost can be minimized by selecting apt cutting pattern. It will be realized by solving the mathematical model which contains the tradeoff of trim-loss, setup cost, and labor cost. An approach to solve this mathematic model will be introduced in the next section.
The solution approach
To solve the model for CPNP from equations (1) to (8), ACO algorithm is applied. ACO is a swarm intelligence technique inspired from the foraging behavior of real ant colonies. The ants deposit pheromone on the path in order to mark the route from the nest to food. The marked routes should be followed by other members of the colony. 22 ACO has some merits, such as it is simple, universal, and robust. 23 Therefore, ACO exploits an optimization mechanism for solving discrete optimization problems in various engineering domain. 24
Framing the diagram for CPNP
According to the target and the constraint conditions, the graphical representation for CPNP is as shown in Figure 5. As M part groups with different material and thickness need to be cut, the CPNP can be transformed into the M-levels decision problem.25,26 Each note

The graphical representation for CPNP.
Outlining of ACO
Selecting the ants’ path
The ants move between nodes (cutting patterns) and leave different amounts of pheromone on the nodes at the same time. The pheromone impacts the next lot of ants moving.
27
where tabuk represents the next node set which ant k cannot go to. α is a positive parameter, whose value represents the relative influence of pheromone trail. It shows the relative importance of ant track. The bigger the value of α, the ant inclines more to choose the path which others have passed. β is a positive parameter, whose value represents the relative influence of heuristic information. If the value of β is bigger, the state transition probability will be close to the greed rules.
where
Pheromone updating
Pheromone evaporation is inevitable, meanwhile the ants deposit pheromone in each iteration. The pheromone value
where ρ (0 < ρ < 1) is the rate of pheromone evaporation, and 1 −ρ is the rate of pheromone retention. Reducing the pheromone values enables the algorithm to forget bad decisions made in previous iterations.
28
Thus, pheromone updating can help ants to explore new area in the search space.
Procedure of ACO
In this part, we give an ACO procedure for optimizing the CPNP with the rule and concepts described above. The flowchart is given in Figure 6. The step-by-step details are as follows.
Step 1: Initialization:
Set ACO parameters: α, β, ρ,
Step 2: Generate Nant ants and place it on the nodes of first level (
Step 3: for NC = 1: NCmax
for k =1: Nant for m = 2: M If the number of steel plate of the node (cutting pattern) needed is less than the surplus of the steel plate stocking or the material utilization is less than U, the node is placed in the tabu list. Cumulate the transition probability of each ant according to equations (9) and (10). Then, the ants select the next node of max transition probability. End; End;
Step 4: Cumulate the solution for the objective function (1) in this iteration. If the current solution is better than the former best solution, then update the best solution.
Step 5: Update the pheromone value according to equations (11), (12), and (13).
Step 6: if NC < NCmax
NC = NC + 1; Go to Step 2; Else Output the optimal solution; End; End;

Flowchart of ACO.
Computational experiments
In this section, the proposed mathematical model is verified to be effective. The performance of the solution strategy is evaluated by an experimental demonstration. First, an ordinary metal structures production order (30 sets of excavators—175), given by the metal forming factory, is tested by the three-stage programming (Table 2). Later, the test results are reported and analyzed.
The information of the production order (the quantity of parts = the number of parts per set × the number of sets).
In the first stage, all parts are divided into two groups based on their similarity of processing procedure. Furthermore, these parts in the two groups are divided into 24 groups based on their material specifications. At last, the parts in the 24 groups are divided into 30 groups based on their shape features. Finally, 30 part groups are obtained in the first stage.
Second, the parts in each group are nested on varisized steel plates by the Smart-Nest software. The result is shown in Table 3. The detailed layouts of a cutting pattern are demonstrated in Figure 7. Different cutting patterns are obtained in the second stage, and these results will be the parameters for the third stage.
The cutting patterns are obtained in the second stage.

The detailed layouts of cutting pattern f for Group 24.
Third, some optimal cutting patterns are chosen by using the multiobjective mathematical model for the CPNP. In this process, an ACO algorithm is applied. The other parameters are shown in Tables 4 and 5.
The parameters of c, N, sc, lc.
The parameter of ACO.
This algorithm has been implemented in MATLAB7.0. The optimal result of the third stage by ACO is shown in Table 6. By analyzing the data of Table 6, some cutting patterns with less trim-loss may not be the best in the whole product process. The results with different ways are given in Table 7. The result of ACO in Table 7 is obtained by solving the CPNP model with the ACO. The result of U_high in Table 7 is obtained by selecting the cutting pattern of the highest material utilization. The remainder results in Table 7 are obtained by selecting the cutting pattern of pattern_a, pattern_b, … , pattern_h. The comparison of these results acquired with different ways is described in Figure 8. The total cost of production using our algorithm (ACO) is obviously less than other methods. Compared to pattern_e, it reduces the total cost by 4.7% approximately.
The optimal result of the third stage with ACO.
The total cost of the whole product process with different methods (unit: million yuan).

The comparison of the results of different methods.
Conclusion and discussion
In this article, the combined CPNP for metal structures manufacturing is illustrated and solved. In particular, a three-stage solution procedure is demonstrated, involving dividing the cutting parts into several groups by using clustering algorithm, generating deferent cutting patterns in deferent strategy, and selecting apt cutting patterns. Moreover, a new model for CPNP, based on the formulation as a combinatorial optimization problem, is presented. There are three components for the objective function (i.e. trim-loss, setup cost, and labor cost). Then an ACO is proposed to solve the CPNP mathematical model. The apt cutting patterns are acquired by solving the model. Computational experiment is performed to evaluate the performance of the proposed algorithm. It is verified that the proposed integrated approach on cutting planning and nesting for metal structures manufacturing is effective. In addition, as shown in Figure 8, there reaches a conclusion that the proposed method overweighs other methods.
Nonäs and Thorstenson 19 proposed some specialized heuristics on the combine cutting-stock and lot-sizing problem for dump truck manufacturing. In that article, they assumed that the steel plates are one standard dimension only and all the different cutting-stocking patterns are generated at the outset. In this article, before cutting patterns were generated, we divided the parts into many groups according to the similar processing procedure, materials and thickness, and shape features. By using part grouping, the number of WIP is reduced in the workshop; the utilization of the sheet metal and the computing complexity of the nesting software are improved. In addition, each group parts are allowed to be nested on a variety of steel plates in this article.
To differ in the other existing literature, we focus on the nesting problem by using parallel optimization on a variety of steel plates and choosing apt cutting pattern by weighing the trim-loss, setup cost, and labor cost. Some good cutting patterns with lower production cost are generated by using this approach. Our approach has been applied in practical production process and has been accepted by metal structures manufacturers of china. This approach is novel and gives a different perspective for solving the combined nesting and cut planning problem.
In this article, the trim-loss, setup cost, and labor cost in metal structures manufacturing are considered. Since the holding cost of the parts is also of great importance, an improving method to reduce the total cost of metal structures manufacturing with holding cost will be investigated in the future.
Footnotes
Appendix 1
Declaration of conflicting interests
The authors declare that there is no conflict of interest.
Funding
This research work is supported by the Science & Technology Major Project of China (grant no. 2011ZX04015-011-07).
