Next Article in Journal
Influence of the Phase Composition of Titanium Alloys on Cell Adhesion and Surface Colonization
Previous Article in Journal
High-Grade Ferronickel Concentrates Prepared from Laterite Nickel Ore by a Carbothermal Reduction and Magnetic Separation Method
Previous Article in Special Issue
Monitoring of Cutting Process and Tool Condition of Metal and Metal Composite
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Tree-Based Heuristic for the One-Dimensional Cutting Stock Problem Optimization Using Leftovers

by
Glaucia Maria Bressan
1,*,
Matheus Henrique Pimenta-Zanon
2 and
Fabio Sakuray
3
1
Mathematics Department, Universidade Tecnológica Federal do Paraná (UTFPR), Alberto Carazzai, 1640, Cornélio Procópio 86300-000, PR, Brazil
2
Computer Science Department, Universidade Tecnológica Federal do Paraná (UTFPR), Alberto Carazzai, 1640, Cornélio Procópio 86300-000, PR, Brazil
3
Computer Science Department, State University of Londrina (UEL), Rodovia Celso Garcia Cid, Pr 445 Km 380 C.P. 10.011, Londrina 86057-970, PR, Brazil
*
Author to whom correspondence should be addressed.
Materials 2023, 16(22), 7133; https://doi.org/10.3390/ma16227133
Submission received: 7 March 2022 / Revised: 1 November 2023 / Accepted: 7 November 2023 / Published: 11 November 2023

Abstract

:
Cutting problems consist of cutting a set of objects available in stock in order to produce the desired items in specified quantities and sizes. The cutting process can generate leftovers (which can be reused in the case of new demand) or losses (which are discarded). This paper presents a tree-based heuristic method for minimizing the number of cut bars in the one-dimensional cutting process, satisfying the item demand in an unlimited bar quantity of just one type. The results of simulations are compared with the R G R L 1 algorithm and with the limiting values for this considered type of problem. The results show that the proposed heuristic reduces processing time and the number of bars needed in the cutting process, while it provides a larger leftover (by grouping losses) for the one-dimensional cutting stock problem. The heuristic contributes to reduction in raw materials or manufacturing costs in industrial processes.

1. Introduction

