Abstract

At present, the prefabricated construction industry is in a situation of increasing types of prefabricated components and generally high production costs. A hybrid optimization model considering continuity and discreteness for the production of fabricated concrete members is established to minimize production costs through the analysis of the production characteristics of precast concrete members. Under the premise of fully considering the staffing constraints, process constraints, construction period constraints, process constraints, and special process time limits for component production, the production arrangement and staffing of the components are rationalized and optimized. A discrete differential evolution (DDE) algorithm is introduced for such NP-hard problems. The double genetic chromosome coding mode and the active scheduling decoding method are adopted. Based on the improved POX (Precedence Operation Crossover) cross-evolution method, the global evolution operation is carried out, and an interchange-based local search method and continuous work penalty mechanism are designed to find the global optimal solution. The experimental results verify the practicality and effectiveness of the optimization model and algorithm.

1. Introduction

A prefabricated building is a new building form that selects large-scale factories to produce components and assemble them on-site [1]. The degree of development of prefabricated buildings represents the degree of integration and development of the upstream and downstream industrial chains of the construction industry [2]. In recent years, the prefabricated construction industry in China has entered a new stage of development under the support of national policies and has been highly valued by more and more enterprises and scholars [3]. Now, the construction industry is actively exploring the formation of a mature prefabricated construction industry system [4]. However, as far as the situation in recent years is concerned, because domestic prefabricated buildings are still difficult to form industrial-scale benefits, the construction assembly rate in China is only 5% [5], which is far lower than the level of western developed countries. The high construction cost is the root cause that affects the enthusiasm of developers and hinders the development of construction industrialization [5]. The study found that the main reason for the substantial increase in the cost of prefabricated construction is the increase in the cost of production and transportation of prefabricated components. Among them, the key to the control of the production cost of prefabricated components lies in large-scale and standardized production, thereby reducing the cost amortization of the production line and taking the advantages of prefabricated components in labor and materials saving [6].

At present, many scholars have proposed improvements and optimization methods for the production stage of prefabricated building components. Ko and Wang [7] proposed a production planning system for prefabricated components based on genetic algorithms; Jeong et al. [8] constructed a production combination optimization model for house construction to achieve the purpose of shortening the construction period, reducing inventory, and saving costs. From the perspective of production quality optimization, Rausch and Nahangi [9] optimized key interfaces and reduced errors to form an optimal assembly plan for prefabricated components, thereby reducing rework and saving costs. To solve the NP-hard problem of production scheduling, metaheuristic algorithms have been widely used in recent years, such as gaining-sharing knowledge-based optimization algorithm [10, 11], ant colony algorithm [12], particle swarm algorithm [13], differential evolution algorithm [14, 15], and various hybrid algorithms. Among them, the DE is widely used in various fields due to its good self-learning and robustness [1620] and is continuously optimized. Wagdy et al. [21] proposed two new mutation strategies, which, respectively, enhanced the algorithm's exploration and convergence capabilities and designed a hybrid framework to improve the algorithm's ability to solve complex problems. Cheng et al. [22] designed a new DE variant (named ADEwSE) to reduce the randomness of the search direction and improve the search efficiency of the algorithm.

Based on the above research results, this paper studies the prefabricated component production scheduling optimization model that is restricted by various factors such as staffing, technology, construction period, process, and special process requirements, and there are multiple optional resources for different component processes. Based on the basic differential evolution algorithm, the discrete differential evolution algorithm (DDE) with double coding is adopted to assign and schedule the processing time and work team of each component process. The algorithm aims to reduce the waiting time of labor and machinery and the overtime of workers, to improve the production efficiency of workers and machinery, and reduce the production cost of components under the premise of ensuring timely delivery.

2. Modeling of the Component Production Scheduling

2.1. Problem Description

