Next Article in Journal
Machine Learning Applied to Logistics Decision Making: Improvements to the Soybean Seed Classification Process
Previous Article in Journal
Dupilumab in Children and Adolescents with Severe Atopic Dermatitis and Severe Asthma: A Case Series
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Population Diversity-Based Artificial Bee Colony Algorithm for Assembly Hybrid Flow Shop Scheduling with Energy Consumption

1
School of Automation, Wuhan University of Technology, Wuhan 430062, China
2
School of Economics and Management, Anhui Polytechnic University, Wuhu 241000, China
*
Author to whom correspondence should be addressed.
Appl. Sci. 2023, 13(19), 10903; https://doi.org/10.3390/app131910903
Submission received: 20 August 2023 / Revised: 20 September 2023 / Accepted: 26 September 2023 / Published: 30 September 2023
(This article belongs to the Section Computing and Artificial Intelligence)

Abstract

:
Assembly shop scheduling and energy-efficient scheduling have attracted much attention in the past decades; however, energy consumption is often ignored in assembly hybrid flow shop scheduling. Neglecting energy consumption will greatly diminish the progress of sustainable manufacturing. In this study, an assembly hybrid flow shop scheduling problem considering energy consumption (EAHFSP) is investigated, and a population diversity-based artificial bee colony algorithm (DABC) is proposed to minimize the makespan and total energy consumption (TEC) simultaneously. Diversified search strategies based on rank value are introduced to the employed bee phase; a novel probability selection method in the onlooker bee phase is designed to control the selection pressure; moreover, a diversity control strategy is applied to improve the diversity of food sources and avoid falling into stagnation. A number of experiments based on 44 extended benchmark instances from the literature and a real case are conducted to test the performance of the DABC algorithm. The statistical results show that the DABC algorithm is superior to the other four state-of-the-art algorithms on over 70% of the instances corresponding to metrics I G D and c , which means that the DABC algorithm is effective and competitive in solving the considered EAHFSP.

1. Introduction

Production scheduling is imperative in the decision-making procedure of the manufacturing system [1,2,3]. With the shift in production patterns from unified to customized production, assembly shop scheduling has been extensively utilized in various manufacturing scenarios [4,5,6,7]. Meanwhile, with the increasing awareness of global warming and the energy crisis, green manufacturing that integrates production efficiency and environmental sustainability has become an inevitable trend [8,9]. Based on this background, research on assembly shop scheduling problems from the perspective of energy efficiency is of great practical and engineering significance.
As a typical assembly scheduling problem, the assembly hybrid flow shop scheduling problem (AHFSP), consisting of a hybrid flow shop manufacturing stage and an assembly stage, is widely encountered in modern manufacturing systems. It was proved to be strongly NP-hard and has been well studied since the pioneering work of Lee et al. [10] and Potts et al. [11]. Throughout the previous work, studies on the AHFSP mainly focused on single-objective problems. Yokoyama [12] investigated the AHFSP and presented a branch and bound (B&B) method to optimize the total completion time. Lagodimos et al. [13] and Fattahi et al. [14] utilized a series of heuristic rules and algorithms to minimize the makespan. Later, Fattahi et al. [15] and Hosseini et al. [16] improved the model of the AHFSP by adding time and maintenance-related constraints. For a two-stage AHFSP with makespan minimization, Nikzad et al. [17] designed a hybrid imperialist competitive algorithm, and Komaki et al. [18] proposed an artificial immune algorithm. Considering lot streaming in the AHFSP, Nejati et al. [19] presented a genetic algorithm and simulated annealing algorithm to optimize the sum of weighted completion time. Recently, Cai et al. [20] proposed a novel shuffled frog leaping algorithm with reinforcement for the distributed AHFSP. Regarding a multi-objective AHFSP, Lei and Zheng [21] presented a novel neighborhood search to minimize the total tardiness, makespan, and maximum tardiness in the AHFSP with key objectives. Fan et al. [22] used a mutant firefly algorithm to solve a bi-objective AHFSP with the simultaneous rate and on-time delivery rate. Li et al. [23] modified the genetic algorithm for the AHFSP with common due dates to minimize the total waiting time and the total earliness/tardiness.
In recent years, energy-efficient scheduling has often been adopted in manufacturing systems. Regarding energy-efficient assembly shop scheduling problems, Ren et al. [24] proposed a novel heuristic algorithm for energy-aware assembly flexible job shop scheduling problems. Deng et al. [25] applied a hybrid estimation of distribution algorithm to an energy-efficient, three-stage, integrated scheduling problem. For energy-efficient distributed assembly flow-shop scheduling problems, the cooperative memetic algorithm [26] and brainstorm optimization algorithm [27] were designed. Meanwhile, the energy-efficient hybrid flow shop scheduling problem (EHFSP) was also considered. Li et al. [28] raised a Q-learning and general variable neighborhood search-driven non-dominated sorting genetic algorithm II for EHFSP with uniform machines. Tang et al. [29] proposed an improved particle swarm optimization algorithm for an energy-efficient dynamic HFSP. Utama et al. [30] applied a novel hybrid Aquila optimizer to an EHFSP. Zuo et al. [31] presented a novel multi-population artificial bee colony to solve an EHFSP with variable speeds.
As stated above, studies on the AHFSP only consider the efficiency-related objectives and no existing paper involves energy-oriented criteria. In fact, the energy crisis and environmental problems caused by production activities are increasingly serious. Energy-oriented criteria are as important as the efficiency-related objectives in realizing green manufacturing. Energy consumption has been considered in hybrid flow shop, assembly flow shop, and assembly flexible job shop scheduling problems. However, it is often ignored in AHFSPs. The considered EAHFSP is more general and complex than AHFSPs, EHFSPs, and other energy-related shop scheduling problems. This means that EAHFSP is also NP-hard. Therefore, it is essential to develop an effective and efficient algorithm to investigate EAHFSPs, in which energy costs and total production costs are regarded equally important.
The artificial bee colony (ABC) algorithm is an excellent metaheuristic algorithm that simulates the foraging behavior of bee colonies in nature [32]. Its extraordinary features, such as effective global search ability and fast convergence capability, have been proven in many complicated optimization problems [33,34,35,36]. Moreover, the ABC algorithm also has many successful applications in various scheduling problems. Li et al. [37] applied a multi-objective ABC to a flexible job shop scheduling with maintenance. Gong et al. [38] proposed a hybrid ABC algorithm for blocking lot-streaming flow shop scheduling. Li et al. [39] developed an improved ABC algorithm for hybrid flow shop scheduling. Li et al. [40] presented a novel ABC algorithm for parallel batching distributed flow-shop scheduling. Lei et al. [41] proposed an ABC algorithm with division to investigate distributed parallel machine scheduling. The ABC algorithm is also utilized to solve assembly shop scheduling [42] and energy-efficient shop scheduling [43]. However, the ABC algorithm is rarely used to investigate EAHFSPs. The excellent characteristics of the ABC in scheduling problems encourage us to study EAHFSPs by improving the ABC algorithm.
In this study, an AHFSP considering energy consumption is investigated, which widely exists in production but without enough attention. Moreover, this is the first time that a green scheduling objective and an adjustable processing speed set are added to an AHFSP. The main features are as follows. (1) A multi-objective EAHFSP is investigated, and a mathematical model is built. (2) A novel DABC is proposed to minimize the makespan and total energy consumption simultaneously. In the employed bee phase, diversified search strategies are constructed, and the suitable search strategy is adaptively selected based on the rank value of food sources. In the onlooker bee phase, a novel probability selection method is introduced to select the tracking objects, and the number of neighborhood searches is different for each food source; a diversity enhancement strategy is utilized to maintain the diversity of food sources and avoid prematurity. (3) Extensive comparative experiments are executed to demonstrate the effectiveness of DABC in solving the EAHFSP. The novelties of this paper are summarized in Table 1.
The remainder of this paper is organized as follows. A description of the problem is provided in Section 2. A description of the ABC algorithm is given in Section 3. A DABC method for EAHFSPs is proposed in Section 4. Computational experiments using the DABC algorithm are provided in Section 5. The conclusions and prospects are reported in Section 6.