The cutting stock problem (CSP) consists of cutting a set of objects available in stock to produce the desired items in specified quantities and sizes in order to optimize (maximize or minimize) a given objective function [1] such as production costs or losses from the cutting process.
Many industry processes are using the CSP, such as the automotive, construction and bicycle manufacturing industries. Considering 16, 16 and 14 m bars in stock and 3, 4 and 6 m items, with demands of 2, 3 and 2, respectively, as in Figure 1. In this process, the loss and leftover are classified by size of the bar not used, i.e., a bar smaller than a smallest item demanded is considered loss or is otherwise leftover.
Figure 2 shows two possible solutions: in Figure 2a, only the 16 m bars are used, with 2 m of loss. In Figure 2b, one 16 m bar and one 14 m bar are used, without loss. In both patterns, leftovers are produced, but in Figure 2b, there is no loss.
The CSP belongs to an important area of operational research that assists in the decision-making process. There are different types of mathematical models that can formulate the cutting stock problems. One of the possible models is linear programming, which proposes to optimize the objective function, subject to a set of constraints, whose variables are linearly related [1]. The one-dimensional cutting stock problem in turn involves only one dimension in the cutting process, such as cutting steel bars, paper rolls and tubes [2,3].
Gilmore and Gomory were among the first to address the cutting stock problem [4,5] and to define the problem as filling an order at minimum cost for specified lengths of material to be cut from given stock lengths of given cost. Also, in [6], higher-dimensional cutting stock problems are modeled as linear programming problems.
The usable leftover cutting stock problems [2] consist of a branch of the cutting stock problem. Its purpose is to determine the cutting patterns and to analyze the leftovers generated by the cutting process. This type of problem can be understood as a one-dimensional cutting stock problem in which the unused material in the cutting process may be used in the future, if large enough [7]. A review of published studies that consider the solution of the one-dimensional cutting stock problem with the possibility of using leftovers to meet future demands is presented by [3].
A heuristic algorithm for the one-dimensional cutting stock problem with usable leftovers is proposed in [8], which consists of two procedures: linear programming that fulfills the major portion of the item demand and a sequential heuristic that fulfills the remaining portion of the item demand. In [2], it is assumed that leftovers should not remain in stock for a long time. Thus, leftovers have priority-in-use compared to standard objects (objects bought by the industry) in stock, and a heuristic procedure is proposed for this problem.
Addressing more recent papers, Cui et al. [9] present an integer programming model for the one-dimensional cutting stock problem with limited leftover types and describe a heuristic algorithm based on a column-generation procedure to solve it. The column generation technique is used in [10], and it is associated with a set of residual cutting patterns. It recombines these residual cutting patterns in different ways and generates new integer-feasible cutting patterns. In [11], a modification in the constructive greedy heuristic, which builds a cutting pattern by sorting in descending order the paired items or items of odd length, is presented. The only objective is to minimize the quantity of cut objects.
Considering the cutting stock problems and usable leftovers, the objective of this paper is to propose a tree-based heuristic method, named OptimizationTREE, in order to minimize the number of bars needed to cut known item demand, in the one-dimensional cutting process with no stock. The problem presented in this paper considers an unlimited quantity of one type of bar.
These methods are measured in terms of accuracy and runtime. The proposed heuristic method is described in the next section. Its performance was analyzed and compared with a well-known algorithm in the literature: the R G R L 1 algorithm, proposed by [7]. The accuracy was rated according to: (i) total number of used bars, (ii) the loss and leftover produced in the process. The runtime shows that the algorithms present better computational complexity. The proposed heuristics aim to reduce losses by grouping multiple losses in the same bar (whenever possible), so that the losses (useless) become leftovers (useful), as shown in Figure 2.
The main contribution is to obtain optimized solutions, similar to those obtained in [7], for the one-dimensional cutting stock problem, with relevant gains in computational complexity (or runtime) and conversion of loss to leftovers whenever possible. The heuristics can be used in commercial software solutions and provide a reduction in the raw materials used (or manufacturing costs) and, consequently, environment preservation, as was the case for the results obtained by [12,13], which address the green manufacturing study topic.
The novelties of this proposal, in relation to existing methods in the literature, are highlighted as follows: (i) the heuristic is based on a tree structure, which provides accessibility and understanding for users, in addition to a reduction in processing time; (ii) multiple losses are grouped on the same bar whenever possible, transforming losses into reusable leftovers and providing loss reduction. The algorithm does not require extra raw material; that is, it uses the same quantity of initial material for cutting.
The remainder of the paper is organized as follows. Section 2 presents the definition of the problem under study in this paper. Section 3 describes the initial procedure used in the first step of the proposed heuristic, whose algorithm, named OptimizationTREE, is presented. The data set for the simulation is provided in Section 4, followed by analysis of the simulation’s results (Section 5). Finally, in Section 6, the conclusions of the paper are given, and aspects of future work are discussed.

2. Definition of the Problem under Study

The proposed heuristic methods aim to present solutions for the general problem defined as follows. During the cutting process, unavoidable leftovers are produced and often discarded. Industries have the possibility of using the leftover to cut future demanded items, since their sizes are sufficiently large, that is, the minimum acceptable length to be reused in the case of new demand, which is a choice of the decision maker [7]. In this situation, the simple objective of minimizing the leftover may not be appropriate.
Problem: To minimize the number of bars needed to cut known item demand, in the one-dimensional cutting process, the demand of items has to be met by cutting bars of the same size:
p = 1 P x i p b a r p d i , i 1 , , n , b a r p 0   and   integers ,
The variables and parameters are described below.
  • b a r p : number of cut bars in the cutting patterns p = 1 , , P (variable);
  • d i : demand of item i;
  • x i p : the number of items i = 1 , , n cut in the cutting pattern p. In the one-dimensional case, any cutting pattern must satisfy [7].
    i = 1 n l i x i p L , p 1 , , P ; 0 x i p d i ,
    where L is the size of the bar, and l i is the length of item i. This expression guarantees that the number of produced items is not larger than the size of the bar.
Thus, the cutting process can generate leftovers (which can be reused in the case of new demand) or losses (which are discarded). The goal is to reduce losses by grouping them in the same bar when possible. Thus, the losses become leftovers and can be used in future demand.

3. The Proposed Heuristic: OptimizationTREE