The main feature of prefabricated buildings is the use of mobile assembly lines in the prefabricated yard to carry out the batch and standardized production of concrete components. But there is a big difference between the production of building components and the production of mechanical parts. The first is the coexistence of continuity and discreteness of production. The production process of concrete components generally includes five processes: mold placement, finished steel reinforcement placement, concrete pouring and vibrating, concrete component maintenance, and form removal and storage. Among them, concrete pouring and curing must be carried out continuously. The second is a strong artificial dependence. Due to the relatively low level of automated production technology for building components and the high cost of fully automatic component production equipment, many processes still require manual participation, so labor costs and working time arrangements must be considered.

Based on the above characteristics, the production scheduling optimization problem of precast concrete components can be summarized as follows. Component production tasks include several components to be processed, and each component production includes mold placement, finished steel reinforcement placement, concrete pouring and vibrating, concrete component maintenance, and form removal and storage. A group of nonunique professional work teams and unique processing machinery are allocated for each process and there is a certain order constraint relationship between different processes. Thus, resources involved in each process include processing equipment and processing team. Different component processes can be processed by any work team, which takes a different time. Since concrete pouring and curing can be performed over time, the operation is continuous and the processing process cannot be interrupted. If it cannot be completed within working hours, it will be carried out the next day. The rest of the process is regarded as an interruptible process.

Also, the production scheduling model of precast concrete components has the following assumptions:(1)In the beginning, all work teams and processing equipment can arrange tasks, and all components can be processed(2)Processing preparation time is included in the processing time of each process(3)Different components have the same processing priority, and there is no component processing order constraint(4)Before the current process is completed, the team cannot participate in other processes(5)The transmission time of components between processing sites is not considered(6)Machinery can meet the requirements(7)The processing time of all components is less than the sum of normal working hours and overtime hours

The scheduling optimization goal is as follows: under the premise of satisfying the constraints, each process is assigned to the most suitable work team, and the best sequence and starting time are determined so that the production cost of the entire concrete component production is minimized.

2.2. Variable and Parameter Symbol Definition

(1)Label is the task force number; . is the highest number of the task forces. is the component number; . is the largest number of the components. is the process number; . is the largest number of the processes.(2)Parameter: the time required for task force to process the th process of component.: the average wage of the work team during the working day, yuan/hour.: the unit salary for overtime work of each team, yuan/hour.: depreciation cost per unit working time of equipment .: normal working hours.: nonworking time, .: daily start time.: maximum overtime hours per day.: latest delivery date.: a large positive number.: the number of the concrete pouring processes.: the number of the concrete curing processes.: the last component processed by task force .: the last process of task force processing.(3)Decision variables: the start time of process for task to process component .: the end time of process for task to process component .

2.3. Mathematical Model

Formula (1) indicates that the optimization of production scheduling of concrete components is aimed at minimizing costs. The first item is the overtime expenses involved in the concrete pouring and curing process. The second item represents the normal working wages of each team. And the third item represents equipment depreciation expenses. In the equation, is the modulus operation symbol, is the sign function, and is the integer function. Formula (2) represents the exclusive constraint of processing tasks in the same work team; that is, the same work team can only process one process at the same time. Formula (3) is the process constraint, which means that each process of each component must be assigned to a task force for processing. Formula (4) is the time limit. Formula (5) is the constraint of the processing start time, which means that the start time of work can only be within the normal working period. Formula (6) is the time constraint of the adjacent process; that is, only after the processing task of the previous process is completed, the processing resources can be allocated for this process. Formula (7) is the task assignment constraint; that is, only if the process of component is assigned to the task force for processing, this start time will exist. Formula (8) represents the time limit for the start of the work when the components are placed in the concrete pouring and curing process; that is, if the processing cannot be completed within the normal work and overtime hours, the processing will not be performed on the same day, and the work will be performed on the next day. Formula (9) expresses the restriction on the relationship between the processing end time of the component concrete pouring process (the third process) and the concrete curing process (the fourth process). Formula (10) expresses the work end time limit when the processing can be interrupted; that is, if the processing operation cannot be completed within the normal working time of the day, the same work team will continue processing the next day.

3. Discrete Differential Evolution Algorithm Based on Double Coding

