Next Article in Journal
Experimental Study with Cement Mortars Made with Recycled Concrete Aggregate and Reinforced with Aramid Fibers
Previous Article in Journal
Three-Dimensional Imaging of Metallic Grain by Stacking the Microscopic Images
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Solution to Solid Wood Board Cutting Stock Problem

College of Mechanical and Electronic Engineering, Nanjing Forestry University, Nanjing 210037, China
*
Author to whom correspondence should be addressed.
Appl. Sci. 2021, 11(17), 7790; https://doi.org/10.3390/app11177790
Submission received: 31 July 2021 / Revised: 18 August 2021 / Accepted: 21 August 2021 / Published: 24 August 2021
(This article belongs to the Topic Machine and Deep Learning)

Abstract

:
In the production process for wooden furniture, the raw material costs account for more than 50% of furniture costs, and the utilization rate of raw materials depends mainly on the layout scheme. Therefore, a reasonable layout is an important measure to reduce furniture costs. This paper investigates the solid wood board cutting stock problem (CSP) and establishes an optimization model, with the goal of the highest possible utilization rate for original boards. An ant colony-immune genetic algorithm (AC-IGA) is designed to solve this model. The solutions of the ant colony algorithm are used as the initial population of the immune genetic algorithm, and the optimal solution is obtained using the immune genetic algorithm after multiple iterations are transformed into the accumulation of global pheromones, which improves the search ability and ensures the solution quality. The layout process of the solid wood board is abstracted into the construction process of the solution. At the same time, in order to prevent premature convergence, several improved methods, such as a global pheromone hybrid update and adaptive crossover probability, are proposed. Comparative experiments are designed to verify the feasibility and effectiveness of the AC-IGA, and the experimental results show that the AC-IGA has better solution precision and global search ability compared with the ant colony algorithm (ACA), genetic algorithm (GA), grey wolf optimizer (GWO), and polar bear optimization (PBO). The utilization rate increased by more than 2.308%, which provides effective theoretical and methodological support for furniture enterprises to improve economic benefits.

1. Introduction

In recent years, with the rapid development of the social economy, the desire for, and expectation of, a high quality of life is becoming more common. Solid wood furniture is increasingly valued and favored by people because of its unique aesthetic feeling and superior material characteristics; the market demand for solid wood furniture is showing an upward trend year on year [1,2,3]. However, some countries have low forestation; in China, the forest coverage rate is only three-fifths of the world average, and the per capita forest area is less than one-quarter of the world average [4]. Solid wood board resources are scarce; this, together with the implementation of a forest cutting quota policy, has led to the supply of solid wood board in China being highly dependent on imports [5,6,7,8]. In addition, the production technology of most furniture enterprises remains outdated, which results in solid wood boards being only partially used. This waste results in increased production costs and the need to manage waste [9]. Therefore, measures must be taken to alleviate the divergence between supply and demand of solid wood boards by saving raw materials [10]. In 2020, 322 million pieces of wooden furniture were produced in China, with the average board consumption per piece of furniture being 0.6 m3. If the existing board utilization rate is increased by 1%, 193 million m3 boards can be saved; this shows that a slight increase in the utilization rate of raw materials can cause a significant decrease in the total consumption of raw materials. As the first step of the furniture manufacturing process, layout directly determines the utilization rate of raw materials [11,12,13]. Therefore, a reasonable layout is an important measure to reduce material costs and improve economic benefits and is thus of great significance in promoting the sustainable development of the furniture manufacturing industry.
As shown in Figure 1, the solid wood board cutting stock problem (CSP) refers to placing the required standard boards of different lengths on the original boards of different lengths. Under the condition of meeting the requirements for the demand and size of standard boards, the used original boards are fully utilized to maximize the board utilization rate. In this paper, we only consider length, which thus belongs to the one-dimensional cutting stock problem. The one-dimensional cutting stock problem is a typical optimization problem. In terms of computational complexity, it is an NP-hard problem with the highest complexity; the solution time increases exponentially with the problem scale, and there is no accurate optimal solution in the polynomial time [14,15,16]. At present, most studies use heuristic methods to solve optimization problems, such as polar bear optimization [17,18,19,20], grey wolf optimizer [21,22,23], and genetic algorithm [24,25,26], which can find good approximate solutions in a limited time.
The one-dimensional cutting stock problem has been studied by scholars for years. Common layout methods include column generation, greedy algorithms, and intelligent optimization algorithms. Sarper [27] proposed a priority-based goal programming approach to solve the one-dimensional cutting stock problem with a random demand mix. This methodology can evaluate the effects of various raw material order levels to account for demand randomness at the time of order. Cui [28] presented an integer programming model for the 1DCSPUL (one-dimensional cutting stock problem with usable leftovers) with limited leftover types, and described a heuristic algorithm based on a column-generation procedure for its solution. Cerqueira [29] proposed a modified greedy heuristic (MGH), which first orders the pair items, or the odd ones in the case that there are more items in the problem. The experimental results showed that the MGH is more effective than the greedy heuristic. Campello [30] introduced the residual recombination heuristic (RRH) to solve the one-dimensional cutting stock problem and obtained high-quality solutions within a reasonable computational time. Ben [31] developed a solution method based on a particle swarm optimization (PSO) approach that takes into account the characteristics of the specific problem; this method was efficient for more than 78% of the total of the American Captain benchmark. In consideration of the characteristics of online detection, Lu [32] proposed a GPU parallel ant colony algorithm to solve the dynamic one-dimensional cutting stock problem; this algorithm had an obvious time efficiency advantage compared with the CPU traditional ant colony (CPUTAC) and branch and bound (BB).
Although the above algorithms are effective in helping to solve the one-dimensional cutting stock problem, it is difficult for a single algorithm to balance global search ability and local exploitation ability. A more advantageous improvement strategy is to combine two or more algorithms to make use of the advantages of a hybrid algorithm, making up for the defects of a single algorithm. Hua [33] proposed a global heuristic two-tier algorithm to solve the cable optimized cutting problem, which saved more than 3% of cable raw materials compared with traditional methods. Benjaoran [34] proposed a hybrid algorithm based on the intensive search algorithm (ISA), genetic algorithm (GA), and the best fit decreasing (BFD) algorithm. Test results showed that the hybrid-generated solutions were superior to the solutions received from the BFD algorithm alone. Anselmo [35] proposed a novel matheuristic algorithm based on a fix-and-optimize strategy hybridized with a random local search; this performed better than the CPLEX solver in larger instances, with an average relative percentage deviation (RPD) for objective values as high as 72%.
This paper takes the highest possible board utilization rate as the optimization goal and proposes an ant colony-immune genetic algorithm (AC-IGA) to solve the solid wood board cutting stock problem. In order to verify the feasibility and effectiveness of AC-IGA, it is compared with ant colony algorithm (ACA), genetic algorithm (GA), grey wolf optimizer (GWO), and polar bear optimization (PBO) through experiments.