In this section, the proposed heuristic method to solve the problem described in Section 2 is presented. The heuristic was evaluated in terms of the total number of bars used in the whole cutting process, the loss and leftover provided and also the computational complexity of the solution method.
First of all, a selection of ordered items (SOI) procedure, described in Algorithm 1, must be presented, since this ordering procedure, which is based on the first fit algorithm [14], is used in the first step of the proposed heuristics.
This procedure uses as input the set of items demanded (l and d), sorted in descending order of size. Then, the items are selected to be cut, starting with the largest one; if this is not possible, the next item is tested and so on. Other inputs are the size of the bar (L) and the total number of items (n). The outputs are the number of each item i in the cutting pattern or bar (x), the size of the bar not used ( L ^ ) and the updated demand of items (d).
Algorithm 1: Selection of ordered items (SOI)
Materials 16 07133 i001
    A tree-based heuristic (OptimizationTREE) is described in Algorithm 2. It has two phases: (i) selection of the items to be cut and (ii) loss reduction. First, the set of demanded items is sorted in descending order of size (l). In the first phase, a set of items is selected according to Algorithm 1. This first set is then used in the second phase to reduce losses as follows: for each selected item, the number of items to be cut is reduced by one unit in an attempt to fill the rest of the bar with larger elements and then with smaller elements. After the next smaller item to be cut is selected, the algorithm verifies whether a larger item can be used; if not, the next smaller item is processed. The inputs, outputs and main variables of Algorithm 2 are described as follows.
The inputs of Algorithm 2 are:
  • The item size l = { l 1 , , l n } ;
  • The item demand d = { d 1 , , d n } ;
  • The size of bar L;
  • The number of items to be cut n.
The outputs of Algorithm 2 are:
  • The l e f t o v e r of all cutting processes;
  • The l o s s , the sum of loss in each bar used;
  • The b a r with the sum of used bars.
The variables used in Algorithm 2 are described as follows:
  • L ^ : size of the bar not used during the execution of the algorithm;
  • x i : the number of items i to be cut in the bar, for i = 1 , , n .
In this proposed heuristic, the losses of the cutting process are concentrated on the smallest number of bars possible, using a tree structure [15], in order to convert losses (unusable) into leftovers (usable) and reduce the number of bars needed in the process.
Algorithm 2: Tree-based heuristic (OptimizationTREE)
Materials 16 07133 i002
    A hypothetical optimal solution can be determined as a parameter to obtain the minimum number of bars required to produce the demanded items. This theoretical minimum number of bars needed to produce the demanded items is defined in Equation (3). The lower bound of bars ( B b a r ) is used to evaluate the performance of the proposed heuristics, i.e., better solutions use bars close to B b a r . If any of the heuristics provide as a solution a minimum number of cutting bars smaller than B b a r , it means that the algorithm has an error, and the solution is impossible.
B b a r = i = 1 n l i d i L
When this theoretical limit is achieved, the unused material remaining is defined in Equation (4).
M i n i m u m T h e o r e t i c a l l i m i t o f U n u s e d M a t e r i a l = B b a r i = 1 n l i d i L L
The minimum theoretical limit of unused material (Equation (4)) can be classified as follows:
  • Loss ( B l o s s ): if the unused material is smaller than the smallest demanded item;
  • Leftover ( B l e f t ): if the unused material is greater than or equal to the smallest demanded item.

4. Data Set for Simulations

The numerical values used in simulations of the proposed heuristics are based on [16], considering a one-dimensional cutting stock problem for steel roll. In this paper, a category is a set of d i ( i = 1 , , n ) and n (the number of items). In the simulations of this study, 10 categories, as shown in Table 1, with 100 instances for each category, were considered.
The data used in the heuristic methods are described below:
  • L (the size of the bar): 1188 mm;
  • l i (length of item i): belongs to the range [20, 444] with uniform distribution;
  • d i (demand of item i): according to [16], there are two cases: (i) low demand of items, ( d i [ 1 , 3 ] ) and (ii) high demand of items, ( d i [ 4 , 15 ] ) with uniform distribution.
As mentioned above, d i is based on [16], and n is generated uniformly in order to verify the heuristics performance, since in practice no example of this magnitude is known in the literature.
The Python language was used for all the heuristics implementation. The heuristic R G R L 1  [7] was used as the base to analyze the results, and the scipy library was used for the linear relaxation solution. The heuristic R G R L 1 was also adapted for the case considered in this study, in which there is no reuse of leftovers with stock; that is, the reuse parameter is defined as the smallest item to be produced in each instance. Still, in the heuristic R G R L 1 , the initial cutting patterns (homogeneous), c i , are generated from Equation (5).
c i = L min L l i , d i l i
In OptimizationTREE and R G R L 1 heuristics, the sorting method used is quick sort. The hardware used for the simulations consists of an Intel processor® Inside TM Core i7 920 @ 2.67 Ghz with 16 Gb of RAM. For the heuristic simulations, the Linux operating system Ubuntu 18.04 × 64 is used. The runtime of the presented instances is also considered in this paper and shows that the results are acceptable in practice.