The basic DE is based on real number coding, which is suitable for solving continuous optimization problems. Therefore, for the optimization problem of precast component production scheduling, this paper adopts DDE based on double coding. Through task code and team code, the optimal order and optimal processing resource allocation strategy for each concrete component processing can be determined.

3.1. Encoding and Decoding Scheme

To express the processing sequence of each component process and the corresponding work team at the same time, the two-level coding form is adopted. The first layer is the task code based on components and processes [23], denoted as chromosome 1. The length of the chromosome is the sum of all the processes of all the components, which is defined as , and each locus is directly represented by the component number. The second layer is the team code based on the task force distribution sequence, denoted as chromosome 2. Chromosome length is . Each gene locus is directly represented by the task force number. After the two codes are determined, the gene combination corresponding to the same position on each pair of chromosomes indicates the processing order and work team allocation plan of a process of a component.

Set chromosome 1 =  ; corresponds to the currently processed component. In the task chromosome, components of the same species are given the same number, and different positions of the same number represent different processes of the component. The cumulative number of occurrences of the same number is the number of processes required to process the component. Set chromosome 2 =  . corresponds to the available task force number, used to determine the processing work team of each process of each component. The double-layer chromosome encoding is shown in Figure 1:

Define as the th process of component. In the case shown in Figure 1, there are two components to be processed, and each component contains three processes, which can be processed by three teams. The task code in the figure is , which determines the processing sequence of the two components for a total of 6 processes. The sequence of processes can be expressed as . The team code is , where the first “1” indicates that the process is performed by the task force 1, and similarly, the processing teams of the remaining processes can be obtained.

The chromosome decoding process is the process of converting the code into a feasible scheduling solution. This paper will adopt the activity scheduling method [24]. The decoding steps for chromosome 1 and chromosome 2 are as follows:Step 1. Decode the team code. Read the code value from left to right and form the work queue sequence matrix and the operation time sequence matrix according to the known operation time. means the processing team number of all processes of the th component, and there is a processing order constraint among them. represents the operating time of the th process of the th component. Matrix corresponds to matrix one-to-one.Step 2. Read the code value on chromosome1 from left to right and convert them to the corresponding process . And the processing team and operation time are obtained through the work queue sequence matrix and the time sequence matrix .Step 3. Define each work team's idle start time and work idle end time .Step 3.1. Determine whether process is the first process of component . If it is the first process, get the idle time of the work team that can be inserted according to formula (11), then judge whether this process can be completed within the working hours, and get the earliest start time . If not, perform Step 3.2.Step 3.2. Determine whether process is the third or fourth process of component . If it is, it is necessary to consider the completion time of the previous process and the idle start time of the work team at the same time, as shown in formula (13). It is also necessary to judge whether the process can be completed before the end of overtime. If the conditions are met, the process can be inserted into the current free period. If not, starts from the next day and judges whether the interval meets the conditions at this time.Step 3.3. Determine the difference between the completion time of the previous process and the start time and end time of the work team interval, and then determine whether it is completed within the working time. If it can, the process can be inserted into the time interval that meets the conditions; if not, it is necessary to judge whether the sum of the operation time and the rest time meets the current insertion conditions.Step 3.4. Determine whether the current chromosome has been read. If it is satisfied, the loop ends; otherwise, proceed to step 3.1.

After decoding, the activity scheduling plan can be obtained; that is, the operation team of each process of each component can be designated, and the operation start time and end time can be obtained.

3.2. Fitness Function

Formula (14) expresses the goal of minimizing production cost; therefore, the fitness function is

3.3. Global Search Operation

An individual in the population is composed of task chromosomes and team chromosomes. Therefore, in the iteration of the population, it is necessary to use the DDE evolution operation on the two chromosomes, respectively.

3.3.1. Improve POX Crossover Method