2. Problem Description

An illustration of the EAHFSP considered in this study is provided in Figure 1.
The EAHFSP is briefly described as follows.
There are n products P 1 , P 2 , , P k , , P n , each product is produced by assembling a set of components P P = P P 1 , P P 2 , , P P r , , P w , N k indicates a set of the required components of product P k and w = k = 1 n N k denotes the total number of components. For each product P k , the production process mainly contains the manufacturing stage and the assembly stage.
At the manufacturing stage, each component P P r is processed in a hybrid flow shop with m stages, and each processing stage consists of S i 2 unrelated parallel machines with a set of speeds V = v 1 , v 2 , v l , , v d . In the processing mode, p r i j l indicates the processing time of component P P r on an unrelated parallel machine M i j with speed v l , where M i j is the j t h machine at processing stage i .
Once the manufacturing of N k components required by product P k is finished, these components are transferred to the final assembly operation. There is only one assembly machine M a at the assembly stage, and the speed of M a remains constant during the assembly operation. A k indicates the assembly time for product P k , and C k is the completion time for P k .
The following assumptions are considered in the EAHFSP:
All components and machines are available and independent at any time.
The handling and transportation time of the components are ignored.
No preemption or interruption is allowed in the processing and assembly process.
Each component should be manufactured or assembled on one machine at most.
Each machine processes no more than one component at a time.
The manufacturing of each component and the assembly of each product must be conducted in sequence.
In this study, the energy consumption of products during manufacturing and assembly processes is considered. Machines at the manufacturing and assembly stage exist in two modes: the working mode and the stand-by mode. Therefore, the total energy consumption (TEC) can be divided into four modules: energy consumption of manufacturing machines in the working mode ( E C 1 ), energy consumption of manufacturing machines in the stand-by mode ( E C 2 ), energy consumption of assembly machines in the working mode ( E C 3 ), and energy consumption of assembly machines in the stand-by mode ( E C 4 ).
E C 1 is the energy consumption of all manufacturing machines during processing, and E C 1 can be calculated as
E C 1 = i = 1 m j = 1 S i 0 C m a x l = 1 d E i j l y i j l t d t
where C m a x is the maximum completion time; E i j l indicates the energy consumption per unit time when M i j S i works at speed v l ; and y i j l t is a binary variable, where y i j l t = 1 if the manufacturing machine M i j S i is in the working mode at time t ; otherwise, y i j l t is equal to 0.
E C 2 is the energy consumption of all manufacturing machines during the stand-by period, and E C 2 can be calculated as
E C 2 = i = 1 m j = 1 S i 0 C m a x l = 1 d S E i j z i j t d t
where S E i j indicates the energy consumption per unit time when M i j S i is in the stand-by mode; and z i j t is a binary variable, where z i j t is 1 if M i j S i is in the stand-by mode at time t ; otherwise, z i j t = 0 .
E C 3 is the energy consumption of an assembly machine during the assembly process, and E C 3 can be calculated as
E C 3 = k = 1 n 0 C m a x A E k u k t d t
where A E k is the energy consumption per unit time when assembly machine M a is in the assembly mode; and u k t is a binary variable, where u k t = 1 if the assembly machine M a is in working mode at time t ; otherwise, u k t = 0 .
E C 4 is the energy consumption of an assembly machine during the idle time, and E C 4 can be calculated as
E C 4 = 0 C m a x A S E μ k t d t
where A S E is the energy consumption per unit time when M a is in the stand-by mode; and μ k t is a binary variable, where μ k t = 1 if M a is idle at time t ; otherwise, μ k t = 0 .
The EAHFSP contains three sub-problems: the scheduling sub-problem, for determining the processing and operation sequence for components and products; the machine assignment sub-problem, for allocating suitable machines for each operation; and the speed selection sub-problem, for selecting an appropriate speed for the selected machine.
The EAHFSP aims to minimize the makespan and TEC simultaneously. The mathematical model is given as follows
f 1 = C m a x = m a x k = 1 , 2 , , n C k
f 2 = T E C = E C 1 + E C 2 + E C 3 + E C 4
subject to
a r i 0 ,                                       r , i
b r i a r i = j = 1 S i l = 1 d p r i j l × y r i j l ,             r , i
a a k m a x b r m r N k                                   k
a r , i + 1 b r , i 0 ,                                               i
x r r i j + X r r i j 1 ,                                               r , r , i , j
x k k + X k k 1 ,                                               k , k
j = 1 S i l = 1 d y r i j l = 1 ,                                               r , i
where C k is the completion time of product P k , which is the finishing time of the final assembly operation; a r i indicates the starting time of processing stage i for component P P r ; b r i is the finishing time of processing stage i for component P P r ; a a k indicates the starting time of the assembly operation on product P k ; and y r i j l is a binary variable, where y r i j l = 1 if M i j S i is working at speed v l ; otherwise, y r i j l = 0 . X r r i j 0 , 1 , where X r r i j = 1 if component r is processed before r on M i j ; and X k k 0 , 1 , X k k = 1 if product P k is assembled before P k on M a .
Objective Function (5) is the makespan, and Objective Function (6) indicates the total energy consumption during the manufacturing and assembly process. Constraint (7) indicates that each component is available after zero time; Constraint (8) ensures that there is no preemption or interruption during manufacturing and assembly period; Constraint (9) guarantees that the assembly operation is later than the fabrication of all components belonging to a product; Constraint (10) explains the precedence constraint between operations; Constraints (11) and (12) demonstrate that the manufacturing and assembly machine can only process one operation at a time; and Constraint (13) ensures that a single processing speed is selected at a time.
In this model, the EAHFSP is a multi-objective optimization problem with the minimization of two equally important objectives. Several concepts are defined below.
(1) Pareto dominance. x y if f i x f i y for i 1 , 2 and f i x f i y i 1 , 2 .
(2) Non-dominated solution. For a set Ω and a solution x Ω , if x is not dominated by other solutions in Ω , then x is a non-dominated solution.
(3) Pareto optimal. If a solution x is not dominated by other solutions in the search space, then x is Pareto optimal.
In this case, x y means that x dominates y .
An illustrative example of this problem is described in Table 2.

3. Introduction to the ABC

An intelligent optimization algorithm is an effective method for solving various optimization problems [44,45]. The ABC algorithm is one of the most promising meta-heuristics inspired by the foraging behavior of bee colonies [32,33,34,35,36,37]. In the ABC, the location of a food source represents a solution in population P , and the quality of the food source corresponds to the fitness value of the solution.
The steps of the ABC algorithm are shown in Algorithm 1 and a flowchart is given in Figure 2.
Algorithm 1 ABC
Input: N , L i m i t
Output: x o p t i m a l
1:Initialize population P with N solutions
2:while the termination condition is not met do
3: the employed bee phase: exploit a food source
4: the onlooker bee phase: wait and choose a food source to follow
5: the scout bee phase: randomly produce a new solution if t r i a l i > L i m i t
6:end while
7:output the optimal solutions
After the initial population P with N solutions is randomly generated, the ABC consists of three phases: the employed bee phase, the onlooker bee phase, and the scout bee phase.
In the employed bee phase, for each solution x i P , a new solution y i is generated as
y i = x i + φ x i x j
where φ 1 , 1 is a random real number and x j P is another random solution, x j x i .
Greedy selection is used to update x i : if f i t y i > f i t x i , then y i replaces x i , where f i t y i indicates the fitness of x i .
In the onlooker bee phase, roulette selection is applied to help each onlooker bee choose a food source, and the selection probability is defined as
p i = f i t x i / k = 1 N f i t x k
where p i is the selection probability of solution x i .
Once solution x i is selected, a new solution y i is generated using Equation (14), and greedy selection is also used to decide whether x i can be updated by y i .
In the scout bee phase, the number of consecutive searches t r i a l i for each solution x i is computed. Initially, t r i a l i = 0 . If solution x i is not renewed by y i , t r i a l i = t r i a l i + 1 ; otherwise, t r i a l i = 0 . If t r i a l i > L i m i t , the corresponding employed bee will become a scout. The scout bee randomly generates a new food source to update the old one, where L i m i t is the search threshold. When the termination condition is met, the algorithm outputs the non-dominated solutions x o p t i m a l .