5. Results and Discussion

The execution of the instances on each category provides results that allow the performance of the proposed heuristic to be analyzed in detail in comparison with the R G R L 1 heuristic, proposed by [7] and well known in the literature. The R G R L 1 heuristic considers a one-dimensional cutting stock problem in which the unused material in the cutting patterns may be used in the future if large enough. The authors of [7] modified some heuristics of the literature that minimize the trim loss and included the possibility of retails (large leftovers) that are not computed as losses.
It is important to highlight that the model proposed by [7] is the closest to the problem addressed in this paper. The main purpose of R G R L 1 is to solve the cutting stock problem with usable leftovers. The R G R L 1 algorithm was adapted to the restrictions considered in this study: only one type of bar in unlimited quantity and no stocks. It is also important to mention that other works in the literature that approach mathematical models with the use of leftovers have different objectives and would have to undergo more substantial adaptations, which would cause a mischaracterization of the problem.
Table 2 shows the mean of bars ( b a r ¯ ) used in the cutting process and its standard deviation σ ( b a r ) as well as the mean of l e f t o v e r ( l e f t ¯ ) and its standard deviation σ ( l e f t ) of the OptimizationTREE and R G R L 1 heuristics.
Similarly, Table 3 shows the mean of loss ( l o s s ¯ ) and its standard deviation σ ( l o s s ) , the runtime for each category (in seconds) and its standard deviation for the OptimizationTREE and R G R L 1 heuristics.
In order to illustrate the performances of the heuristics, Figure 3 represents: (a) the means of cutting bars resulting from the OptimizationTREE and R G R L 1 heuristics, referring to the minimum number of bars (“B_bar”) and (b) the standard deviation of cutting bars. Figure 4 represents: (a) the means of leftovers, also calculated for the two heuristics, and mean of the leftover of the hypothetical cutting pattern and (b) the standard deviation of the leftover. Figure 5 shows the same for the losses, and Figure 6 presents the runtime for the heuristics under study.
These statistical measures indicate the performance across categories, considering the number of cutting bars, the leftover, the loss and the runtime of the OptimizationTREE heuristic and the heuristic proposed by [7]. Observing the results of Table 2 and Table 3, it can be observed that:
  • The OptimizationTREE heuristic uses fewer bars than R G R L 1 , presenting more leftovers and fewer losses.
  • The OptimizationTREE heuristic has more leftovers and fewer losses when compared to the R G R L 1 heuristic.
  • The R G R L 1 heuristic provides more losses, that is, small parts spread over the bars used in the cutting process. The OptimizationTREE heuristic provides fewer losses, which are concentrated in leftovers. Thus, this leftover can be used to address the next demand.
  • Figure 6 shows that the runtime of the R G R L 1 heuristic is higher than that of the O p t i m i z a t i o n T R E E heuristic, especially for larger examples.
  • Thus, although both heuristics provide a similar number of cutting bars, the R G R L 1 heuristic generates fewer leftovers and more losses than the heuristic proposed in this work, indicating worse performance.
  • As expected, as shown in Figure 5, the OptimizationTREE heuristic generates the smallest number of loss, showing the more desirable performance.
  • Figure 4 shows that the OptimizationTREE heuristic generates more leftovers. Generating leftovers is desirable when the number of cutting bars is close to B b a r , since leftovers are used to meet next demands. In the proposed heuristics, the leftovers are concentrated in the last bars. It is important to note that the peaks presented by the O p t i m i z a t i o n T R E E heuristic in Figure 4 are due to the use of the smallest items. In addition, the smallest item for each instance is fixed according to the smallest value of l i . During the execution of the algorithm, the demand for the items is met, and then these items are no longer considered for cutting. The remaining items are larger items since the algorithm removes a unit from the largest item in each iteration. Therefore, from a given bar, more leftovers and very few losses are generated, since the higher demand causes these last cutting patterns to be repeated more often, causing the visible peaks.