2. Mathematical Model

In practical production, there are often different types of defects on the surface of solid wood boards; these have an impact on the structural strength and aesthetic degree. After obtaining the characteristic information of surface defects using machine vision technology, the defects are removed by the cutting saw, and multiple boards with different lengths are obtained [36,37,38]. These boards must be segmented according to the standard length for subsequent processing.
Assume that the total number of original boards after cutting defects is n. The length of the i-th original board is L i ( i = 1 , 2 , n ). m types of standard boards need to be placed on these original boards without overlapping. The length and demand of the j-th type of standard board are l j and b j , respectively ( j = 1 , 2 , m ).
On the premise of meeting the constraints, the optimization goal is to minimize the total length of the used original boards, namely, to maximize the board utilization rate. The objective function is expressed as
m a x   U = j = 1 m l j b j / L C
where L C is the total length of all the original boards selected in a layout scheme, U is the board utilization rate, and m is the number of types of standard boards.
The solid wood board CSP must meet the following three constraints:
(1) The total quantity of the j-th type of standard board placed on the i-th original board should be a nonnegative integer:
a i j N
where a i j is the total quantity of the j-th type of standard board placed on the i-th original board, and N is a nonnegative integer.
(2) The total quantity of the j-th type of standard board placed in a layout scheme is equal to its demand:
i = 1 n a i j = b j
where b j is the demand of the j-th type of standard board, and n is the total number of original boards.
(3) The total length of all the standard boards placed on the i-th original board cannot exceed the length of the i-th original board:
j = 1 m a i j l j L i
where l j is the length of the j-th type of standard board, and L i is the length of the i-th original board.
Figure 2 shows the mathematical model of the solid wood board cutting stock problem. 5, 6, 8, and 11 are the selected original board numbers in a layout scheme.

3. Algorithm Design

The solid wood board cutting stock problem is an NP-hard combinatorial optimization problem, and the quantity and length of boards are constrained, making this problem more complex. In the process of layout, not only should the original boards be selected, but the standard boards that can be placed on the selected original boards should also be selected. In addition, the selection quantity and length of the original boards are unknown, so the feasible solutions cannot be generated randomly.
The ant colony algorithm (ACA) is a typical algorithm for solving the combinatorial optimization problems. In the ACA, ants construct the feasible initial solutions through the design of pseudorandom state transition rule and taboo list when searching for paths, and continuously optimize paths through pheromone feedback mechanism. However, the ACA needs a long search time and is prone to premature stagnation when solving the large-scale problems.
The GA is a commonly used method in solving optimization problems, which has the global, fast search ability, but it does not use the feedback information in the system, which often leads to redundant iterations and low solving efficiency.
The AC-IGA is proposed to overcome the defects of the ACA and GA. In this paper, in order to maintain good population diversity and nonredundancy of information, the GA was improved according to the immune system, and the improved genetic algorithm was introduced into each iteration of the improved ant colony algorithm, so that the improved genetic algorithm can iterate in a good solution space and improve the search efficiency.

3.1. Important Concepts of the AC-IGA

3.1.1. Similarity