4. The DABC Algorithm for an EAHFSP

In basic ABCs [38,39,40,41,42,43], updating the food source location is stochastic and inefficient, but the selection pressure of food sources and the diversity of food sources are difficult to control. Diversified search strategies in the employed bee phase will help improve the search efficiency; a novel probability selection method according to fitness and the order of food sources is helpful to control the selection pressure. Meanwhile, a diversity enhancement strategy is critical to control the diversity of food sources. Based on the above analysis, a novel algorithm named DABC is proposed for an EAHFSP.

4.1. Initialization

For an EAHFSP with n products and w = k = 1 n N k components, which are manufactured in m processing stages and an assembly stage, the part-based encoding and decoding method [21] is used. A solution can be represented as a component scheduling string θ 1 , θ 2 , , θ w , a machine assignment string π 11 , , π 1 m , , π w 1 , , π w m , and a speed selection string z 11 , , z 1 m , , z w 1 , , z w m , where θ r 1 , 2 , , w , π r i S i is the unrelated parallel machines assigned for the processing of component θ r at stage i , and z r i V indicates the processing speed selected by processing machine π r i .
Decoding is described as follows: Beginning with the first component θ 1 , select the corresponding processing machine and processing speed. The first m machines are assigned to the m stages of component θ 1 , then the second m machines are arranged for the processing of the m stages of component θ 2 , and so on. Once the processing of all required components of product P k is completed and the assembly machine is ready, product P k can be assembled until all products are finished.
To guarantee the diversity of solutions, the initial population P with N solutions is randomly generated. For each solution x i , the fitness value F i is computed as
F i = m a x r a n k i r a n k i + c r o w d i / k Θ r a n k i c r o w d k
where r a n k i is the rank value after executing non-dominated sorting [46] on x i , c r o w d i is the crowding distance defined in [47], and Θ r a n k i is a set of solutions with the rank value of r a n k i .
For the manufacturing example in Section 2, a solution consists of a scheduling string 9 , 10 , 2 , 7 , 6 , 4 , 1 , 5 , 3 , 8 , a machine assignment string M 11 , M 21 , M 12 , M 22 , M 12 , M 22 , M 11 , M 21 ,   M 11 , M 22 , M 11 , M 21 , M 12 , M 22 , M 12 , M 22 , M 12 , M 22 , M 12 , M 22 , and a speed selection string v 1 , v 1 , v 2 , v 1 , v 5 ,   v 1 , v 4 , v 1 , v 1 , v 5 , v 3 , v 1 , v 3 , v 1 , v 1 , v 4 , v 1 , v 2 , v 4 , v 5 . V = 1.0 , 1.3 , 1.55 , 1.8 , 2.0 , E i j l = 4 × v l 2 , S E i j = 1 , A E k = 4 , and A S E = 1 . Figure 3 displays the schedule plan of this example. f 1 = 121.59 . At the manufacturing stage, the total energy consumption of machines in the processing mode is E C 1 = 1631.21 ; the energy consumption of the processing machines in the stand-by mode is E C 2 = 32.16 . At the assembly stage, the energy consumption in the assembly mode is E C 3 = 268.02 ; the energy consumption in the stand-by mode is E C 4 = 54.59 , and f 2 = 1985.97 .

4.2. Employed Bee Phase

In basic ABCs, employed bees exploit food sources through a random crossover operation, and the search strategies used by all employed bees are the same. This stochastic and homogeneous search strategy is often inefficient. In this study, diversified search strategies are designed, and the suitable search strategy is adaptively selected according to the rank of food sources.
The detailed search procedure in employed the bee phase is described in Algorithm 2, where s u b 1 , s u b 2 , and s u b 3 are divided as follows: Calculate the rank of non-dominated sorting for all food sources, then allocate food sources with r a n k i = 1 to s u b 1 , assign food sources with r a n k i = m a x r a n k i to s u b 3 , and distribute the remaining food sources to s u b 2 . δ is a random number, β is a real number, and β = 0.5 , as determined with experiments.
Algorithm 2 Employed bee phase
Input:  N , R , δ
Output: x i ,   1 i N
  1:Calculate the rank of non-dominated sorting for all food sources
  2:Divide the population P into three groups: s u b 1 , s u b 2 , and s u b 3
  3:for  i = 1 to N  do
  4:  if x i s u b 1 , then
  5:   execute neighborhood search on x i and obtain a new food source x i
  6:  else if x i s u b 2 , then
  7:   stochastically select a food source x j s u b 1
  8:   conduct global search between x i and x j , produce a new food source x i
  9:  else if x i s u b 3 , then
10:     if δ < β , then
11:      randomly choose a food source x j s u b 1
12:      else
13:      stochastically select a food source x j s u b 2
14:      end if
15:     conduct global search between x i and x j , generate a new food source x i
16:   end if
17:  if x i is not dominated by x i , then
18:    update x i with x i
19:   end if
20:end for
The global search is executed based on three crossover operators [21]. For two food sources x i and x j , the crossover operation is performed on the scheduling string, machine assignment string, and speed selection string in sequence. A detailed description of the three crossover operators is given in [21].
The neighborhood search is conducted based on three neighborhood structures i n s e r t , s w a p , and c h a n g e , which are named N 1 , N 2 , and N 3 , respectively. A description of the neighborhood search is as follows: Let t = 1 , g = 1 , when N g is executed on food source x i , repeat the following steps until t = R : obtain x i N g x i , t = t + 1 , if x i is not dominated by x i , then renew x i with x i ; otherwise, g = g + 1 , let g = 1 if g = 4 , where R is an integer, and N g x i represents a set of solutions after conducting the neighborhood search on x i with N g . A detailed description of i n s e r t , s w a p , and c h a n g e is given in [48].
As shown in Algorithm 2, all food sources are divided into three groups according to the rank value. Food sources in different groups can be improved using diversified search strategies, which is beneficial to improve search quality and increase population diversity.

4.3. Onlooker Bee Phase

Generally, onlooker bees select a food source to follow depending on fitness, and the search times for all food sources are the same. To reduce the impact of following the super-individuals and control the selection pressure, a novel probability selection method is provided for onlooker bees to select the following objects. Meanwhile, the search times for different food sources are newly defined according to the rank value, which can help improve the search quality and avoid wasting computing resources.
The novel probability selection method is described as follows: Calculate the fitness and sort all food sources in descending order. Suppose that F 1 > F 2 > > F N , then compute the selection probability p x i of food source x i , conduct the roulette selection, and select a food source x j to follow based on the selection probability p x i .
p x i = 1 N + s i n F i m a x F i × π 2 × N + 1 2 × i N × N + 1 , i = 1 , 2 , , N
where F i is the fitness value of food source x i .
In this method, the selection probability is determined by the fitness and the order of food sources, which not only avoids the control of selection pressure by super-individuals with the biggest fitness but also avoids wasting more computing resources on poor food sources.
The search procedure in the onlooker bee phase is shown in Algorithm 3, where η is a random number and τ is a real number, where τ = 0.5 , as determined using experiments. R is the number of neighborhood searches for food sources selected in the onlooker bee phase. R is defined as
R = r o u n d R × F i / m a x r a n k i
The definition of neighborhood search times can dynamically adjust the neighborhood search range, increase the diversity of the population, and effectively balance the development and exploration ability of the algorithm.
Algorithm 3 Onlooker bee phase
Input:  N , R , η
Output: x i ,   1 i N
  1:for  i = 1 to N  do
  2:    calculate the rank value r a n k i and fitness F i for all food sources
  3:    select a food source x j to follow by the novel probability selection method
  4:  if x j s u b 1 s u b 2 , then
  5:    calculate the neighborhood searches R for x j
  6:    execute neighborhood search on x j for R times and obtain x j
  7:  else if x j s u b 3 , then
  8:    if η < τ , then
  9:      stochastically choose a food source x k s u b 1