Another analysis can be carried out between the hypothetical cutting pattern that presents the minimum number of bars, the leftover and the loss resulting from this hypothetical pattern. The distance of these values and the results of heuristics are presented in the following equations. The G A P ¯ b a r , defined in Equation (6), presents the mean value of the distance (absolute error) between the lower bound of bars ( B b a r p ), shown in Equation (3), and the results of the OptimizationTREE (OptT) and R G R L 1 heuristics. The “H” in the equation represents the chosen heuristic.
G A P ¯ b a r = p = 1 P B b a r p H b a r p P
Similarly, the G A P ¯ l e f t (Equation (7)) and the G A P ¯ l o s s (Equation (8)) show the main value of the distance (absolute error) between lower bound of leftovers ( B l e f t p ) and of loss ( B l o s s p ), and the heuristic result of the leftover ( H l e f t p ) and of loss ( H l o s s p ), respectively, for each category.
G A P ¯ l e f t = p = 1 P B l e f t p H l e f t p P
G A P ¯ l o s s = p = 1 P B l o s s p H l o s s p P
Table 4 and Table 5 show the values of the GAP obtained by the OptimizationTREE and R G R L 1 heuristics, respectively, considering the number of cutting bars, the leftover and the loss for each category. The columns present the numeric values provided by Equations (6), (7) and (8), respectively, followed by their respective standard deviations.
Analyzing Table 4 and Table 5, the OptimizationTREE heuristic presents the smallest GAP in relation to the number of cutting bars ( B b a r ). OptimizationTREE is closer to B b a r and generates even larger leftovers.
The computational complexity of the proposed algorithms is shown in Table 6, considering the worst case of the two heuristics proposed and the heuristic R G R L 1 from the literature. The second column presents the number of sorts performed by each algorithm during its execution, and the last column shows the complexity order of the algorithms, considering the worst case.
Table 6 shows that the O p t i m i z a t i o n T R E E algorithm presents, in the worst case, a quadratic order computational complexity ( O ( n 2 ) ) but provides more leftovers to be reused, which is desirable, since OptimizationTREE aims to convert losses into leftovers, providing reuse. The computational complexity of the R G R L 1 heuristic is a polynomial order. The main runtime for all the 10 categories (in seconds) is as follows: OptimizationTREE = 0.991 and R G R L 1 = 3.4727. Then, for the case that considers unlimited quantity of one type of bar, O p t i m i z a t i o n T R E E is more appropriate than R G R L 1 .

6. Conclusions

In this study, one-dimensional cutting stock problems were considered. These problems minimize the number of cutting bars in the cutting process, satisfying the demand, considering cutting rolls with known demand and using the leftovers provided from the previous roll’s cutting process. In order to accomplish this goal, the OptimizationTREE heuristic is proposed. It presents a tree-based structure and groups losses in the same bar to transform them into usable leftovers. The performance of the proposed heuristic was compared with the R G R L 1 heuristic, proposed by [7], to solve the problem considered in this paper (unlimited quantity of one type of bar and no stocks).
Analyzing Table 4 and Table 5, which show the values of the GAP obtained by OptimizationTREE and R G R L 1 heuristics, respectively, we can conclude that the OptimizationTREE heuristic presents the smallest GAP in relation to the number of cutting bars ( B b a r ). Therefore, OptimizationTREE is closer to the theoretical minimum limit, representing the fundamental contribution of this paper. In addition, the results show that the proposed heuristic reduces the processing time and the number of bars needed in the cutting process, while it provides a larger leftover for the one-dimensional cutting stock problem.
Using the OptimizationTREE heuristic proposed in this paper, the leftovers from previous cutting process can be used in the next item’s demands. The number of bars is minimized. Then, fewer losses are produced, and the losses are converted into leftovers. In this paper, a loss is an unused bar smaller than the size of the smallest item demanded. The loss can also be defined by the producer, for example as a fixed value or a minimum acceptable percentage. Therefore, the results offer a possible use for leftovers, reducing the use of raw materials in industrial processes and providing more commercially viable solutions.
Material loss is an important factor for the industry. In the production phase, the cutting process is present in several segments, such as in the production of tubes, profiles and door frames. The best use of materials provides a reduction in investments in production, for example, in actions such as the acquisition and transportation of raw materials and cost reduction for the end consumer, since the better use of materials in production makes it possible to reduce the final value for the consumer.
Finally, the proposed heuristics were implemented as open source (Python language), and the code is freely available in the GitHub package resource (OptimizationTREE: github.com/omatheuspimenta/heuristictree, accessed on 8 November 2023), which enables the use of the proposed heuristic in future works.
Inclusion of a third phase in the algorithms, i.e., after defining the all cutting patterns, changing the item distribution with the aim of converting losses in leftovers, is a prospect for continuing this research. This new phase must be carefully designed since it can increase the processing time.