Traditional DE is based on real number coding in continuous space. For the discrete problem of production scheduling optimization, traditional evolutionary operations are no longer applicable. Therefore, this paper adopts POX (Precedence Order-based Crossover) [25] to recombine each gene on the chromosome and improve the crossover method to adapt to the differential evolution operation of the discrete coding of double coding. The operation process isStep 1. Randomly divide the component set into two complementary nonempty sets, Set 1 and Set 2.Step 2. Respectively, copy the parental chromosomes F1 and F2 containing the numbers contained in Set 1 and retain their order and position, thereby generating offspring chromosomes C1 and C2.Step 3. Copy the component numbers contained in Set 2 and the parent chromosomes F1 and F2 simultaneously to the offspring chromosomes c2 and c1 and retain their order until all the missing chromosomes are filled in. If there are still vacancies after the complete copy, 0 will be used to occupy the position.Step 4. Determine in turn whether the code on each gene position of the offspring chromosomes is 0; if it is zero, randomly generate any value between for replacement.

Examples of POX are shown in Figures 2 and 3.

The example in Figure 2 contains 4 components, and each component requires two processes to process. Copy the parts containing 2 and 3 in F1 and F2 to C1 and C2, respectively, then copy the remaining parts in F1 to C2 in order, and finally copy the remaining parts in F2 to C1 in order. Figure 3 is the same, vacant positions are occupied by 0, and redundant genes are discarded.

3.3.2. Mutation Crossover Strategy Design

To adapt to the discretization operation, based on the improved POX crossover method, this paper will adopt the following crossover mutation strategy:(1)Mutation operationIn the formula, are any mutually different integers from 1 to , is the number of populations, is the evolutionary algebra, is the scaling factor, represents the POX operation, and is the random number of [0, 1]. Equation (15) represents the difference vector formed by two different parent individuals, and equation (16) represents the difference vector formed by the difference vector and the other parent individual.(2)Cross operationIn the formula, is the crossover probability. Formula (17) represents the temporary experimental individual obtained after the crossover between the mutant individual and the parent individual.(3)Continuous work penalty mechanismTo make the process of generating feasible solutions more effective, a continuous work penalty mechanism is adopted for the chromosome 2 population in response to a large amount of work undertaken by the same task force. By introducing penalty coefficients and penalty factors , increase the variation and crossover probability of unreasonable feasible solutions. The specific steps are as follows:Step 1. Judge whether the workload percentage of each work team in the current chromosome is greater than the penalty coefficient; if yes, execute Step 2; otherwise end the operation.Step 2. Penalize the scaling factor of the chromosome as shown in formula (18).

3.3.3. Population Retention Strategy

In one iteration, after mutation and crossover operations, under the premise of ensuring the validity of the search information, a one-to-one greedy strategy mechanism is adopted to select the next-generation population individuals to prevent the genetic characteristics of the offspring from becoming uniform. That is, for each parent individual and temporary experimental individual, by comparing the fitness function value f(x), select the better individual and random individual to enter the next-generation population. The selection method is shown in the formula (19).

3.4. Local Search Operation

The DDE algorithm has the characteristics of fast convergence, but it is easy to fall into the local optimum. To solve this problem and further improve the optimization efficiency of the algorithm, a local search operation based on the interchange neighborhood structure [26] is introduced. Perform a local search operation for the best individual and 20% random chromosomes in the chromosome 2 population. The selected individual is defined as chromosome 2∗. The operation is as follows:Step 0. Generate random integers between [0, 1], denoted as . Then generate random integers between [1, chromosome 2.length], denoted as . Let chromosome = chromosome 2∗;  =  . If  = 0, execute Step 1.1–Step 1.3; otherwise, execute Step 2.1–Step 2.3.Step 1.1. If , generate a random integer between [1, ], which is recorded as . It means searching for bits from the bit of the chromosome forward.Step 1.2. Exchange position and position gene of the chromosome; if (chromosome 1, chromosome) < (chromosome 1, chromosome 2), then chromosome 2 = chromosome.Step 1.3. ; judge whether is greater than ; if yes, execute Step 1.2; otherwise end the operation.Step 2.1. If  < chromosome 2.length, generate random integers between [1, chromosome 2.length-], denoted as . It means searching for bits from chromosome backward.Step 2.2. Exchange position and position gene of the chromosome; if (chromosome 1, chromosome) < (chromosome 1, chromosome 2), then chromosome 2 = chromosome.Step 2.3. ; judge whether is less than ; if yes, execute Step 2.2; otherwise, end the operation.