In this paper, the hamming distance refers to the number of different alleles between the chromosomes of two individuals and is used to measure similarity. The greater the number of different alleles, the greater the hamming distance and the smaller the similarity. Assuming that two individuals are numbered s and v, and each individual has B gene loci, the similarity between individual s and individual v is defined as follows:
S v , s = k = 0 B 1 η k / B
η k = { 0 , s k v k 1 , s k = v k
where s k is the k-th gene of individual s and v k is the k-th gene of individual v.
Figure 3 shows the similarity between individual s and individual v, assuming that each individual has eight gene loci.

3.1.2. Concentration

In this paper, concentration refers to the proportion of similar individuals in the population and represents the quality of population diversity [39]. In order to simplify the calculation, the definition of concentration based on information entropy is used for reference. The concentration of individual v is defined as
C v = 1 N s = 1 N b v , s
b v , s = { 1 , S v , s T h 0 , S v , s < T h
where T h is the similarity threshold, S v , s is the similarity between individual s and individual v, N is the population size.

3.1.3. Pseudorandom State Transition Rule

The ant’s selection of paths is mainly determined by pheromone and heuristic function [40]. In this paper, the probability of ant k transferring from the original board node i to the standard board node j at time t is calculated according to the pseudorandom state transition rule (shown in Equations (9) and (10)). When q q 0 , the standard board node is selected according to prior knowledge; otherwise, the standard board node is selected using the probability formula P i j k , as follows:
s = { a r g m a x ( [ τ i j ( t ) ] α [ η i j ( t ) ] β ) q q 0 P i j k ( t ) q > q 0
P i j k ( t ) = { [ τ i j ( t ) ] α [ η i j ( t ) ] β r a l l o w e d k [ τ i r ( t ) ] α [ η i r ( t ) ] β j a l l o w e d k     0 o t h e r w i s e
where q is a random number uniformly distributed between [0, 1], q 0 is the selection randomness parameter, α is the pheromone importance factor, β is the heuristic function factor, a l l o w e d k is the set of optional standard board nodes, η i j is the heuristic function, and τ i j is the pheromone transferred from the original board node i to the standard board node j.

3.2. Algorithm Procedure

Figure 4 shows the flow chart of the AC-IGA. The IACA is framed by the red dash-dot line, IGA is framed by the blue dash-dot line, ANT_ITER is the maximum number of iterations of IACA, and IGA_ITER is the maximum number of iterations of IGA.

3.3. Improved Ant Colony Algorithm (IACA)

3.3.1. Solution Construction

It is assumed that the total quantity of original boards is A, and the total quantity of standard boards is B. The original boards and standard boards are numbered sequentially from 0 to A−1 and B−1, respectively, and these numbers are used as nodes of the IACA. These nodes can be divided into original board nodes and standard board nodes; the original board node i represents the original board numbered i ( i [ 0 , A 1 ] ) and the standard board node j represents the standard board numbered j ( j [ 0 , B 1 ] ).
The layout process of solid wood boards can be described as follows. First, select an original board, and then select several standard boards for the layout to make the residual length of the selected original board as close to zero as possible. Then, replace the original board and repeat the above process until each standard board has been placed once. The concrete steps for ants to construct feasible solutions are as follows:
(1) w c o d e is the set of optional original board nodes (the difference set between all original board nodes and T a b u   ( x ) ) and s c o d e is the set of optional standard board nodes (the difference set between all standard board nodes and T a b u   ( y ) ).
(2) Taking the length of the original board corresponding to the original board node i as L i ( i w c o d e   ) and the length of the standard board corresponding to the standard board node j as l j ( j s c o d e   ), record the maximum lengths as L m a x and l m a x , respectively.
(3) Assuming that the original board node c is selected, the method of selecting the original board node is as follows:
c = a r g m i n i w c o d e [ L i (   l m a x + r ) ]
where r is a random number uniformly distributed between [0, Lmaxlmax].
(4) Select the standard board corresponding to the standard board node in s c o d e , one by one, to establish a tentative layout, and take the residual length of the selected original board after the tentative layout as a parameter of the heuristic function η c d :
η c d = { 1 / ( R c l d + 1 ) R c l d 0 R c < l d
where R c is the residual length of the original board corresponding to the selected original board node c, and l d is the length of the standard board corresponding to the standard board node d in the tentative layout ( d s c o d e   ).
In combination with the corresponding pheromone (the pheromone matrix is a two-dimensional array: the first dimension is the original board number, and the second dimension is the standard board number), select the standard board node according to the pseudorandom state transition rule.
(5) Record the selected original board node and the selected standard board node in the taboo list T a b u   ( x ) and T a b u ( y ) , respectively.
(6) Update w c o d e and s c o d e .
(7) If there exists at least one unselected standard board whose length does not exceed the residual length of the selected original board, return to step (4); otherwise, return to step (2) until each standard board node has been selected once.
Figure 5 shows the model of the solution constructed according to the above steps, and Figure 6 shows the corresponding layout scheme, assuming that there are twenty original boards and eight standard boards.
Figure 7 shows the encoding method; (4,0,4,4,16,4,16,0) is a encoded chromosome, with each individual in the population having only one chromosome. The length of the chromosome is the same as the total quantity of standard boards; a chromosome corresponds to a layout scheme, with each gene of the chromosome representing an original board number.

3.3.2. Pheromone Update

In the process of constructing the solution, after the ant transfers from the original board node i to the standard board node j, the corresponding pheromone τ i j should volatilize in a certain proportion, so as to reduce the selection probability of the nodes that have been selected before and enhance the ability to explore new layout schemes. The local pheromone is updated as follows:
τ i j ( t + 1 ) = ( 1 χ ) τ i j ( t )
where χ is the local pheromone volatilization coefficient.
In order to better maintain the dynamic balance between exploration and orientation, a hybrid strategy is adopted to update the global pheromone; that is, the global optimal solution is used once every r iterations, and the iterative optimal solution is used in other iterations. The global pheromone is updated as follows:
τ i j ( t + 1 ) = ( 1 ρ )       τ i j ( t ) + ρ   Δ τ i j ( t )
Δ τ i j ( t ) = { Q / ( 1 f g b e s t ) c o n d i t i o n 1 Q / ( 1 f d b e s t ) c o n d i t i o n 2 0 o t h e r w i s e c o n d i t i o n 1 : t i s a n i n t e g r a l m u l t i p l e o f r a n d ( i , j ) t h e g l o b a l o p t i m a l s o l u t i o n c o n d i t i o n 2 : t i s n o t a n i n t e g r a l m u l t i p l e o f r a n d ( i , j ) t h e i t e r a t i v e o p t i m a l s o l u t i o n
where ρ is the global pheromone volatilization coefficient, Δ τ i j ( t ) is the pheromone increment for the t-th iteration, Q is the pheromone enhancement factor, f g b e s t is the fitness of the global optimal solution, and f d b e s t is the fitness of the iterative optimal solution.
In order to avoid stagnation, the pheromone is limited between [ τ m i n , τ m a x ] , and the upper and lower bounds of the pheromone are determined by the calculation method in the literature [41]. In addition, the initial pheromone is set at τ m a x ( 0 ) to improve the global search ability of ants in the initial period.

3.3.3. Adaptive Strategy

When the global optimal solutions of n s consecutive generations are the same, the algorithm is considered to fall into local convergence, and the following adaptive strategies need to be adopted:
(1)
Referring to the pheromone smoothing mechanism [42], establish the weighted average between each node’s pheromone and the upper bound of the pheromone to prevent premature convergence.
(2)
In order to expand the exploration range of ants, adjust the global pheromone volatilization coefficient by ρ ( t + 1 ) = m a x   ( 0.95 ρ ( t ) , ρ m i n ) .
(3)
The value of q 0 determines the relative importance between using prior knowledge and exploring new solutions; in order to increase the probability that ants accept random solutions, adjust q 0 by q 0 = q 0 e x p ( ω ( n s / A N T _ I T E R ) ) , where ρ m i n is the lower bound of the global pheromone volatilization coefficient, ω is a negative number, n s is the number of stagnations, and ANT_ITER is the maximum number of iterations of the IACA.

3.4. Immune Genetic Algorithm (IGA)

3.4.1. Fitness Function

Fitness function is a performance index to evaluate the individual quality, and the individual performance increases with fitness. Since the optimization goal of the solid wood board CSP is to maximize the board utilization rate, the objective function is taken as the fitness function:
f = l / L c
where l is the total length of all standard boards, L c is the total length of all the original boards selected in a layout scheme, and f is the fitness, namely the board utilization rate.

3.4.2. Genetic Operations

(1) Selection Operation
Roulette wheel selection is a frequently used method in GAs [43]. The selection probability of the individual is directly proportional to its fitness; this may lead to excessive concentration of similar individuals with high fitness in the population after the selection operation, to reduce the search space and increase the probability of falling into the local optimum. In order to maintain population diversity and preserve excellent individuals, the concentration regulation mechanism of the immune system is introduced. The individual selection probability is jointly determined by fitness and concentration, which can promote individuals with high fitness and inhibit individuals with high concentration. The selection probability of individual i is calculated as follows:
P i = f i   e x p   ( θ   C i ) i = 1 N ( f i     e x p     ( θ   C i ) )
where f i is the fitness of individual i, C i is the concentration of individual i, N is the population size, and θ is a negative number.
Some individuals with high fitness may be inhibited because of their high concentration, resulting in the loss of these individuals. Therefore, the elite preservation strategy is adopted: ensure the individual with the highest fitness in the current population is preserved in the next generation population, and delete the individual with the lowest fitness in the next generation population.
(2) Crossover Operation
As the core operation of the GA, crossover determines the global search ability of the algorithm. In this paper, two-point crossover operation is adopted, as shown in Figure 8, and its design includes two main aspects: the crossover probability and the position of the crossover point.
The crossover probability directly affects the convergence of the algorithm. In this paper, adaptive crossover probability is proposed: in order to preserve excellent genes, the crossover probability decreases gradually with an increase in fitness for the individual whose fitness is higher than the average fitness of the population, and the maximum crossover probability is adopted for the individual whose fitness is lower than the average fitness of the population to generate new individuals. The crossover probability is calculated as follows:
P c = { P c m i n + P c m a x P c m i n 1 + e x p ( φ ( 2 ( f f a v g ) f m a x f a v g 1 ) ) f f a v g P c m a x f < f a v g
where P c m a x is the upper bound of the crossover probability, P c m i n is the lower bound of the crossover probability, f is the larger fitness of the two individuals performing the crossover operation, f a v g is the average fitness of the population, f m a x is the maximum fitness of the population, and φ is a constant.
The position of the crossover point determines the effectiveness of the crossover operation. If the position of the crossover point is not selected properly, the offspring after the crossover operation may be the same as the parent, which means the crossover operation is invalid. To avoid ineffective crossover, it is necessary to ensure that at least one of the two different crossover points selected randomly exists in the effective region.
Assuming that two individuals performing the crossover operation are v and s,
v = [ v 0 , v 1 , , v B 1 ] , s = [ s 0 , s 1 , , s B 1 ]
V = { i | s i v i , i = 0 , 1 , , B 1 }
the effective region is [ m i n ( V ) , m a x ( V ) ] .
(3) Mutation Operation
Mutation operation can provide new genes for individual evolution and is an important means to maintain population diversity. In this paper, single-point mutation operation is adopted; it is necessary to ensure that the replaced original board number is different from the former one.
After genetic operations, all individuals in the population are checked, and the individuals that do not meet the constraints are deleted.

3.4.3. Filter Similar Individuals

When the algorithm finds a region with an extreme value, individuals are constantly concentrated in this region, which will lead to the emergence of many new similar individuals. Thus, the population diversity decreases rapidly, compromising the ability to explore other new regions with extreme values and worsening the convergence efficiency. To avoid this, similar individuals need to be filtered. By referring to the self-generated diversity and maintenance mechanism of the immune system [44,45], the filter operation is performed according to the similarity threshold Th, which is beneficial to expand each individual’s independent search space and reduce the singleness of population genes. The specific steps of filtering similar individuals are as follows:
(1) For any two identical individuals in the population, delete one randomly.
(2) Select two individuals in the population and calculate their similarity. If the similarity is not less than the similarity threshold Th, add these two individuals into region D until any two individuals in the population have been selected.
(3) Select two individuals in region D and compare their respective concentrations. If the concentrations of these two individuals are not equal, delete the individual with higher concentration; otherwise, move to step (4).
(4) Compare the respective fitness of the individuals mentioned in step (3). If the fitness of these two individuals is not equal, delete the individual with lower fitness; otherwise, delete one randomly.
(5) Repeat step (3) and step (4) until any two individuals in region D have been compared.

3.4.4. Dynamic Supplementation of New Individuals

After deleting the individuals that do not meet the constraints and filtering similar individuals, in order to achieve the preset population size N, it is necessary to supplement new individuals. The method specified in Section 3.3.1 is used to generate new individuals. At the same time, if the similarity between the newly generated individual and any one individual in the population is less than the similarity threshold Th, the newly generated individual is added into the population; otherwise, it will not be preserved, which can better suppress the repetition in the search process and strengthen the global optimization ability.

4. Experiments and Discussion

In order to verify the effectiveness and superiority of the AC-IGA, experiments on the ACA [46], GA [47], GWO [48], PBO [49] and AC-IGA were carried out by PyCharm, and their experimental results are compared. The computer operating system is Windows10, the processor is Inter (R) Xeon (R) W-2155 CPU@3.30 GHz, and the RAM is 64 GB. Table 1 shows the parameter values of the AC-IGA. To ensure the effectiveness of the comparison, the values of the same parameters in the five algorithms are the same.
At present, there are no standard instances to test the one-dimensional cutting stock problem. Therefore, according to the real data provided by a furniture enterprise, we generated 12 instances for each of the nine classes with the random number generator [50], resulting in a total of 108 instances. The length range of original boards is [3000, 12000], and the length range of standard boards is [300, 4500]. Each generated instance is solved by ACA, GA, GWO, PBO and AC-IGA five consecutive times. The parameters for generating instances and the experimental results are presented in Table 2, where n is the number of types of original boards, m is the number of types of standard boards, d is the total number of standard boards (its value represents the range of the data generated randomly 12 times), u is the average of the experimental results under the corresponding class (average utilization rate), and Arg is the cumulative average of each column of data (the average of the experimental results of 108 instances). Figure 9 shows the comparison diagram of the statistical experimental results.
As can be seen from Table 2 and Figure 9, the average utilization rate of each class obtained by the AC-IGA is better than the other four algorithms. In addition, the cumulative average utilization rate of 108 instances obtained by the AC-IGA is 2.308% higher than that of the ACA, 2.482% higher than that of the GA, 2.347% higher than that of the GWO, and 3.669% higher than that of the PBO. It can be seen that when the solutions of the four comparison algorithms have high precision, the average utilization rate obtained by the AC-IGA still shows further improvement, which verifies the effectiveness of the AC-IGA in improving the solution quality and its superiority in solving the one-dimensional cutting stock problem.
In order to further verify the application value of the AC-IGA in solving the solid wood board cutting stock problem, a production instance of a furniture enterprise was selected for layout calculation. The production instance was solved by the ACA, GA, GWO, PBO and AC-IGA ten consecutive times, and each algorithm obtained ten results. Table 3 shows the data for the production instance.
Table 4 shows the analysis of the experimental results, where Min, Max, and Mean are the minimum, maximum, and average of the experimental results obtained by the corresponding algorithm, and SD is the standard deviation. Compared with the ACA, GA, GWO, and PBO, the Min obtained by the AC-IGA increased by 3.157%, 3.290%, 3.090%, and 4.801%, respectively, the Max obtained by the AC-IGA increased by 2.974%, 2.771%, 2.839%, and 3.846%, respectively, the Mean obtained by the AC-IGA increased by 2.974%, 3.034%, 2.949%, and 4.063%, respectively, and the SD of the AC-IGA is the smallest, which indicates that the AC-IGA has better optimization ability and robustness.
Figure 10 shows the relationship between the highest board utilization rate searched by the five algorithms and the number of iterations; the red solid line is AC-IGA, the blue dashed line is ACA, the green dash–dot line is GA, the yellow solid line is GWO, and the purple dotted line is PBO.
The board utilization rate of the AC-IGA converges to 99.240% after twenty-seven iterations and the board utilization rate of the GA converges to 96.469% after thirty-two iterations, which shows that the AC-IGA can find the optimal solution faster, and the solution quality is better, than the GA. This is mainly because the performance of the GA is excessively dependent on the initial population’s quality; the quality of the initial solutions generated randomly is low, which results in low solving efficiency. In this paper, the solutions generated by each generation of IACA are used as the initial population of AC-IGA, which can improve the solution quality and increase the convergence speed.
The board utilization rate of the ACA converges to 96.266% after nine iterations, which shows that although the AC-IGA is slower than the ACA in finding the optimal solution, the solution quality of the AC-IGA is better. This is mainly because ants are concentrated on some local solutions earlier under the action of the positive feedback mechanism of the ACA, which reduces the population diversity and makes it difficult for ants to further explore new solutions. In this paper, the IGA is introduced into each iteration of the IACA, and the solutions with higher board utilization rate can be obtained through multiple iterations of the IGA. Improved methods (including pheromone update, adaptive strategy, and filter similar individuals) are adopted, which can effectively maintain the population diversity in the evolutionary process, allows for the constant exploration of new layout schemes with higher board utilization rates, and improves the ability to jump out of the local optimum.
In addition, the board utilization rate of the GWO converges to 96.401% after thirty-eight iterations and the board utilization rate of the PBO converges to 95.394% after twenty-seven iterations, which shows that the quality of the solutions found by the AC-IGA is better than that found by the GWO and PBO. This is mainly because the GWO and PBO generated initial populations by random method, which cannot ensure good population diversity. In the GWO, individuals update their location information only based on three optimal individuals (α, β, and δ). Individuals are independent of each other and lack of effective information exchange, resulting in slow convergence speed. If α is the local optimal solution, the GWO will converge prematurely. Besides, the convergence factor used in the GWO decreases linearly with the number of iterations, which does not conform to the actual search process of the GWO and cannot balance the global exploration ability and local development ability.
In summary, the AC-IGA achieved great improvement in solution precision and convergence, and thus is an effective method to solve the solid wood board CSP.
Table 5 shows the optimal layout scheme obtained by the AC-IGA, where I is the layout mode number, II is the length of the original board, III is the length (quantity) of standard boards, IV is the residual length of the original board, and V is the quantity of the layout mode. A total of thirty-one original boards are selected in this layout scheme, and the board utilization rate is 99.240%.

5. Conclusions

This paper investigated the solid wood board cutting stock problem and established a mathematical model, with the optimization goal of the highest possible board utilization rate. An ant colony-immune genetic algorithm (AC-IGA) was proposed to solve this model. The advantages of the AC-IGA are as follows:
(1) To avoid the problem of premature convergence in the ant colony algorithm, we improved the pheromone update method. The adaptive strategy was adopted to jump out of the local optimum when the AC-IGA stagnates for an extended time. In addition, the concentration mechanism and genetic mechanism of individual diversity of the immune system was introduced into the GA, which effectively maintained the population diversity and enhanced the global search ability.
(2) By introducing the IGA into each iteration of the IACA, the global search ability and local exploitation ability could achieve better balance, and the solution quality and search efficiency was greatly improved.
Compared with the ACA, GA, GWO, and PBO, the experimental results showed that the AC-IGA can obtain a higher board utilization rate on the premise of ensuring robustness. This proves that the AC-IGA is a good approach to solve the solid wood board cutting stock problem and is more conducive to maximizing profits for furniture enterprises.

Author Contributions

Conceptualization, M.T. and Y.L.; methodology, M.T.; validation, M.T.; writing—original draft preparation, M.T.; writing—review and editing, Y.L., F.D. and Z.W.; project administration, Y.L.; funding acquisition, Y.L. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the 2019 Jiangsu Province Key Research and Development Plan by the Jiangsu Province Science and Technology under grant BE2019112.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The data presented in this study are available on request from the corresponding author.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Chen, M.Y.; Zhang, Z.F. Application of Material Characteristics in Furniture Design. Packag. Eng. 2017, 38, 141–145. [Google Scholar]
  2. Tankut, N.; Tankut, A.N.; Zor, M. Finite Element Analysis of Wood Materials. Wood Ind. Drv. Ind. 2014, 65, 159–171. [Google Scholar] [CrossRef]
  3. Zhen, W.; Wang, A.; Zhuo, M. Research of Using Laser Direct Marking Two-Dimensional Car Code Technology on Wood. In Proceedings of the 2015 6th International Conference on Manufacturing Science and Engineering, Guangzhou, China, 28–29 November 2015; Volume 32. [Google Scholar]
  4. PRC, S. The Sixth National Forest Resources Inventory and the Status of Forest Resources. Green China 2005, 2, 10–12. [Google Scholar]
  5. Jing-Chu, H.U. Discussion on Strategy about Solid Wood Furniture Sustainable Development. China For. Prod. Ind. 2003, 5, 9–13. [Google Scholar] [CrossRef]
  6. Liu, L.; Sun, H.G. The Impact of Collective Forestland Tenure Reform on the Forest Economic Efficiency of Farmers in Zhejiang Province. Sustainability 2019, 11, 2272. [Google Scholar] [CrossRef] [Green Version]
  7. Wang, L.; Huang, Z.; Gao, H.D.; Ni, C. A method for continuously monitoring the quality of Masson pine seedlings. PLoS ONE 2021, 16, e0234592. [Google Scholar] [CrossRef]
  8. Sun, X.; Katsigris, E.; White, A. Meeting China’s Demand for Forest Products: An Overview of Import Trends, Ports of Entry, and Supplying Countries, with Emphasis on the Asia-Pacific Region. Int. For. Rev. 2004, 6, 227–236. [Google Scholar] [CrossRef]
  9. Wargula, L.; Kukla, M. Determination of Maximum Torque during Carpentry Waste Comminution. Wood Res. 2020, 65, 771–783. [Google Scholar] [CrossRef]
  10. Ihnat, V.; Lubke, H.; Balbercak, J.; Kuna, V. Size Reduction Downcycling of Waste Wood. Review. Wood Res. 2020, 65, 205–220. [Google Scholar] [CrossRef]
  11. Gordic, D.; Babic, M.; Jelic, D.; Koncalovic, D.; Vukasinovic, V. Integrating Energy and Environmental Management in Wood Furniture Industry. Sci. World J. 2014, 2014, 1–18. [Google Scholar] [CrossRef]
  12. Vanzela, M.; Melega, G.M.; Rangel, S.; de Araujo, S.A. The integrated lot sizing and cutting stock problem with saw cycle constraints applied to furniture production. Comput. Oper. Res. 2017, 79, 148–160. [Google Scholar] [CrossRef] [Green Version]
  13. Xiong, X.Q.; Guo, W.J.; Fang, L.; Zhang, M.; Wu, Z.H.; Lu, R.; Miyakoshi, T. Current state and development trend of Chinese furniture industry. J. Wood Sci. 2017, 63, 433–444. [Google Scholar] [CrossRef]
  14. Guo, Y.Q.; Li, Z.Y.; Yang, X.L.; Li, J.B. Research on Shaking Table Test of Earthquake Simulation Based on Hybrid Integration Algorithm. IEEE Access 2020, 8, 208961–208968. [Google Scholar] [CrossRef]
  15. Savsani, V.; Savsani, P.; Arya, P. Effect of Applying Advanced Optimization Techniques for the One-Dimensional Cutting Stock Problem. In Proceedings of the ASME International Mechanical Engineering Congress and Exposition, Montreal, QC, Canada, 14–20 November 2014; Volume 11. [Google Scholar]
  16. Shi, Y.Y.; Li, Q.Q.; Bu, S.Q.; Yang, J.F.; Zhu, L.F. Research on Intelligent Vehicle Path Planning Based on Rapidly-Exploring Random Tree. Math. Probl. Eng. 2020, 2020, 1–14. [Google Scholar] [CrossRef]
  17. Fayyaz, S.; Sattar, M.K.; Waseem, M.; Ashraf, M.U.; Alsubhi, K. Solution of Combined Economic Emission Dispatch Problem Using Improved and Chaotic Population Based Polar Bear Optimization Algorithm. IEEE Access 2021, 9, 56152–56167. [Google Scholar] [CrossRef]
  18. Pleszczyński, M.; Zielonka, A.; Połap, D.; Woźniak, M.; Mańdziuk, J. Polar Bear Optimization for Industrial Computed Tomography with Incomplete Data. In Proceedings of the IEEE Congress on Evolutionary Computation (CEC), Kraków, Poland, 28 June–1 July 2021. [Google Scholar]
  19. Saddique, M.W.; Haroon, S.S.; Amin, S.; Bhatti, A.R.; Liaqat, R. Optimal Placement and Sizing of Shunt Capacitors in Radial Distribution System Using Polar Bear Optimization Algorithm. Arab. J. Sci. Eng. 2021, 46, 873–899. [Google Scholar] [CrossRef]
  20. Sikora, A.; Zielonka, A.; Woźniak, M. Heuristic Optimization of 18-Pulse Rectifier System. In Proceedings of the IEEE Congress on Evolutionary Computation (CEC), Kraków, Poland, 28 June–1 July 2021. [Google Scholar]
  21. Jiang, T. Low-carbon workshop scheduling problem based on grey wolf optimization. Comput. Integr. Manuf. Syst. 2018, 24, 2428–2435. [Google Scholar]
  22. Liu, E.; Yao, X.; Liu, M.; Jin, H. AGV path planning based on improved grey wolf optimization algorithm and its implementation prototype platform. Comput. Integr. Manuf. Syst. 2018, 24, 2779–2791. [Google Scholar]
  23. Mostafa, A.; Salah, K.; Mohamed, E.; Yu, J.; Francisco, J. Solving Non-Smooth Optimal Power Flow Problems Using a Developed Grey Wolf Optimizer. Energies 2018, 11, 1692. [Google Scholar]
  24. Durasević, M.; Jakobović, D. Evolving dispatching rules for optimising many-objective criteria in the unrelated machines environment. Genet. Program. Evolvable Mach. 2018, 19, 9–51. [Google Scholar] [CrossRef]
  25. Sun, P.; Wu, J.; Liao, M.; Zhang, J. Battlefield resource dynamic scheduling model and algorithm based on improved self-adaptive genetic algorithm. Syst. Eng. Electron. 2018, 40, 2459–2465. [Google Scholar]
  26. Turk, A.; Sara, D.; Ozkok, M.; Kose, E. Minimization of total trim loss occurring in pipe cutting in shipbuilding with genetic algorithm. J. Eng. Marit. Environ. 2021, 235, 695–704. [Google Scholar] [CrossRef]
  27. Sarper, H.; Jaksic, N.I. Evaluation of procurement scenarios in one-dimensional cutting stock problem with a random demand mix. Procedia Manuf. 2018, 17, 827–834. [Google Scholar] [CrossRef]
  28. Cui, Y.D.; 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] [Green Version]
  29. Cerqueira, G.R.L.; Aguiar, S.S.; Marques, M. Modified Greedy Heuristic for the one-dimensional cutting stock problem. J. Comb. Optim. 2021, 1–18. [Google Scholar] [CrossRef]
  30. Campello, B.S.C.; Ghidini, C.T.L.S.; Ayres, A.O.C.; Oliveira, W.A. A residual recombination heuristic for one-dimensional cutting stock problems. Top 2021, 1–27. [Google Scholar] [CrossRef]
  31. Ben Lagha, G.; Dahmani, N.; Krichen, S. Particle Swarm Optimization Approach for Resolving the Cutting Stock Problem. In Proceedings of the 2014 International Conference on Advanced Logistics & Transport (ICALT 2014), Hammamet, Tunisia, 1–3 May 2014; pp. 259–263. [Google Scholar]
  32. Lu, Q.; Zhou, X. GPU parallel ant colony algorithm for the dynamic one-dimensional cutting stock problem based on the on-line detection. Chin. J. Entific. Instrum. 2015, 36, 1774–1782. [Google Scholar]
  33. Hua, X.; Zhang, Q.; Fu, W.; Zhang, X.; Li, J. A global heuristic and two-tier algorithm to solve power cable optimal cutting problem. Power Syst. Technol. 2012, 36, 6. [Google Scholar]
  34. Benjaoran, V.; Bhokha, S. Three-step solutions for cutting stock problem of construction steel bars. KSCE J. Civ. Eng. 2014, 18, 1239–1247. [Google Scholar] [CrossRef]
  35. Pitombeira-Neto, A.R.; Prata, B.D. A matheuristic algorithm for the one-dimensional cutting stock and scheduling problem with heterogeneous orders. Top 2020, 28, 178–192. [Google Scholar] [CrossRef]
  36. Bai, X.; Runjia, L.I.; Jingtao, X.U.; Song, E. Wood surface defect image segmentation based on Graph Cut algorithm. J. For. Eng. 2018, 3, 116–122. [Google Scholar]
  37. Dai, X.; Xu, Y.; Chen, J.; Zheng, J. Evaluation of Mixing Uniformity for Inline Mixers by Image Processing. Trans. ASABE 2020, 63, 429–443. [Google Scholar] [CrossRef]
  38. Huang, L.; Xie, F.; Shen, S.; Zhao, J.; Lu, R. Human Emotion Recognition Based on Face and Facial Expression Detection Using Deep Belief Network Under Complicated Backgrounds. Int. J. Pattern Recognit. Artif. Intell. 2020, 34, 2056010. [Google Scholar] [CrossRef]
  39. Dou, S.H.; Liu, G.Y.; Yang, Y.B. A New Hybrid Algorithm for Cold Chain Logistics Distribution Center Location Problem. IEEE Access 2020, 8, 88769–88776. [Google Scholar] [CrossRef]
  40. Zheng, Y.; Luo, Q.; Wang, H.B.; Wang, C.H.; Chen, X. Path planning of mobile robot based on adaptive ant colony algorithm. J. Intell. Fuzzy Syst. 2020, 39, 5329–5338. [Google Scholar] [CrossRef]
  41. Pan, H.; You, X.; Liu, S. High-Frequency Path Mining-Based Reward and Punishment Mechanism for Multi-Colony Ant Colony Optimization. IEEE Access 2020, 8, 155459–155476. [Google Scholar] [CrossRef]
  42. Liu, A.Z.; Deng, G.S.; Shan, S.M. Mean-contribution ant system: An improved version of ant colony optimization for traveling salesman problem. Lect. Notes Comput. Sci. 2006, 4247, 489–496. [Google Scholar]
  43. Guo, X.C.; Su, J.; Zhou, H.; Liu, C.; Cao, J.; Li, L. Community Detection Based on Genetic Algorithm Using Local Structural Similarity. IEEE Access 2019, 7, 134583–134600. [Google Scholar] [CrossRef]
  44. Asadujjaman, M.; Rahman, H.F.; Chakrabortty, R.K.; Ryan, M. An Immune Genetic Algorithm for Solving NPV-based Resource Constrained Project Scheduling Problem. IEEE Access 2021, 9, 26177–26195. [Google Scholar] [CrossRef]
  45. Corus, D.; Oliveto, P.S.; Yazdani, D. Artificial immune systems can find arbitrarily good approximations for the NP-hard number partitioning problem. Artif. Intell. 2019, 274, 180–196. [Google Scholar] [CrossRef] [Green Version]
  46. Wu, Z.; Zhang, L.; Wang, K. An Ant Colony Algorithm for One-Dimensional Cutting-Stock Problem. Mech. Sci. Technol. Aerosp. Eng. 2008, 27, 1681–1684. [Google Scholar]
  47. Liu, Z.; Weng, X.; Jing, W.; Xia, X. Optimum cutting of multi-size stock tubing or profile based on genetic algorithm. Comput. Era 2018, 12, 67–70, 74. [Google Scholar]
  48. Zhou, C.; Yuan, Z.; Lei, J.; Bai, H.; Tan, Y.; Tao, S. Optimal Planning of Integration of Decentralized Wind Power into Distribution Network Based on Grey Wolf Optimizer Algorithm. Proceedings 2020, 32, 73–80. [Google Scholar] [CrossRef]
  49. Dawid, P.; Marcin, W. Polar Bear Optimization Algorithm: Meta-Heuristic with Fast Population Movement and Dynamic Birth and Death Mechanism. Symmetry 2017, 9, 203. [Google Scholar]
  50. Poldi, K.C.; Arenales, M.N. Heuristics for the one-dimensional cutting stock problem with limited multiple stock lengths. Comput. Oper. Res. 2009, 36, 2074–2081. [Google Scholar] [CrossRef]
Figure 1. Solid wood board CSP.
Figure 1. Solid wood board CSP.
Applsci 11 07790 g001
Figure 2. Mathematical model of the solid wood board cutting stock problem.
Figure 2. Mathematical model of the solid wood board cutting stock problem.
Applsci 11 07790 g002
Figure 3. Similarity based on hamming distance.
Figure 3. Similarity based on hamming distance.
Applsci 11 07790 g003
Figure 4. The flow chart of the AC-IGA.
Figure 4. The flow chart of the AC-IGA.
Applsci 11 07790 g004
Figure 5. Solution model.
Figure 5. Solution model.
Applsci 11 07790 g005
Figure 6. Layout scheme.
Figure 6. Layout scheme.
Applsci 11 07790 g006
Figure 7. Encoding method.
Figure 7. Encoding method.
Applsci 11 07790 g007
Figure 8. Two-point crossover operation.
Figure 8. Two-point crossover operation.
Applsci 11 07790 g008
Figure 9. Comparison diagram of the statistical experimental results.
Figure 9. Comparison diagram of the statistical experimental results.
Applsci 11 07790 g009
Figure 10. Iterative convergence curves.
Figure 10. Iterative convergence curves.
Applsci 11 07790 g010
Table 1. Parameter values.
Table 1. Parameter values.
Parameter ω A N T _ I T E R ρ min T h q 0 r Q n s α β
Value−0.5500.10.80.651524.5
Parameter θ I G A _ I T E R P c min P c max ϕ P m N χ ρ
Value−0.8500.60.99.9034380.1600.10.5
Table 2. Parameters and experimental results.
Table 2. Parameters and experimental results.
ClassnmdAC-IGAACAGAGWOPBO
u (%)u (%)u (%)u (%)u (%)
114[20, 50)83.23082.33581.81882.61881.276
225[50, 100)95.98490.64790.46890.44987.853
335[100, 150)98.57496.31696.00396.19994.360
436[150, 200)98.56695.71395.45495.45693.729
547[200, 250)98.93295.90995.86095.85194.727
658[250, 300)99.21296.69596.63196.72795.695
769[300, 350)98.89597.79997.71997.77496.967
8810[350, 400)98.99497.76997.75797.79797.096
91015[400, 450)99.06097.50197.40997.45896.727
Arg (%)96.82894.52094.34694.48193.159
Table 3. Data for the production instance.
Table 3. Data for the production instance.
Original boardLength/mm9400820075505500
Supply22262838
Standard boardLength/mm1390980830785660580450
Demand40353535353535
Table 4. Analysis of the experimental results.
Table 4. Analysis of the experimental results.
AlgorithmUtilization Rate of Board (%)
MinMaxMeanSD
AC-IGA98.92999.24099.0510.097
ACA95.77296.26696.0770.149
GA95.63996.46996.0170.244
GWO95.83996.40196.1020.154
PBO94.12895.39494.9880.379
Table 5. The optimal layout scheme.
Table 5. The optimal layout scheme.
155001390 (3); 830; 4505041575501390 (4); 980; 8301801
255001390 (3); 660; 5809011675501390 (2); 980; 830; 785 (3); 580251
355001390 (2); 980; 830 (2)801177550980 (6); 830 (2)101
455001390; 980; 830 (2);
660 (2)
1501187550660 (3); 580 (8); 450 (2)301
555001390 (3); 660 (2)101197550660 (6); 580 (3); 450 (4)501
65500980 (5); 5802012082001390 (2); 980 (2); 830;
785 (2); 580; 450
301
75500980 (4); 785 (2)101
85500980 (2); 830 (3); 580; 4502012182001390 (2); 980 (4); 830; 660101
95500830 (5); 660 (2)301228200830 (6); 785 (2); 580 (2); 450401
105500830 (4); 785; 660 (2)751238200785 (8); 660 (2); 580201
115500785 (4); 660 (2); 580; 4501022494001390 (4); 980; 830; 785 (2); 450101
125500785 (5); 580; 450 (2)9512594001390 (5); 980 (2); 450401
135500660 (5); 580(2); 450 (2)1401269400980 (5); 830 (2); 785 (2);
580 (2)
1101
145500660 (4); 580; 450 (5)301279400660; 580 (8); 450 (9)501
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Tang, M.; Liu, Y.; Ding, F.; Wang, Z. Solution to Solid Wood Board Cutting Stock Problem. Appl. Sci. 2021, 11, 7790. https://doi.org/10.3390/app11177790

AMA Style

Tang M, Liu Y, Ding F, Wang Z. Solution to Solid Wood Board Cutting Stock Problem. Applied Sciences. 2021; 11(17):7790. https://doi.org/10.3390/app11177790

Chicago/Turabian Style

Tang, Min, Ying Liu, Fenglong Ding, and Zhengguang Wang. 2021. "Solution to Solid Wood Board Cutting Stock Problem" Applied Sciences 11, no. 17: 7790. https://doi.org/10.3390/app11177790

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