10:     else
11:      randomly select a food source x k s u b 2
12:     end if
13:    execute global search between x j and x k , produce a new food source x j
14:   end if
15:  if x j is not dominated by x j , then
16:    renew x j with x j
17:   end if
18:end for

4.4. Scout Bee Phase

In the scout bee phase, if a food source x i has not been renewed after L i m i t consecutive trials, the corresponding employed bee will turn into a scout bee. The traditional update method of a scout is to generate a random food source instead of the old one. However, this method is inefficient and a waste of computing resources. The new scout bee phase is shown in Algorithm 4, where t r i a l i is the number of consecutive trials, L i m i t is the threshold value of trials, and the neighborhood search and global search are the same as in the employed bee phase.
Algorithm 4 Scout bee phase
Input:  N , R , L i m i t
Output: x i ,   1 i N
  1:for  i = 1 to N  do
  2:if t r i a l i > L i m i t  then,
  3:   calculate the rank value r a n k i for x i
  4:   if r a n k i = 1 , then
  5:   conduct the neighborhood search and obtain a new food source x j to update x i
  6:    else
  7:   randomly choose a food source x k s u b 1
  8:   conduct a global search on x i and x k , produce a new food source x j to update x i
  9:    end if
10:end if
11:end for

4.5. Diversity Control Strategy

In the evolutionary process, the diversity of food sources will gradually decrease, and the similarity in food sources will increase. However, the diversity control strategy lacks the traditional ABC.
For two food sources x i and x j , the similarity Δ i j is defined as
Δ i j = s g n I i I j 1
where I i j = θ 1 i j , , θ w i j , π 11 i j , , π w m i j , z 11 i j , , z w m i j , θ r , π r i , and z r i are elements of the scheduling string, machine assignment string, and speed selection string, respectively.
In Equation (19), Δ i j 0 means that there are differences between the three strings in food sources x i and x j , then x i and x j can be called independent individuals. A larger Δ i j means a greater difference between x i and x j .
Define the diversity of food sources as D = γ / N , where γ indicates the number of independent individuals. A comparison between D and the diversity threshold ξ is used to determine whether the diversity enhancement strategy is needed. The detailed diversity control process is shown in Algorithm 5, where ξ is a real number.
Algorithm 5 Diversity control strategy
Input:  N , ξ
Output: x i ,   1 i N
  1: calculate the diversity of food sources D = γ / N
  2:if D < ξ then
  3:   set Ψ =
  4:   for  x i s u b 1 s u b 2  do
  5:    for  x k s u b 1 s u b 2  do
  6:     compute the similarity Δ i j between food sources x i and x j
  7:     if Δ i j 0 , then
  8:        Ψ = Ψ x i x j
  9:      end if
10:     end for
11:    end for
12:   for each x i Ψ , do
13:    conduct neighborhood search on x i for R times, generate a new solution x i
14:     if x i is not dominated by, then
15:      update x i with x j
16:     end if
17:    end for
18:end if
As shown in Algorithm 5, the number of independent individuals is important to compute the diversity of food sources and determine whether to conduct the diversity enhancement strategy. When the diversity of food sources is lower than a threshold value, the use of a diversity control strategy can increase the diversity gradually, which means larger differences among food sources and a greater probability of generating new solutions. Thus, a diversity control strategy is beneficial to maintain the diversity of food sources and avoid falling into stagnation.

4.6. Algorithm Description

The steps of the DABC are given in Algorithm 6 and a flowchart is shown in Figure 4, where the number of iterations is also provided.
Algorithm 6 DABC
Input: N , R , L i m i t , ξ
Output : x o p t i m a l
  1: Initialization
  2:while the stopping condition is not met, then
  3:  conduct the employed bee phase with diversified search strategies
  4:  execute the onlooker bee phase with a novel probability selection method
  5:  perform a novel scout bee phase
  6:  calculate the diversity of food sources D = γ / N
  7:   if D < ξ , then
  8:  seek out the solutions Δ i j = 0 between food sources in s u b 1 s u b 2 , construct Ψ
  9:  execute the diversity control strategy on x i Ψ
10:   end if
11:    I t e r = I t e r + 1
12:end while
13:Output the non-dominated solutions x o p t i m a l
The features of the DABC are concluded as follows: Diversified search strategies are provided for employed bees and the suitable search strategy is adaptively selected according to the rank value of food sources; a novel probability selection method in the onlooker bee phase is designed to control the selection pressure, and different neighborhood search times are conducted on the selected food source. A diversity control strategy is applied to improve the diversity of food sources and avoid falling into prematurity.

5. Computational Results

Numerical experiments based on 44 extended benchmark instances from the literature and a real case are executed to evaluate the performance of the DABC algorithm for the considered EAHFSP. All experiments are compiled with MATLAB and run on 4.0 G RAM 2.0 GHz CPU PC.

5.1. Test Instances and Comparative Algorithms

As stated above, EAHFSPs are rarely investigated, and there are no existing benchmark instances, so we extend the benchmark instances of AHFSPs [21] by adding energy consumption information from the manufacturing and assembly stage. The test set consists of 44 randomly generated instances based on w = 20 , 30 , 40 , 50 , 60 , 70 , 80 , 90 , 100 , 110 , 120 and m = 2 , 4 , 6 , 8 . The parallel machines at each stage S j and components needed for each product N k are from the literature [21]. η i j 10 , 20 , v l = 1.0 , 1.3 , 1.55 , 1.8 , 2.0 , and A k 10 , 20 . The added energy consumption information is as follows: E i j l = ζ × v l 2 , S E i j = 1 , A E k 3 , 5 , and A S E = 1 , 2 .
Two metrics I G D and c are utilized to test the algorithm performance in this study.
Metric I G D [49] is often used to evaluate the convergence of algorithms and the distribution of non-dominated solutions, which is a comprehensive performance metric. It is the minimum distance between each point in a reference set Δ * and points in a non-dominated set Δ l gained by a certain algorithm.
I G D Δ l , Δ * = δ Δ * d δ , Δ l Δ *
where d δ , Δ l is the minimum distance between point δ in a reference set Δ * and points in a non-dominated set Δ l gained by a certain algorithm, and Δ * represents the number of non-dominated solutions on the Pareto front. The smaller the I G D , the better the convergence and distribution quality.
Metric c [50] is often utilized to evaluate the mutual coverage of two algorithms.
c A , B = x B y A : y x B
where A and B are two non-dominated solution sets and y x represents that solution x is dominated by y . If c A , B > c B , A , algorithm A is better than B .
In this study, the ABC, TICA [48], HPSO [51], and CCA [52] are selected as comparative algorithms.
The ABC algorithm is chosen to demonstrate the effectiveness of new strategies. It is conducted using the traditional method.
Li [48] designed a TICA for an energy-efficient HFSP, with the relative importance of objectives to minimize the makespan, total tardiness, and total energy consumption. After the newly defined Pareto dominance is removed, the TICA can be directly used to solve EAHFSPs. Ding [51] investigated an HPSO to optimize the electric power costs and total tardiness in an energy-aware flexible flow shop including time-of-use and variable processing speeds. Karimi [52] introduced a CCA for a multi-objective hybrid flow shop problem. The CCA can be applied to solve EAHFSPs after adding the assembly operation. So, we choose these algorithms as the comparative algorithms.

5.2. Parameter Settings

Our experiments indicate that DABC can converge fully in all instances after 0.3 × n × m seconds; moreover, all comparative algorithms also converge well when this termination time is used. All parameters except the above termination condition are chosen from the literature.
There are four key parameters in the DABC: R , N , L i m i t , and ξ . The Taguchi method is used to decide the settings of these four parameters. The levels of each parameter are listed in Table 3. Table 4 defines the orthogonal array and L 16 4 4 , where A R V denotes the average value of the DABC with each combination independently run 10 times, for instance, 80 × 8 . The rank of each parameter is given in Table 5.
The main effect plot for metric I G D is shown in Figure 5. It is concluded that the best settings are R = 8 , N = 60 , L i m i t = 8 , and ξ = 0.4 .