Author Contributions

Conceptualization, G.M.B., M.H.P.-Z. and F.S.; methodology, G.M.B., M.H.P.-Z. and F.S.; software, G.M.B., M.H.P.-Z. and F.S.; validation, G.M.B., M.H.P.-Z. and F.S.; formal analysis, G.M.B., M.H.P.-Z. and F.S.; investigation, G.M.B., M.H.P.-Z. and F.S.; resources, G.M.B., M.H.P.-Z. and F.S.; data curation, G.M.B., M.H.P.-Z. and F.S.; writing—original draft preparation, G.M.B., M.H.P.-Z. and F.S.; writing—review and editing, G.M.B.; visualization, G.M.B., M.H.P.-Z. and F.S.; supervision, G.M.B., M.H.P.-Z. and F.S.; project administration, G.M.B. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Data are contained within the article.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Luenberger, D.; Ye, Y. Linear and Nonlinear Programming, Third Version; Springer Science and Business Media LLC: Berlin/Heidelberg, Germany, 2008. [Google Scholar]
  2. Cherri, A.C.; Arenales, M.N.; Yanasse, H.H. The usable leftover one-dimensional cutting stock problem—A priority-in-use heuristic. Int. Trans. Oper. Res. 2013, 20, 189–199. [Google Scholar] [CrossRef]
  3. Cherri, A.C.; Arenales, M.N.; Yanasse, H.H.; Poldi, K.C.; Vianna, A.C.G. The one-dimensional cutting stock problem with usable leftovers—A survey. Eur. J. Oper. Res. 2014, 236, 395–402. [Google Scholar] [CrossRef]
  4. Gilmore, P.C.; Gomory, R.E. A linear programming approach to the cutting-stock problem. Oper. Res. 1961, 9, 849–859. [Google Scholar] [CrossRef]
  5. Gilmore, P.C.; Gomory, R.E. A linear programming approach to the cutting stock problem—Part II. Oper. Res. 1963, 11, 863–888. [Google Scholar] [CrossRef]
  6. Gilmore, P.C.; Gomory, R.E. Multistage cutting stock problems of two and more dimensions. Oper. Res. 1965, 13, 94–120. [Google Scholar] [CrossRef]
  7. Cherri, A.C.; Arenales, M.N.; Yanasse, H.H. The one-dimensional cutting stock problem with usable leftover—A heuristic approach. Eur. J. Oper. Res. 2009, 196, 897–908. [Google Scholar] [CrossRef]
  8. Cui, Y.; Yang, Y. A heuristic for the one-dimensional cutting stock problem with usable leftover. Eur. J. Oper. Res. 2010, 204, 245–250. [Google Scholar] [CrossRef]
  9. Cui, Y.; Song, X.; Chen, Y.; Cui, Y.P. New model and heuristic solution approach for one-dimensional cutting stock problem with usable leftovers. J. Oper. Res. Soc. 2017, 68, 269–280. [Google Scholar] [CrossRef]
  10. Campello, B.; Ghidini, C.; Ayres, A.; Oliveira, W. A residual recombination heuristic for one-dimensional cutting stock problems. TOP 2022, 30, 194–220. [Google Scholar] [CrossRef]
  11. Cerqueira, G.R.; Aguiar, S.S.; Marques, M. Modified Greedy Heuristic for the one-dimensional cutting stock problem. J. Comb. Optim. 2021, 42, 657–674. [Google Scholar] [CrossRef]
  12. Alswat, H.M.; Mativenga, P.T. The International Dimension of Electrical Energy Derived Emissions for Machine Tools. Procedia CIRP 2021, 98, 696–701. [Google Scholar] [CrossRef]
  13. Wang, J.; Tian, Y.; Hu, X.; Li, Y.; Zhang, K.; Liu, Y. Predictive modelling and Pareto optimization for energy efficient grinding based on aANN-embedded NSGA II algorithm. J. Clean. Prod. 2021, 327, 129479. [Google Scholar] [CrossRef]
  14. Johnson, D.S. Near-Optimal Bin Packing Algorithms. Ph.D. Thesis, Massachusetts Institute of Technology, Boston, MA, USA, 1973. [Google Scholar]
  15. Leighton, F. Introduction to Parallel Algorithms and Architectures: Arrays, Trees, Hypercubes; Morgan Kaufmann: Burlington, MA, USA, 1992. [Google Scholar]
  16. Prado Marques, F.; Arenales, M.N. The constrained compartmentalised knapsack problem. Comput. Oper. Res. 2007, 34, 2109–2129. [Google Scholar] [CrossRef]