3.5. Algorithm Flow

The process of the improved DDE algorithm in this paper is shown in Figure 4.

4. Case Analysis

Use Visual Studio 2017 to program the discrete difference algorithm based on C# language to simulate the production scheduling optimization problem of precast concrete components. Its scale is 5 components and 5 work teams, each component contains 5 processes, and each work team can operate 5 processes. The operation time of each process is different due to the difference in the component type and the work team. The specific time is shown in Table 1. The wages of each task force are shown in Table 2. Depreciation expenses of equipment unit working hours are shown in Table 3. The normal working hours of the task force are 9 hours, and the maximum overtime hours are 4 hours. The daily starting time is 8 am.

After experiments, the optimization results are better when the parameters are set as evolutionary algebra , population size , mutation factor , and cross factor . The results of the component process assignment are shown in Table 4, and the component production scheduling Gantt chart is shown in Figure 5. The minimum production cost is 2626.7 yuan.

To analyze the effectiveness of the improved discrete difference algorithm based on the local search strategy (LSS-DDE), compare it with the solution results of the traditional discrete difference algorithm (TRAD-DDE), ant colony algorithm (ACO), and particle swarm algorithm (PSO). Each algorithm performs 20 independent simulation experiments for the above component production scheduling examples, and the termination conditions are all 1000 iterations. The algorithm parameter setting table is shown in Table 5. The comparison of running results is shown in Table 6. The convergence situation comparison is shown in Figure 6:

It can be seen from the comparison of the results that the application of a discrete differential evolution algorithm can provide better optimization results. Also, it can be seen from the convergence that LSS-DDE can get a better global optimal solution. Due to the local search operation, LSS-DDE jumps out of the local optimum, thus avoiding premature maturity.

To verify the reliability of the comparison test, Wilcoxon signed-rank test was used to test the nonrandomness of the difference in the results of the algorithm. Use SPSS to analyze experimental results, α = 0.01, and the test results are shown in Figures 79.

It can be seen from the test results that the -value is less than 0.001. That is, compared with other algorithms, LSS-DDE shows a significant improvement over TRAD-DDE, ACO, and PSO, with a level of significance α = 0.01.

5. Conclusion

As a new type of construction method, prefabricated buildings have distinctive features such as high production efficiency, high industrialization level, high standardization, strong environmental friendliness, and low external climate impact. Building industrialization is an important development direction in the future construction field. However, the high production cost of fabricated building components is the main reason that affects its promotion and application.

The author reasonably distinguished the costs involved in component production and established an optimization model for assembly-type component production scheduling to minimize component production costs. This model optimizes component production scheduling under the premise of fully considering the constraints of component production process requirements, process time constraints, and production equipment resource constraints. This paper uses a discrete differential evolution algorithm to solve the optimization model. Double-layer chromosome encoding and activity scheduling decoding are used for global search, and the local search process is based on the interchange neighborhood structure.

In the selection process, a continuous work penalty mechanism is designed to improve the performance of the algorithm. Through the optimization model and algorithm in the application simulation of a concrete component production plant, the validity and scientificity are verified. The author provides an efficient and accurate optimization method for reducing the production cost of prefabricated building components, which adapts to the standardized and streamlined production characteristics of prefabricated buildings. This method provides technical support for reducing the overall cost of prefabricated buildings. More detailed constraints are integrated into the optimization model of assembly-type component production scheduling, and the in-depth study of applying the multiangle improved DDE algorithm to the solution of the optimization model is one of the important future research directions in this field.

Data Availability

The data used to support the findings of this study are available from the corresponding author upon request.

Conflicts of Interest

The authors declare that there are no conflicts of interest regarding the publication of this paper.

Acknowledgments

This project was funded by the National Natural Science Foundation of China (no. 51678375) and Liaoning Provincial Natural Fund Guidance Plan (no. 2019-ZD-0683).