5.3. Results and Comparative Analysis

The DABC, ABC, TICA, HPSO, and CCA were independently run 10 times for each instance. The reference set Δ * contains the non-dominated solutions of Δ 1 Δ 2 Δ 3 Δ 4 Δ 5 , where Δ 1 , Δ 2 , Δ 3 , Δ 4 , and Δ 5 indicate the optimal solutions obtained using the DABC, ABC, TICA, HPSO, and CCA methods, respectively.
Table 6 and Table 7 provide the computational results of five algorithms for metric I G D and c , in which “A”, “B”, “C”, “D”, and “E” represent “DABC”, “ABC”, “TICA”, “HPSO”, and “CCA”. Figure 6 shows the distribution curves for the optimal solutions of all algorithms for six instances, including 20 × 8 , 30 × 2 , 50 × 4 , 60 × 6 , 70 × 2 , and 120 × 2 . Box plots are provided to further analyze the stability of the DABC algorithm. Figure 7 shows the box plots for five algorithms corresponding to I G D and c .
As stated in Table 6 and Table 7, I G D of the DABC algorithm is less than that of the ABC algorithm in 44 instances, and c A , B exceeds c B , A in 44 instances. Moreover, c A , B is equal to 1 in 37 instances, that is, all non-dominated solutions of the ABC are dominated by those of the DABC in 37 instances. Thus, the DABC algorithm provides better results than the ABC in most instances. Similarly, the DABC generates a smaller I G D than CCA in all instances, and it also gains a smaller c C , A than c A , C in all instances. Moreover, c A , C = 1 is gained in 27 instances, that is, all solutions of CCA are dominated by the non-dominated ones of the DABC. On the other hand, the DABC obtains a smaller I G D than TICA and HPSO in 37 and 35 instances; c A , D is larger than c D , A in 34 instances; and c A , E is bigger than c E , A in 31 instances. Therefore, it is concluded that the DABC algorithm performs notably better than the ABC algorithm, TICA, HPSO, and CCA in over 70% of the instances corresponding to two metrics. This conclusion can also be drawn from the distribution curves for the five algorithms in Figure 6.
According to the box plots in Figure 7, the lower quartile (Q1), the median (Q2), the upper quartile (Q3), and the quartile difference (IQR) between Q1 and Q3 of the DABC for metric I G D are smaller than those of the four compared algorithms. Similarly, the DABC algorithm produces a greater value for Q1, Q2, Q3, and IQR for metric c . These comparisons and analyses demonstrate that the stability of the DABC algorithm is superior to the ABC algorithm, TICA, HPSO, and CCA.
To analyze the statistical difference in the experimental results, a Wilcoxon test is conducted. The significant level is α = 0.05 , that is, if the test value is p < 0.05 , then a significant difference exists between the comparative algorithms. The Wilcoxon test results are shown in Table 8, where “R+” indicates that the DABC algorithm is better than the comparative algorithm, “R” indicates that the DABC is worse than the comparative algorithm, and “Yes” means that there is a significant difference between the DABC and the other algorithms. From Table 8, it is concluded that the DABC algorithm has more significant advantages than other algorithms.
To further verify the significant difference among all algorithms, Friedman’s test is applied. The mean ranks generated using Friedman’s test are shown in Table 9. It is found that the mean rank of the DABC algorithm is the smallest among all experimental algorithms. Thus, it is concluded that the DABC is significantly superior to the other four compared algorithms when used on the EAHFSP.
The DABC algorithm performs better than the other four comparative algorithms on the EAHFSP, mainly depending on the diversified search strategies in the employed bee phase, the novel probability selection method in the onlooker bee phase, and the utilization of the diversity enhancement control strategy. These features help the DABC improve search efficiency, increase population diversity, and avoid falling stagnation. Therefore, the DABC algorithm obtains a better performance on the EAHFSP.

5.4. A Real-Life Example

Roll is a very important tool in a steel rolling production line. In this study, we choose small and medium-sized rolls produced in a workshop to test the efficiency of the DABC. The processing of rolls includes turning, milling, grinding, and assembly. There are three machines for turning ( M 11 M 13 ), three machines for milling ( M 21 M 23 ), four machines for grinding ( M 31 M 34 ), and one assembly machine ( M a ). The manufacturing and assembly process is a typical AHFSP.
There are 30 components that will be manufactured and assembled into 12 products. The DABC runs 10 times randomly for the real-life example. The non-dominated solutions generated using the DABC algorithm are given in Table 10. A Gantt chart for the optimal solution is illustrated in Figure 8.

6. Conclusions

In this study, a novel DABC algorithm is proposed to investigate an EAHFSP with makespan and TEC minimization. In the employed bee phase, diversified search strategies are designed, and the suitable search strategy for each food source is adaptively selected to improve the search quality. In the onlooker bee phase, a novel probability selection method is introduced to control the selection pressure, and a diversity control strategy is applied to increase the population and avoid the algorithm falling into stagnation. Finally, a series of comparative results demonstrate that the DABC owns excellent performance on the considered EAHFSP.
Research using the DABC algorithm for EAHFSPs can assist in selecting the optimal scheduling plan and achieving a balance between economic efficiency and environmental effects. Thus, it is of great significance to managers and manufacturers. However, there are some limitations in this study, for example, some actual processing constraints and deteriorating effects are seldom considered. In the future, we will focus on an EAHFSP with more realistic constraints and a more complex processing environment, such as transportation time, preventive maintenance, uncertainty in processing, deteriorating effects, and multi-factory manufacturing. In addition, the improvements in the meta-heuristic algorithm, including adding more excellent strategies and improving other optimization algorithms will also be considered in our future study.

Author Contributions