Figure 1. Available bars and demands
Figure 1. Available bars and demands
Materials 16 07133 g001
Figure 2. Steel coin cutting patterns: (a) Cutting pattern with loss and leftover; (b) Cutting pattern only with leftover.
Figure 2. Steel coin cutting patterns: (a) Cutting pattern with loss and leftover; (b) Cutting pattern only with leftover.
Materials 16 07133 g002
Figure 3. Statistical measures for the number of cut bars: (a) Mean of cut bars; (b) Standard deviation of cut bars.
Figure 3. Statistical measures for the number of cut bars: (a) Mean of cut bars; (b) Standard deviation of cut bars.
Materials 16 07133 g003
Figure 4. Statistical measures for the leftovers: (a) Mean of total leftover; (b) Standard deviation of total leftover.
Figure 4. Statistical measures for the leftovers: (a) Mean of total leftover; (b) Standard deviation of total leftover.
Materials 16 07133 g004
Figure 5. Statistical measures for the loss: (a) Mean of total loss; (b) Standard deviation of total loss.
Figure 5. Statistical measures for the loss: (a) Mean of total loss; (b) Standard deviation of total loss.
Materials 16 07133 g005
Figure 6. Statistical Measures for the runtime: (a) Mean of total runtime; (b) Standard deviation for the runtime.
Figure 6. Statistical Measures for the runtime: (a) Mean of total runtime; (b) Standard deviation for the runtime.
Materials 16 07133 g006
Table 1. Data categories.
Table 1. Data categories.
1.  n [ 5 , 100 ]  and  d i [ 1 , 3 ] 6.  n [ 201 , 500 ]  and  d i [ 4 , 15 ]
2. n [ 5 , 100 ] and d i [ 4 , 15 ] 7. n [ 501 , 1000 ] and d i [ 1 , 3 ]
3. n [ 101 , 200 ] and d i [ 1 , 3 ] 8. n [ 501 , 1000 ] and d i [ 4 , 15 ]
4. n [ 101 , 200 ] and d i [ 4 , 15 ] 9. n [ 1001 , 5000 ] and d i [ 1 , 3 ]
5. n [ 201 , 500 ] and d i [ 1 , 3 ] 10. n [ 1001 , 5000 ] and d i [ 4 , 15 ]
Table 2. Results of OptimizationTREE and R G R L 1 heuristics considering the mean of bars and the mean of leftover.
Table 2. Results of OptimizationTREE and R G R L 1 heuristics considering the mean of bars and the mean of leftover.
CategoryOptimizationTREE RGR L 1
bar ¯ σ ( bar ) left ¯ σ ( left ) bar σ ( bar ) left ¯ σ ( left )
120.9911.78799.56574.721.8811.66599.61332
2107.8248.592302.191788.5107.7248.09693.39420.94
359.8712.13851.16699.8360.712.14525.83333.6
4277.1355.973398.032737.4276.1155.63637.62373.86
5140.7334.19859.94674.7141.6834.34625.08318.15
6651.67158.085232.734258.91649.22158.71699.69342.34
7298.9857.25727.03502.05300.0257.32570.61315.35
81394.23268.1937734314.321393.22269.28676.49347.14
91194.02443.73709.71479.271195.36443.85628.24346.26
105628.472035.61862.02931.355631.522036.551022.91388.67
Table 3. Results of OptimizationTREE and R G R L 1 heuristics considering the mean of loss and runtime.
Table 3. Results of OptimizationTREE and R G R L 1 heuristics considering the mean of loss and runtime.
CategoryOptimizationTREE RGR L 1
loss ¯ σ ( loss ) time ¯ σ ( time ) loss ¯ σ ( loss ) time ¯ σ ( time )
138.125.0070.0070.006135.8160.320.070.055
2276.57127.6310.0410.036646.43228.030.0870.051
334.823.9090.0440.018196.7344.690.3110.1
4413.35136.7970.2770.121864.38158.60.2970.097
524.4522.850.1430.053232.1546.191.550.682
6513.59206.9451.250.4551010.63153.51.460.674
742.6639.6050.270.104294.6749.88.273.6
8528.87235.8432.390.5891260.82185.047.83.4
9289.26209.2750.9680.482814.75295.149.6355.687
101281.6758.5614.521.863286.271129.685.2472.574
Table 4. GAP values obtained by OptimizationTREE heuristic.
Table 4. GAP values obtained by OptimizationTREE heuristic.
CategoriesOptimizationTREE
GAP ¯ bar ( ± σ ( GAP bar ) ) GAP ¯ left ( ± σ ( GAP left ) ) GAP ¯ loss ( ± σ ( GAP loss ) )
10.23 ( ± 0.48 ) 301.95 ( ± 537.00 ) 37.59 ( ± 25.24 )
21.68 ( ± 1.56 ) 1748.09 ( ± 1743.92 ) 276.27 ( ± 127.06 )
30.31 ( ± 0.61 ) 382.13 ( ± 678.21 ) 34.69 ( ± 23.83 )
42.82 ( ± 2.29 ) 2857.63 ( ± 2725.46 ) 413.35 ( ± 136.79 )
50.24 ( ± 0.56 ) 294.21 ( ± 631.27 ) 24.37 ( ± 22.82 )
64.37 ( ± 3.60 ) 4577.59 ( ± 4306.75 ) 513.51 ( ± 206.93 )
70.14 ( ± 0.42 ) 161.09 ( ± 415.47 ) 42.66 ( ± 39.60 )
83.23 ( ± 3.66 ) 3327.42 ( ± 4220.75 ) 528.53 ( ± 236.17 )
90.35 ( ± 0.53 ) 413.78 ( ± 417.49 ) 289.26 ( ± 209.27 )
101.37 ( ± 1.02 ) 581.53 ( ± 817.98 ) 1281.6 ( ± 758.56 )
Table 5. GAP values obtained by R G R L 1 heuristic.
Table 5. GAP values obtained by R G R L 1 heuristic.
Categories RGR L 1
GAP ¯ bar ( ± σ ( GAP bar ) ) GAP ¯ left ( ± σ ( GAP left ) ) GAP ¯ loss ( ± σ ( GAP loss ) )
11.12 ( ± 0.32 ) 239.26 ( ± 296.93 ) 135.3 ( ± 60.06 )
21.58 ( ± 0.53 ) 525.71 ( ± 245.00 ) 646.13 ( ± 227.29 )
31.14 ( ± 0.34 ) 303.62 ( ± 274.92 ) 196.62 ( ± 44.67 )
41.8 ( ± 0.44 ) 431.62 ( ± 288.11 ) 864.38 ( ± 288.11 )
51.19 ( ± 0.39 ) 365.57 ( ± 284.52 ) 232.07 ( ± 46.27 )
61.92 ( ± 0.30 ) 226.49 ( ± 239.94 ) 1010.55 ( ± 153.50 )
71.18 ( ± 0.38 ) 393.75 ( ± 227.98 ) 294.67 ( ± 49.80 )
82.22 ( ± 0.43 ) 354.45 ( ± 342.52 ) 1260.48 ( ± 184.99 )
91.69 ( ± 0.48 ) 389.49 ( ± 267.79 ) 814.75 ( ± 293.66 )
104.42 ( ± 1.27 ) 523.2 ( ± 342.21 ) 3286.27 ( ± 1124.01 )
Table 6. Computational complexity.
Table 6. Computational complexity.
AlgorithmSortsOrder
OptimizationTREE1 O ( n 2 )
R G R L 1 2 O ( n k ) , k N
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

Bressan, G.M.; Pimenta-Zanon, M.H.; Sakuray, F. A Tree-Based Heuristic for the One-Dimensional Cutting Stock Problem Optimization Using Leftovers. Materials 2023, 16, 7133. https://doi.org/10.3390/ma16227133

AMA Style

Bressan GM, Pimenta-Zanon MH, Sakuray F. A Tree-Based Heuristic for the One-Dimensional Cutting Stock Problem Optimization Using Leftovers. Materials. 2023; 16(22):7133. https://doi.org/10.3390/ma16227133

Chicago/Turabian Style

Bressan, Glaucia Maria, Matheus Henrique Pimenta-Zanon, and Fabio Sakuray. 2023. "A Tree-Based Heuristic for the One-Dimensional Cutting Stock Problem Optimization Using Leftovers" Materials 16, no. 22: 7133. https://doi.org/10.3390/ma16227133

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