Abstract
This paper studies the green single-machine scheduling problem that considers the delay cost and the energy consumption of manufacturing equipment and builds its integrated optimization model. The improved ant colony scheduling algorithm based on the Pareto solution set is used to solve this problem. By setting the heuristic information, state transition rules, and other core parameters reasonably, the performance of the algorithm is improved effectively. Finally, the model and the improved algorithm are verified by the simulation experiment of 10 benchmark cases.
Keywords
Introduction
The single-machine scheduling with sequence-dependent setups times (SDST) is a fundamental problem in the field of production scheduling. 1 The workpiece has a specific sequence-dependent setup time. This problem is more in line with the practical production and is a typical NP-hard problem.2–4 Previous research studies about this kind of problem focus on production efficiency and delayed cost, but few on energy consumption in the production process.5–7 With the increasing contradictions among energy, price, and environmental, the problems of energy demand and waste in production have brought great restrictions to the survival and development of enterprises. In order to realize green and low-carbon production, enterprises urgently need to change production management mode, optimize the allocation of manufacturing resources, and coordinate and optimize energy consumption in production.8,9
At present, there are some research literature studies about energy consumption in production, that using different scheduling models and objectives to study green scheduling.
In terms of optimization objectives, most of the research studies on optimization objectives are bi-objective or multi-objective. Mouzon proposed a multi-objective mathematical programming model to solve the scheduling problem of a single CNC machine and used several scheduling rules to reduce processing energy consumption and total completion time. 10 Then Mouzon applied the greedy stochastic adaptive search algorithm to the single machine multi-objective scheduling problem with the objective of minimizing total energy consumption and total delay. 11 Chen et al. studied the hybrid backtracking search (HBSA) algorithm to minimize completion time and production energy consumption of the flow shop scheduling problem. 12 Yanmei Luo constructed an improved ant colony algorithm for dual objective flow-shop scheduling problem by using real number coding. 13 Xinyue Liu introduced ultra-low standby mode into multi-objective job shop scheduling optimization aiming at energy consumption and process time. A multi-objective scheduling optimization model based on non-dominated sorting genetic algorithm with elite strategy (NSGAII) was established, and the effectiveness of the multi-objective scheduling optimization model was proved by an example. 14 Yueyue Liu concerned with a just-in-time (JIT) single machine scheduling problem which considers the deterioration effect and the energy consumption of job processing operations. The aim is to determine an optimal sequence for processing jobs under the objective of minimizing the total earliness/tardiness cost and the total energy consumption. 15 Liu et al. established a bi-objective model to minimize energy consumption and total weighted delay, 16 and proposed a multi-objective optimization strategy based on a fast non-dominant sorting genetic algorithm (NSGA-II).
According to different types of shop scheduling, many scholars have proposed different optimization schemes. YanHe and Rager discussed the evolutionary algorithm considering energy consumption and completion time in a parallel machine scheduling environment.17,18 Dai et al. and Huicheng Jing established an energy-saving model for flexible flow shop scheduling and proposed different hybrid optimization algorithms to resolve it.19,20 Bao Zheren et al. studied the green shop scheduling problem considering energy consumption, production cost, and maximum completion time by using improved discrete bat algorithm. 21
For SDST single machine scheduling problem, a reasonable scheduling scheme can shorten the product completion time effectively, thereby reducing the production energy consumption. On the other hand, if a machine is idle for a long time during the preparation for production processing, there will be significant energy consumption. Therefore, it is possible to further reduce the production energy consumption by the machine start and stop between scheduled jobs. Considering the previous statements, an integrated optimization model was established to minimize the total weighted tardiness 22–24 and manufacturing energy consumption,25,26 the energy consumption optimization strategy based on start/stop strategy is proposed. 27 Ant colony optimization algorithm has been used in optimization fields such as workshop scheduling,28–30 path planning,31–34 and so on.35–38 In this paper, an improved ant colony algorithm based on Pareto set is proposed to solve the SDST single machine scheduling problem. Combined with the advantages of Pareto set theory and ACO algorithm in solving combinatorial optimization problems, a bi-objective improved ant colony scheduling algorithm based on Pareto set was designed to realize the collaborative optimization of production complete time and energy consumption.
The remainder of this paper is organized as follows. The mathematical model for the SDST single machine scheduling problem is presented in Section 2, including the production optimization model and the energy optimization model. The improved ant colony algorithm for bi-objective green single machine scheduling is described in Section 3. The simulation experiment and analysis are discussed in Section 4. Section 5 presents the conclusions.
The mathematical model for SDST single machine scheduling problem
Two optimization objectives are included: total weighted tardiness cost and production energy consumption. The mathematical model consists of two parts: the total weighted tardiness cost model and the energy consumption model. In this section, the production solution model and the energy consumption optimization model will be discussed in the following sections.
The model about total weighted tardiness cost
The SDST single machine with total weighted tardiness scheduling problem (
Each job requires a specific setup time before processing and it is sequence-dependent. If the job is the first job in the work sequence, it has an initial setup time S_0.
For a given scheduling scheme π, the completion time of job j denoted as C
j
. Suppose the job j is completed after the scheduled delivery date, there will be a weighted delay cost T
j
. Their relations can be described as J
i
--The ith job to be processed S
_j
--The initial processing time of job j C
j
--The end processing time of job j p
j
--The processing time ω
j
--The weight d
j
--The expected completion time
So, the goal of minimizing the total weighted tardiness cost of the scheduling scheme can be formulated as
In the formula, N={1,2,…,n}. N is the number of workpieces to be processed. Constraints (5) and (6) ensure that the device can only process one part at one device, and each part only needs to be processed once. Constraint (7) defines the relationship between the completion time of the part and the starting time of the equipment at the station, where the starting time at the first station is set as S_1=0. Constraint (8) defines the value range of each variable in the model.
The model about energy consumption
In this paper, only three sorts of energy consumption related to the production process are considered: the average power of machine idle is denoted as P
idle
; the machine start/stop once energy consumption (if the start/stop conditions are met) is denoted as E
sc
, it is set to a constant in this paper; and the average power of job processing is denoted as
If the machine is idle for a long time, it should be shut down to save energy. If the machine start/stop energy consumption P
close
--The average power of machine stop P
start
--The average power of machine start T
sc
--The start/stop operation duration
If S (j)(j+1)=S _(j+1)
Assuming that the power of the machine is constant for all jobs processing, the energy required to process the jobs can be calculated as
E
idle
is the energy consumption of the machine in the stage of job preparation, and it can be calculated as
λ
j
is the decision variable to judge whether to stop and restart the machine to save energy, it can be calculated as
The objective of energy consumption can be formulated as
To further illustrate the energy consumption calculation of the machine start/stop strategy. An example of a schedule with 5 jobs is given in Figure 1. Areas circled by dotted lines and axes denote energy consumption; the parameters of jobs are shown in Tables 1, 2. Parameters of energy consumption are set as follows: P
run
=3kw, Pidle=1kw, E
sc
=2kwh, E
idle
=1, and E
ac
=6. The jobs processing sequence is π=J4-J5-J2-J3-J1, as given in Figure 1. The energy consumption can be calculated as follows Example of energy consumption with machine start/stop strategy. (a) Before local optimization T=30. (b) Local optimization process T=30. (c) After local optimization T=25. Parameters of jobs. Pseudocode for the algorithm.
As shown in Figure 1, there is no machine start/stop before the starting job J4. The setup time between J4 and J5 is S45=1, which is less than the predefined break-even time T B =E sc /P idle =2, so the machine should be kept idle. Similarly, the setup time between J5 and J2 is S52=3>T B =2, the machine start/stop will occur, the machine start/stop energy consumption E sc between J5 and J2 will be E sc =2. So the total energy consumption calculation under the scheduling scheme is shown in Table 1 and Figure 1.
In Table 1, if job j is after the job i in the work sequence, its setup time is denoted as S ij . Vice versa, the setup time is denoted as S ji , and S ij ≠S ji . Such as, S12=3, S21=1, and S12≠S21.
The working time diagram of the machine is drawn from the processing time of each part on the machine tool in Table 1. It can be seen from the Table 1 that the preparation time of the first processing J4 before machining J5 is 1, so the interval between the two parts is 1, and so on and so forth.
From the above analysis, the energy consumption in the job processing process is related to the job processing sequence and the appropriate machine start/stop strategies that can further reduce production energy consumption.
Therefore, the objective function considering the total weighted tardiness cost and energy consumption is formulated as 1 Prepare time is required for each workpiece before processing. 2 At the same time, the machine can only process one part. 3 The start time of the latter part processing is greater than or equal to the end time of the former part processing 4 Each part is processed according to its order in the working sequence. 5 A weighted delay cost occurs if the completion time of the part is longer than the delivery time.
Improved ant colony algorithm for multi-objective green single-machine scheduling
Multi-objective optimization problem
Generally, a multi-objective optimization problem with m objectives and n-dimensional decision vector with variables can be formulated as follows: min f(X) =[f1(x), f2(x),..., f
m
(x)]
T
(19) s.t. g
i
(X)≤0, i=1,2,…, p (20) h
i
(X)=0, i=1,2,…, q (21)
The decision vector X = (x1, x2,…, x n ) satisfies x∈Ω, and Ω is the non-empty decision space; g i (X)≤0(i=1,2,…, p) defines p inequality constraint conditions; h i (X)=0 (i=1,2,…, q) defines q equality constraint conditions. The aim of multi-objective optimization is to find a X*=(x1*, x2*,…, x n *) which meets all the constraint conditions so that f(X*) gets the optimal value. To the problem in this paper, the job processing sequence is a solution vector. Pareto Dominance, Pareto Optimal Solution, and Pareto Front are some important concepts to multi-objective optimization.
Improved multi-objective ACO algorithm
Ant colony optimization algorithm is a new bionic optimization algorithm proposed by Italian scholar Dorigo M et al. It adopts multi-point parallel search method, in which current and historical searched information can be shared among ants, 41 and it is easy to construct a hybrid algorithm with ACO and other optimization algorithms.
For the single-objective problem, ACO algorithm can help artificial ants converge to a certain region of the solution space quickly based on the pheromone positive feedback, 42 so as to find the global optimal solution or the approximate optimal solution. 43 For the multi-objective ant problem, due to many solutions are non-dominated, 44 ACO can find a Pareto solution set quickly. This paper combines the characteristics of production solution model and energy consumption optimization model. In order to realize the collaborative optimization of the weighted delay and energy consumption for SDST single machine scheduling problem. This paper proposes an improved bi-objective ant colony scheduling algorithm (IACO) based on the Pareto set and the two model in the previous section.
Double pheromone matrix
When solving multi-objective optimization problems with ACO, single pheromone matrix may cause the ant colony to incline to one of the objectives, which leads to local optimization. In this paper, a double pheromone matrix is designed for the bi-objective integrated optimization model so that the pheromone can be updated differently with different objectives. 45
In the search phase, the IACO selects the appropriate job for each position in the processing sequence in turn, and the pheromone is remained between the desired job and the machining position. Some parameters are described as follows: τ0--The initial pheromone τ
T
(i, j)--The pheromone between job j and machining position i in the pheromone matrix of min T τ
E
(i, j)--The pheromone between job j and machining position i in the pheromone matrix of min E. min E--Minimum production energy consumption.
Heuristic information
Heuristic information η
ij
, is the key parameter for the transfer rules of ACO, and its setting should consider the algorithm and problem information comprehensively. Reasonable heuristic information can guide ants to make a better choice in each step according to the rules.
46
In the IACO, η
ij
represents the expectation that a job is selected during the construction of the scheduling scheme. Based on the characteristics of the SDST single machine scheduling problem, heuristic information is set by the priority rule of apparent tardiness cost with setup (ATCS).
47
It can be calculated as follows t--The sum of the processing and setup time of the sorted jobs. v--The job index at the (i-1) position S
vj
--The setup time for job j with the precedence job v k1--The parameter related to the delivery time of the instance. k2--The parameter related to the setup time of the instance
State transition rules
At the beginning of scheduling, the weight p
k
(0≤p
k
≤1,
State transition rules have an important influence on the performance of the ACO. If the difference of selection probability between different jobs is too large,
48
it is easy to make the ACO fall into the local optimal prematurely. On the contrary, it is difficult for the ACO to use the search experience accumulated in the iterative process, and its convergence is poor. Based on this, the state transition rules are designed with diversity selection strategies that use prior scheduling knowledge and random selection principle. For the selected machine position i, its successor job j can be selected as follows q--A random variable uniformly distributed in the interval of [0,1] q0--A given parameter, 0< q0<1 allowed
h
--The set of available jobs to ant h P
ij
--The selection probability of job j η
ij
--The heuristic information related to the job lead time d
j
α--Information heuristic factor β--Expected heuristic factor
When the job j is selected for machining position i, q is randomly generated for a given q0, if q≤ q0, then job j can be obtained by Eq. 23, otherwise, the selection probabilities for the set of available jobs are calculated by Eq. 24, and the job j is selected according to roulette wheel selection with P ij .
From Eq. 23, the larger the q0, the more greedy the algorithm tends to select the current optimal job, the smaller the q0, the more inclined to choose the job according to the roulette wheel. Pseudo-random selection rules can help the IACO to make full use of the information of the better nodes, improve the global searching ability, and accelerate the convergence speed. Repeat the selection process until the optional jobs set allowed h is empty. At this time, each ant completes the construction of a complete schedule independently. The set of these feasible solutions is denoted as the set of solution S p (t) searched by all individuals at the tth iteration.
Differential update of double pheromone matrix
To make full use of historical search information of ants, it is important to update the residual pheromone among the nodes which constitute the feasible solution. In the IACO, an improved differential pheromone update strategy is proposed to adjust the pheromone of each node to make the algorithm maintain the optimal global search ability and avoid falling into the local optimum prematurely.
Pheromone updating is divided into pheromone release and evaporation. In each iteration, the optimal solutions and the worst solutions searched by the ant about the objective k are denoted as S
best
(k) and S
worst
(k), respectively. The pheromone of each node is updated adaptively according to the fitness of the schedule constructed by ants, the positive and negative feedback mechanism, so that the change of current optimal nodes can be reflected in the pheromone distribution among nodes. The pheromone updating of each objective k can be carried out according to the Eq. 25 ρ--The coefficient of pheromone evaporation τ
k
(i, j)--The pheromone between machining position i and job j of objective k after the selection τ
’
k
(i, j)--The pheromone between machining position i and job j of objective k before the selection Δτ
h
k
(i, j)--The pheromone released by ant h between machining position i and job j of objective k in this selection Δτ
k
(i, j)--The sum of pheromone released by all ants between machining position i and job j of objective k Δτ
*
k
(i, j)--The extra pheromone reward to the selection if (i, j) is in S
best
(k) for each iteration
The values of Δτ
h
k
(i, j) and Δτ
*
k
(i, j) are calculated as follows C
best
(k) --The best value for the objective k C
worst
(k)--The worst value for the objective k C
ave
(k)--The average value for the objective k C
h
(k)--The value of objective k by ant h Q
k
--The total amount of pheromone set in advance for objective k
Local search strategy
To speed the convergence of the ACO, the local search algorithm is used in the IACO. The local search strategy searches the better solution by iterative searching and adjusting the sequence of some jobs in the neighborhood of the candidate solution
A multi decision local optimization strategy based on pairwise exchange is designed for the IACO and the local optimization as shown in the Figure 2. In the pairwise exchange process, the exchange neighborhood of candidate solutions π is the set of all candidate solutions π* obtained by exchanging the jobs in position i1 and position i2 in π where i2-i1≤r(i is the position of job, i1<i2, r is an adjustable parameter, r=1,2,…,n-1, n is the number of jobs).Taking the solution set S
p
(t) produced by the tth iteration as the candidate solution and at least one objective decreasing as index, the jobs in position i1 and position i2 are exchanged in turn. Supposing an improved scheduling sequence is found in the neighborhood of current candidate solution, the exchange is retained, and the current solution is replaced by the new solution. The exchange process will be repeated until there are no allowed exchanges. Examples of local optimization. (a)wt_sds_1 comparison diagram, (b) wt_sds_2 comparison diagram of several algorithms of several algorithms, (c) wt_sds_3 comparison diagram, (d) wt_sds_4 comparison diagram of several algorithms of several algorithms, (e) wt_sds_5 comparison diagram, (f) wt_sds_6 comparison diagram of several algorithms of several algorithms, (g) wt_sds_7 comparison diagram, (h) wt_sds_8 comparison diagram of several algorithms of several algorithms, (i) wt_sds_9 comparison diagram, and (j) wt_sds_10 comparison diagram of several algorithms of several algorithms
Figure 2 takes r = 4 as an example (any part is exchanged successively with the four immediately adjacent parts), an example of a pairwise exchange local optimization for an initial solution. The adjustable parameter r reflects the neighborhood size used by the current part node to exchange. The larger r is, the more biased the algorithm is toward global traversal exchange.
Construction of Pareto solution set
In order to make the diversities of the solution spaces, after all ants complete a search alone in each iteration, the new non-dominated solutions in S p (t) are added to the external Pareto solution set S NDS (t) if there are no dominated relationships among them. The non-dominated solutions generated by new iterations are added to S NDS (t) step by step, and the global Pareto solution set is constructed iteratively.
After all, the procedure of resolving SDST single machine scheduling problem with IACO can be described as follows:
Experiments and analysis
Parameters of energy consumption.
Parameters of the IACO.
In order to compare the distribution and convergence of IACO algorithm, NSGA-II algorithm and traditional ACO algorithm, this chapter takes the method proposed by Schott as the distribution evaluation method of solutions according to the Eq. 29.
51
The smaller the SP value, the more uniform solution distribution. Using generation distance GD as convergence index, as shown in Eq. 31.
52
The smaller the GD value is, the stronger the convergence is. In the experiment, taking into account the different units of the two optimization objectives, standardize the two objectives between [0,1], the normalized data is represented by x-- Original data x’--The normalized data x
max
--The maximum value in the input data x
min
--The minimum value in the input data d
i
--The distance between each Pareto solution and the ideal frontier solution
Comparison of optimization performance of three algorithms.
In order to compare the optimization results of IACO algorithm, NSGA-II algorithm, and traditional ACO algorithm, benchmark examples of different scales are selected for comparison and analysis. The results of the three optimization algorithms are shown in Figure 3. Approximate Pareto fronts end of 10 60-jobs benchmarks comparison diagram.
This paper considers ten benchmark cases to illustrate the SP and the GD of the three algorithms. From Table 5, it can be seen that among the ten benchmark cases, nine benchmark cases can indicate that the SP value of the IACO algorithm is better than that of the NSGA-II algorithm and the traditional ACO algorithm, only one benchmark case can show that the GD value of the IACO algorithm is better than that of the NSGA-II algorithm and the traditional ACO algorithm. It can be seen from Figure 3 that among the ten benchmark examples, the Pareto optimal solution obtained by the IACO algorithm has a higher non-dominated level, which dominates the solutions obtained by NSGA-II algorithm and all the solutions obtained by traditional ACO algorithm. From the spatial distribution of Pareto solution set in Figure 3, it can be seen that the distribution of Pareto solution set obtained by NSGA-II algorithm is slightly worse than that obtained by ACO algorithm, and the distribution of Pareto solution set obtained by IACO algorithm is more uniform and closest to the center of the coordinate axis. This is because IACO is based on ACO algorithm, combined with local search strategy and improved differentiated pheromone update strategy to improve the distribution and convergence of the solution distribution. And the convergence of IACO algorithm in Figure 3 (j) is better than that of the other two algorithms, and its points are almost distributed on the same line. The reasons can be summarized as follows: 1) The application of differentiated pheromone update strategy makes the algorithm make better use of the better node search experience, and at the same time improves the diversity of understanding space and the search ability of the algorithm; 2) the heuristic information can simply and accurately describe the processing relations of different positions in the processing sequence, and the positive feedback update mechanism of the pheromone can strengthen the probability that the better scheduling node is selected, so that the algorithm can search the direction of the optimal scheduling sequence quickly; 3) the introduction of local search strategy makes up for the poor local search ability of the traditional ant colony algorithm, and reduces the probability that the algorithm falls into local optimum prematurely to a certain extent.
Some scheduling scheme and optional values for wt_sds_1.
Some scheduling scheme and optional values for wt_sds_2.
Some scheduling scheme and optional values for wt_sds_3.
From the distribution of the Pareto solution sets for the benchmarks, we can see that the Pareto optimal solutions obtained are uniformly distributed in solution space, and enough solutions are found for each problem, so it has good performance for the green single machine scheduling problem. In addition, the IACO can find solutions of wide range distribution quickly, and many non-dominated solutions are included for each benchmark problem, which provides a larger choice space for decision makers. From Tables 6–8 and Figure 3, the algorithm proposed can obtain the optimal solution for solving the green single machine scheduling problem of delay cost and manufacturing equipment energy consumption. The effectiveness of the proposed algorithm is proved. Due to this paper takes minimizing the total weighted delay and manufacturing energy consumption as the optimization objectives, so in practice, decision makers can select the appropriate balanced scheme from the Pareto optimal solution sets according to the preference of the actual problem. According to the computational results in Tables 6, 7, and 8, if decision makers only consider the minimum weighted total target delay, the first solution in each table is the best; if the weighted total delay cost and the energy consumption are taken into account at the same time, a balanced solution can be selected according to the weight of the objective. When giving more priority to production energy consumption and reducing energy problems in the manufacturing process, the optimal energy consumption scheme can be selected as its actual production plan.
Conclusion
With the increasingly fierce global competition and the reinforcement of environmental protection consciousness, green production scheduling is critical for manufacturing enterprises to satisfy customer demands and environmental protection requirements and to maintain competitive advantages. Focused on SDST single machine scheduling, this paper considers the conflicting multiple objectives, such as completion time, total weighted tardiness cost, and energy consumption, and builds an integrated optimization model with the bi-objectives of minimizing total weighted delay and energy consumption. An improved bi-objective ant colony scheduling algorithm based on Pareto set is developed to obtain the best compromised solution for the objectives of total weighted tardiness cost and energy consumption. In the IACO, the double pheromone matrix is built, which sets a pheromone matrix for each objective, the pheromone updating adopted differential pheromone update strategy, the priority rule of ACTS is used to set the heuristic information, and the feasible solution obtained is improved by local search strategy. To estimate the validity of the IACO, experiments were conducted using data from ten benchmarks, and the results show the effectiveness and efficiency of IACO in solving the SDST single machine scheduling problems.
Footnotes
Acknowledgments
I would like to express my gratitude to all those who helped me during the process of writing of this manuscript. First and foremost, I want to extend my heartfelt gratitude to my supervisor, Professor Qiao Dongping, whose patient guidance, valuable suggestions, and constant encouragement make me successfully complete this manuscript. I also owe my sincere gratitude to my friends and my fellow classmates who have given me their help and their time in listening to me and helping me work out my problems during the difficult course of the manuscript. Especially, thanks to Duan Lvqi. Since the previous ideas about the experiment were not perfect, he helped me to complete the experiment and gave me great help.
Declaration of Conflicting Interests
The author(s) declared no potential conflicts of interest with respect to the research, authorship, and/or publication of this article.
Funding
The author(s) received no financial support for the research, authorship, and/or publication of this article.