Y.Z. designed the study, conduct the experiments, wrote the manuscript and made the figures. P.W. revised the manuscript and gave the funding guidance; M.L. performed the methodological guidance and reformatted the manuscript. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the Open Foundation of Key Lab of Digital Signal and Image Processing of Guangdong Province. No. 2022GDDSIPL-08.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Not applicable.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Marquez, C.R.H.; Ribeiro, C.C. Shop scheduling in manufacturing environments: A review. Int. J. Prod. Res. 2022, 29, 3237–3293. [Google Scholar] [CrossRef]
  2. Li, M.; Lei, D.M. An imperialist competitive algorithm with feedback for energy-efficient flexible job shop scheduling with transportation and sequence-dependent setup times. Eng. Appl. Artif. Intel. 2021, 103, 104307. [Google Scholar] [CrossRef]
  3. Amirteimoori, A.; Mahdavi, I.; Solimanpur, M.; Ali, S.S.; Tirkolaee, E.B. A parallel hybrid PSO-GA algorithm for the flexible flow-shop scheduling with transportation. Comput. Ind. Eng. 2022, 173, 108672. [Google Scholar] [CrossRef]
  4. Framinan, J.M.; Perez-Gonzalez, P. The 2-stage assembly flowshop scheduling problem with total completion time: Efficient constructive heuristic and metaheuristic. Comput. Oper. Res. 2017, 88, 237–246. [Google Scholar] [CrossRef]
  5. Komaki, G.M.; Sheikh, S.; Malakooti, B. Flow shop scheduling problems with assembly operations: A review and new trends. Int. J. Prod. Res. 2018, 57, 2926–2955. [Google Scholar] [CrossRef]
  6. Yokoyama, M. Scheduling for two-stage production system with setup and assembly operations. Comput. Oper. Res. 2004, 31, 2063–2078. [Google Scholar] [CrossRef]
  7. Cheng, T.; Wang, G. Scheduling the fabrication and assembly of components in a two-machine flow shop. IIE. Trans. 1999, 31, 135–143. [Google Scholar] [CrossRef]
  8. Agrawal, P.; Rao, S. Energy-aware scheduling of distributed systems. IEEE T. Autom. Sci. Eng. 2014, 11, 1163–1175. [Google Scholar] [CrossRef]
  9. Gao, K.; Huang, Y.; Sadollah, A.; Wang, L. A review of energy-efficient scheduling in intelligent production systems. Complex Intell. Syst. 2020, 6, 237–249. [Google Scholar] [CrossRef]
  10. Lee, C.Y.; Cheng, T.C.E.; Lin, B.M.T. Minimizing the makespan in the 3-machine assembly-type flowshop scheduling problem. Manag. Sci. 1993, 39, 616–625. [Google Scholar] [CrossRef]
  11. Potts, C.N.; Sevast, S.V.; Janov, V.A.; Strusevich, L.N.; Wassenhove, V.; Zwaneveld, C.M. The two-stage assembly scheduling problem: Complexity and approximation. Oper. Res. 1995, 43, 346–355. [Google Scholar] [CrossRef]
  12. Yokoyama, M. Hybrid flow-shop scheduling with assembly operations. Int. J. Prod. Econ. 2001, 73, 103–116. [Google Scholar] [CrossRef]
  13. Lagodimos, A.G.; Mihiotis, A.N.; Kosmidis, V.C. Scheduling a multi-stage fabrication shop for efficient subsequent assembly operations. Int. J. Prod. Econ. 2004, 90, 345–359. [Google Scholar] [CrossRef]
  14. Fattahi, P.; Hosseini, S.M.H.; Jolai, F. A mathematical model and extension algorithm for assembly flexible flow shop scheduling problem. Int. J. Adv. Manuf. Technol. 2013, 65, 787–802. [Google Scholar] [CrossRef]
  15. Fattahi, P.; Hosseini, S.M.H.; Jolai, F.; Tavakkoli-Moghaddam, R. A branch and bound algorithm for hybrid flow shop scheduling problem with setup time and assembly operations. Appl. Math. Model. 2014, 38, 119–134. [Google Scholar] [CrossRef]
  16. Hosseini, S.M.H. Modeling the hybrid flow shop scheduling problem followed by an assembly stage considering aging effects and preventive maintenance activities. Int. J. Supply Oper. Manag. 2016, 3, 1215–1233. [Google Scholar]
  17. Nikzad, F.; Rezaeian, J.; Mandavi, I.; Rastgar, I. Scheduling of multi-component products in a two-stage flexible flow shop. Appl. Soft Comput. 2015, 32, 132–143. [Google Scholar] [CrossRef]
  18. Komaki, G.M.; Teymourian, E.; Kayvanfar, V. Minimising makespan in the two-stage assembly hybrid flow shop scheduling problem using artificial immune systems. Int. J. Prod. Res. 2016, 54, 963–983. [Google Scholar] [CrossRef]
  19. Nejati, M.; Mahdavi, I.; Hassanzadeh, R.; Mahdavi-Amiri, N. Lot streaming in a two-stage assembly hybrid flow shop scheduling problem with a work shift constraint. J. Ind. Prod. Eng. 2016, 22, 459–471. [Google Scholar] [CrossRef]
  20. Cai, J.C.; Lei, D.M.; Wang, J.; Wang, L. A novel shuffled frog leaping algorithm with reinforcement learning for distributed assembly hybrid flow shop scheduling. Int. J. Prod. Res. 2022, 61, 1233–1251. [Google Scholar] [CrossRef]
  21. Lei, D.M.; Zheng, Y.L. Hybrid flow shop scheduling with assembly operations and key objectives: A novel neighborhood search. Appl. Soft Comput. 2017, 61, 122–128. [Google Scholar] [CrossRef]
  22. Fan, B.B.; Yang, W.W.; Zhang, Z.F. Solving the two-stage hybrid flow shop scheduling problem based on mutant firefly algorithm. J. Amb. Intel. Hum. Comp. 2019, 61, 122–128. [Google Scholar] [CrossRef]
  23. Li, Z.; Zhong, R.Y.; Barenji, A.V.; Liu, J.J.; Yu, C.X.; Huang, G.Q. Bi-objective hybrid flow shop scheduling with common due date. Oper. Res-Ger. 2021, 21, 1153–1178. [Google Scholar] [CrossRef]
  24. Ren, W.B.; Wen, J.Q.; Yan, Y.; Hu, Y.G.; Guan, Y.; Li, J.L. Multi-objective optimisation for energy-aware flexible job-shop scheduling problem with assembly operations. Int. J. Prod. Res. 2020, 59, 7216–7231. [Google Scholar] [CrossRef]
  25. Deng, C.; Hu, R.; Qian, B.; Jin, H.P. Hybrid estimation of distribution algorithm for solving three-stage multiobjective integrated scheduling problem. Complexity 2021, 2021, 5558949. [Google Scholar] [CrossRef]
  26. Wang, J.J.; Wang, L. A cooperative memetic algorithm with feedback for the energy-aware distributed flow-shops with flexible assembly scheduling. Comput. Ind. Eng. 2022, 168, 108126. [Google Scholar] [CrossRef]
  27. Zhao, F.Q.; Hu, X.T.; Wang, L.; Xu, T.P.; Zhu, N.N. A reinforcement learning-driven brain storm optimisation algorithm for multi-objective energy-efficient distributed assembly no-wait flow shop scheduling problem. Int. J. Prod. Res. 2023, 61, 2853–2871. [Google Scholar] [CrossRef]
  28. Li, P.Z.; Xue, Q.; Zhang, Z.T.; Chen, J.; Zhou, D.Q. Multi-objective energy-efficient hybrid flow shop scheduling using Q-learning and GVNS driven NSGA-II. Comput. Oper. Res. 2023, 159, 106360. [Google Scholar] [CrossRef]
  29. Utama, D.M.; Primayesti, M.D. A novel hybrid Aquila optimizer for energy-efficient hybrid flow shop scheduling. Res. Con. Opt. 2022, 9, 100177. [Google Scholar]
  30. Tang, D.B.; Dai, M.; Salido, M.A.; Giret, A. Energy-efficient dynamic scheduling for a flexible flow shop using an improved particle swarm optimization. Comput. Ind. 2016, 81, 82–95. [Google Scholar] [CrossRef]
  31. Zuo, Y.D.; Fan, Z.; Zou, T.R.; Wang, P. A novel multi-population artificial bee colony algorithm for energy-efficient hybrid flow shop scheduling problem. Symmetry 2020, 13, 2421. [Google Scholar] [CrossRef]
  32. Karaboga, D.; Basturk, B. A powerful and efficient algorithm for numerical function optimization: Artificial bee colony (ABC) algorithm. J. Global Optim. 2007, 39, 459–471. [Google Scholar] [CrossRef]
  33. Karaboga, D.; Gorkemli, B.; Ozturk, C.; Karaboga, N. A comprehensive survey: Artificial bee colony (ABC) algorithm and applications. Artif. Intell. Rev. 2014, 42, 21–57. [Google Scholar] [CrossRef]
  34. Pan, Q.K.; Tasgetiren, M.F.; Suganthan, P.N.; Chua, T.J. A discrete artificial bee colony algorithm for the lot-streaming flow shop scheduling problem. Inf. Sci. 2011, 181, 2455–2468. [Google Scholar] [CrossRef]
  35. Oliva, D.; Cuevas, E.; Pajares, G. Parameter identification of solar cells using artificial bee colony optimization. Energy 2014, 72, 93–102. [Google Scholar] [CrossRef]
  36. Liu, H.; Xu, B.; Lu, D.J.; Zhang, G.J. A path planning approach for crowd evacuation in buildings based on improved artificial bee colony algorithm. Appl. Soft Comput. 2018, 68, 360–376. [Google Scholar] [CrossRef]
  37. Li, J.Q.; Pan, Q.K.; Tasgetiren, M.F. A discrete artificial bee colony algorithm for the multi-objective flexible job-shop scheduling problem with maintenance activities. Appl. Math. Model. 2014, 38, 1111–1132. [Google Scholar] [CrossRef]
  38. Gong, D.W.; Han, Y.Y.; Sun, J.Y. A novel hybrid multi-objective artificial bee colony algorithm for blocking lot-streaming flow shop scheduling problems. Knowl.-Based Syst. 2018, 148, 115–130. [Google Scholar] [CrossRef]
  39. Li, J.Q.; Pan, Q.K.; Duan, P.Y. An improved artificial bee colony algorithm for solving hybrid flexible flowshop with dynamic operation skipping. IEEE Trans. Cybern. 2016, 46, 1311–1324. [Google Scholar] [CrossRef]
  40. Li, J.Q.; Song, M.X.; Wang, L.; Duan, P.Y.; Han, Y.Y.; Sang, H.Y.; Pan, Q.K. Hybrid artificial bee colony algorithm for a parallel batching distributed flow-shop problem with deteriorating Jobs. IEEE Trans. Cybern. 2020, 50, 2425–2439. [Google Scholar] [CrossRef]
  41. Lei, D.M.; Liu, M.Y. An artificial bee colony with division for distributed unrelated parallel machine scheduling with preventive maintenance. Comput. Ind. Eng. 2020, 141, 106320. [Google Scholar] [CrossRef]
  42. Kheirandish, O.; Tavakkoli-Moghaddam, R.; Karimi-Nasab, M. An artificial bee colony algorithm for a two-stage hybrid flowshop scheduling problem with multilevel product structures and requirement operations. Int. J. Comput. Integr. Manuf. 2015, 28, 437–450. [Google Scholar] [CrossRef]
  43. Zhang, B.; Pan, Q.K.; Gao, L.; Li, X.Y.; Meng, L.L.; Peng, K.K. A multiobjective evolutionary algorithm based on decomposition for hybrid flowshop green scheduling problem. Comput. Ind. Eng. 2019, 136, 325–344. [Google Scholar] [CrossRef]
  44. Wang, P.; Zhu, H.S.; Wilamowska-Korsak, M.; Bi, Z.M.; Li, L. Determination of weights for multiobjective decision making or machine Learning. IEEE Syst. J. 2014, 8, 63–72. [Google Scholar] [CrossRef]
  45. Fan, Z.; Li, W.J.; Cai, X.Y.; Li, H.; Wei, C.M.; Zhang, Q.F.; Deb, K.; Goodman, E. Push and pull search for solving constrained multi-objective optimization problems. Swarm Evol. Comput. 2019, 44, 665–679. [Google Scholar] [CrossRef]
  46. Deb, K.; Pratap, A.; Agarwal, S.; Meyarivan, T. A fast and elitist multiobjective genetic algorithm: NSGA-II. IEEE Evol. Comput. 2002, 6, 182–197. [Google Scholar] [CrossRef]
  47. Lei, D.M.; Li, M.; Wang, L. A two-phase meta-heuristic for multiobjective flexible job shop scheduling problem with total energy consumption threshold. IEEE Trans. Cybern. 2019, 49, 1097–1109. [Google Scholar] [CrossRef]
  48. Li, M.; Lei, D.M.; Cai, J.C. Two-level imperialist competitive algorithm for energy-efficient hybrid flow shop scheduling problem with relative importance of objectives. Swarm Evol. Comput. 2019, 49, 34–43. [Google Scholar] [CrossRef]
  49. Liu, Y.; Wei, J.X.; Li, X.; Li, M.H. Generational distance indicator-based evolutionary algorithm with an improved niching method for many-objective optimization problems. IEEE Access 2019, 7, 63881–63891. [Google Scholar] [CrossRef]
  50. Zitzler, E.; Thiele, L. Multi-objective evolutionary algorithms: A comparative case study and the strength Pareto approach. IEEE Trans. Evol. Comput. 1999, 3, 257–271. [Google Scholar] [CrossRef]
  51. Ding, J.W.; Schulz, S.; Shen, L.J.; Buscher, U.; Lü, Z.P. Energy aware scheduling in flexible flow shops with hybrid particle swarm optimization. Comput. Oper. Res. 2021, 125, 105088. [Google Scholar] [CrossRef]
  52. Karimi, N.; Davoudpour, H. Multi-objective colonial competitive algorithm for hybrid flowshop problem. Appl. Soft Comput. 2016, 49, 725–733. [Google Scholar] [CrossRef]
Figure 1. An illustration of the EAHFSP.
Figure 1. An illustration of the EAHFSP.
Applsci 13 10903 g001
Figure 2. A flowchart showing the ABC.
Figure 2. A flowchart showing the ABC.
Applsci 13 10903 g002
Figure 3. The schedule plan of an EAHFSP example.
Figure 3. The schedule plan of an EAHFSP example.
Applsci 13 10903 g003
Figure 4. A flowchart showing the DABC.
Figure 4. A flowchart showing the DABC.
Applsci 13 10903 g004
Figure 5. Main effect plot for metric I G D .
Figure 5. Main effect plot for metric I G D .
Applsci 13 10903 g005
Figure 6. Distribution curves for five algorithms and six instances: (a) 20 × 8 ; (b) 30 × 2 ; (c) 50 × 4 ; (d) 60 × 6 ; (e) 70 × 2 ; and (f) 120 × 2 .
Figure 6. Distribution curves for five algorithms and six instances: (a) 20 × 8 ; (b) 30 × 2 ; (c) 50 × 4 ; (d) 60 × 6 ; (e) 70 × 2 ; and (f) 120 × 2 .
Applsci 13 10903 g006aApplsci 13 10903 g006b
Figure 7. Box plots for the five algorithms and two metrics: (a) box plots for I G D ; (b) box plots for c .
Figure 7. Box plots for the five algorithms and two metrics: (a) box plots for I G D ; (b) box plots for c .
Applsci 13 10903 g007
Figure 8. A Gantt chart for the optimal solution.
Figure 8. A Gantt chart for the optimal solution.
Applsci 13 10903 g008
Table 1. Difference between this work and the previous literature.
Table 1. Difference between this work and the previous literature.
DifferenceThe Previous LiteratureThis Work
Problem modelThe existing studies on AHFSP only consider efficiency-oriented objectives ([10,11,12,13,14,15,16,17,18,19,20,21,22,23]); energy-related criteria are considered in other assembly scheduling problems ([24,25,26,27]) and HFSP ([28,29,30,31]).A problem model of EAHFSP is built to optimize both efficiency-dependent and energy-related objectives. It is the first time that energy-saving criterion is investigated in AHFSP, which is more general and complex than other energy-efficient assembly scheduling problems and EHFSP.
Optimization algorithmMost of existing ABCs for shop scheduling problems are often modified by integrating other optimization algorithms; two phases: the employed bee phase and the onlooker bee phase are implemented in the same way ([37,38,39,40,41,42,43]).A novel ABC based on population diversity is proposed to control the selection pressure and improve the diversity of food sources.
Table 2. An illustrative example of EAHFSP.
Table 2. An illustrative example of EAHFSP.
ProductsPartsStage 1Stage 2Assembly
M 11 M 12 M 21 M 22
P 1 J 1 1815 ( v 3 )1118 ( v 1 )12
J 2 1215 ( v 5 )2013 ( v 1 )
P 2 J 3 1716 ( v 1 )1317 ( v 2 )19
J 4 19 ( v 3 )1015 ( v 1 )18
J 5 1119 ( v 1 )1114 ( v 4 )
P 3 J 6 10 ( v 1 )121015 ( v 5 )18
J 7 12 ( v 4 )1010 ( v 1 )16
P 4 J 8 1712 ( v 4 )1519 ( v 5 )18
J 9 19 ( v 1 )2015 ( v 1 )19
J 10 2012 ( v 2 )1116 ( v 1 )
Table 3. The levels of four parameters.
Table 3. The levels of four parameters.
ParameterFactor Level
1234
R 681012
N 30405060
Limit 78910
ξ 0.20.30.40.5
Table 4. The orthogonal array L 16 4 4 .
Table 4. The orthogonal array L 16 4 4 .
NumberFactor A R V
RNLimitξ
111110.314
212220.295
313330.184
414440.320
521230.084
622140.137
723410.377
824320.447
931340.159
1032430.432
1133120.237
1234210.176
1341420.190
1442310.170
1543240.273
1644130.175
Table 5. The rank of each parameter.
Table 5. The rank of each parameter.
Level R N L i m i t ξ
10.2780.3190.2760.213
20.1970.2500.2070.279
30.2510.2550.2650.185
40.2660.1680.2450.317
Delta0.0810.1510.0690.132
Rank3142
Table 6. Results of all algorithms on metric I G D .
Table 6. Results of all algorithms on metric I G D .
InstanceDABCABCTICAHPSOCCAInstanceDABCABCTICAHPSOCCA
20 × 20.0580.1310.0590.1320.19470 × 60.1630.3870.1760.1350.376
20 × 40.0330.4860.2800.5220.59470 × 80.1020.5960.1840.1830.571
20 × 60.1490.3810.2440.2010.57480 × 20.0800.4150.0890.1050.362
20 × 80.0000.6380.3430.4130.65880 × 40.0630.6540.4110.2650.584
30 × 20.0530.1750.0700.1870.22880 × 60.2320.7060.0860.1740.558
30 × 40.1350.8290.1520.2090.72980 × 80.0480.2280.0860.2040.261
30 × 60.0820.3490.2240.1800.45290 × 20.0700.4870.3120.0970.573
30 × 80.0071.1690.5790.7011.17090 × 40.1210.3880.1600.1100.431
40 × 20.0960.3460.1650.1690.33490 × 60.0540.4280.1960.1860.331
40 × 40.0440.5140.2050.1910.60190 × 80.0790.5430.1270.1280.304
40 × 60.0890.4880.2100.2900.431100 × 20.1090.4790.3250.2280.482
40 × 80.1550.4360.2250.1300.487100 × 40.1140.7810.3340.2000.344
50 × 20.0810.1890.0590.2370.285100 × 60.1460.4590.1070.2820.223
50 × 40.0720.7270.2130.5170.599100 × 80.3831.5530.1160.9661.128
50 × 60.0200.3850.1690.1840.378110 × 20.2040.5330.1990.1170.453
50 × 80.0610.7880.1560.4230.373110 × 40.0760.3330.1690.0810.296
60 × 20.2130.4230.1610.0390.533110 × 60.1280.4510.2330.0920.325
60 × 40.1240.6850.2820.3270.660110 × 80.0840.8190.3410.1000.564
60 × 60.0000.9520.5840.9370.776120 × 20.0790.4520.1520.1600.343
60 × 80.1751.5050.0990.4681.017120 × 40.0690.5180.3370.1740.499
70 × 20.0480.2650.0810.1100.261120 × 60.1200.5310.1930.2310.400
70 × 40.2311.0690.5120.0630.867120 × 80.2090.6520.3400.0000.387
Table 7. Results of all algorithms on metric c .
Table 7. Results of all algorithms on metric c .
Instance c A , B c B , A c A , C c C , A c A , D c D , A c A , E c E , A
20 × 20.8000.1110.5380.1110.7270.0000.4000.000
20 × 41.0000.0000.7140.0000.5000.0000.8750.000
20 × 60.8330.0000.8330.0000.7500.0000.7140.000
20 × 81.0000.0001.0000.0001.0000.0001.0000.000
30 × 20.8000.0000.4290.4000.4290.2000.5560.000
30 × 41.0000.0000.5710.2500.3330.2501.0000.000
30 × 61.0000.0000.6670.0000.6000.0001.0000.000
30 × 81.0000.0000.6670.3331.0000.0001.0000.000
40 × 21.0000.0000.6000.2500.4000.5000.8570.000
40 × 41.0000.0000.6670.1430.8000.0001.0000.000
40 × 61.0000.0000.6670.0001.0000.0001.0000.000
40 × 81.0000.0000.0000.8330.3000.3331.0000.000
50 × 21.0000.0000.4620.1670.6670.0001.0000.000
50 × 41.0000.0000.9000.0001.0000.0001.0000.000
50 × 61.0000.0000.8000.1670.8000.0001.0000.000
50 × 81.0000.0000.6670.2001.0000.0000.8000.000
60 × 20.8000.0000.5000.0000.0000.6000.8330.000
60 × 41.0000.0000.8330.4000.8330.0001.0000.000
60 × 61.0000.0001.0000.0001.0000.0001.0000.000
60 × 81.0000.0000.0000.6000.8000.0001.0000.000
70 × 20.8330.1000.5000.4000.7270.0000.5000.000
70 × 41.0000.0000.5000.2000.0000.6000.7500.000
70 × 61.0000.0000.5000.3750.0000.7500.8330.125
70 × 81.0000.0000.5000.2500.2000.2501.0000.000
80 × 21.0000.0000.6360.2500.5000.2501.0000.000
80 × 41.0000.0001.0000.0000.2500.0001.0000.000
80 × 61.0000.0000.1430.7500.2000.7501.0000.000
80 × 81.0000.0000.0000.4550.8000.1820.6670.182
90 × 21.0000.0001.0000.0000.6360.2001.0000.000
90 × 40.7500.2860.0000.5710.2000.5710.5000.000
90 × 61.0000.0000.7500.0000.8000.4001.0000.000
90 × 81.0000.0000.5000.0000.7140.0001.0000.000
100 × 21.0000.0000.8890.0000.6670.0001.0000.000
100 × 41.0000.0000.5000.0000.5000.6670.8330.167
100 × 61.0000.0000.0000.7140.0000.4290.5560.286
100 × 81.0000.0000.0000.7500.7500.2501.0000.000
110 × 21.0000.0000.2860.4440.0000.7781.0000.000
110 × 40.8750.0000.0000.4000.3750.2000.5710.100
110 × 61.0000.0000.7500.0000.6360.0001.0000.000
110 × 81.0000.0001.0000.0000.2500.2001.0000.000
120 × 21.0000.0000.6250.0000.5000.3750.8750.000
120 × 41.0000.0001.0000.0000.5000.2001.0000.000
120 × 61.0000.0000.4000.5000.0000.5001.0000.000
120 × 81.0000.0000.8000.4000.0001.0000.3330.200
Table 8. Results of the Wilcoxon test.
Table 8. Results of the Wilcoxon test.
PairMetricR+R p α   =   0.05
DABC vs. ABC I G D 0447.61 × 10−9Yes
c 4404.31 × 10−10Yes
DABC vs. TICA I G D 7371.10 × 10−5Yes
c 34108.41 × 10−4Yes
DABC vs. HPSO I G D 9355.80 × 10−5Yes
c 31132.05 × 10−3Yes
DABC vs. CCA I G D 0447.61 × 10−9Yes
c 4407.60 × 10−9Yes
Table 9. Results of Friedman’s test.
Table 9. Results of Friedman’s test.
AlgorithmMean Rank
DABC1.36
ABC4.57
TICA2.30
HPSO2.50
CCA4.27
Table 10. The non-dominated solutions generated using DABC.
Table 10. The non-dominated solutions generated using DABC.
SolutionsMakespanTEC
1192.885555.96
2213.375391.84
3178.266021.80
4202.605449.45
5178.785610.60
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Zuo, Y.; Wang, P.; Li, M. A Population Diversity-Based Artificial Bee Colony Algorithm for Assembly Hybrid Flow Shop Scheduling with Energy Consumption. Appl. Sci. 2023, 13, 10903. https://doi.org/10.3390/app131910903

AMA Style

Zuo Y, Wang P, Li M. A Population Diversity-Based Artificial Bee Colony Algorithm for Assembly Hybrid Flow Shop Scheduling with Energy Consumption. Applied Sciences. 2023; 13(19):10903. https://doi.org/10.3390/app131910903

Chicago/Turabian Style

Zuo, Yandi, Pan Wang, and Ming Li. 2023. "A Population Diversity-Based Artificial Bee Colony Algorithm for Assembly Hybrid Flow Shop Scheduling with Energy Consumption" Applied Sciences 13, no. 19: 10903. https://doi.org/10.3390/app131910903

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