Next Article in Journal
Lightweight Gas Sensor Based on MEMS Pre-Concentration and Infrared Absorption Spectroscopy Inside a Hollow Fiber
Previous Article in Journal
Advanced Process Control for Clinker Rotary Kiln and Grate Cooler
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Heuristic-Based Adaptive Iterated Greedy Algorithm for Lot-Streaming Hybrid Flow Shop Scheduling Problem with Consistent and Intermingled Sub-Lots

1
Key Laboratory of Metallurgical Equipment and Control Technology of Ministry of Education, Wuhan University of Science and Technology, Wuhan 430081, China
2
Hubei Key Laboratory of Mechanical Transmission and Manufacturing Engineering, Wuhan University of Science and Technology, Wuhan 430081, China
3
School of Mechatronic Engineering and Automation, Shanghai University, Shanghai 200444, China
*
Author to whom correspondence should be addressed.
Sensors 2023, 23(5), 2808; https://doi.org/10.3390/s23052808
Submission received: 19 January 2023 / Revised: 24 February 2023 / Accepted: 2 March 2023 / Published: 3 March 2023
(This article belongs to the Section Intelligent Sensors)

Abstract

:
Owing to the different quantities and processing times of sub-lots, intermingling sub-lots with each other, instead of fixing the production sequence of sub-lots of a lot as in the existing studies, is a more practical approach to lot-streaming flow shops. Hence, a lot-streaming hybrid flow shop scheduling problem with consistent and intermingled sub-lots (LHFSP-CIS) was studied. A mixed integer linear programming (MILP) model was established, and a heuristic-based adaptive iterated greedy algorithm (HAIG) with three modifications was designed to solve the problem. Specifically, a two-layer encoding method was proposed to decouple the sub-lot-based connection. Two heuristics were embedded in the decoding process to reduce the manufacturing cycle. Based on this, a heuristic-based initialization is proposed to improve the performance of the initial solution; an adaptive local search with four specific neighborhoods and an adaptive strategy has been structured to improve the exploration and exploitation ability. Besides, an acceptance criterion of inferior solutions has been improved to promote global optimization ability. The experiment and the non-parametric Kruskal–Wallis test (p = 0) showed the significant advantages of HAIG in effectiveness and robustness compared with five state-of-the-art algorithms. An industrial case study verifies that intermingling sub-lots is an effective technique to enhance the utilization ratio of machines and shorten the manufacturing cycle.

1. Introduction

A hybrid flow shop is generally applied in chemical, textile, steel, and semiconductor manufacturing industries, etc. It includes multiple processing stages with one or more parallel machines at each stage. Hybrid flow shop scheduling aims to allocate exactly one machine at each stage for all the jobs involved [1] and determine the job sequence to be processed. A reasonable schedule for this workshop may effectively improve production efficiency, shorten the manufacturing cycle time, and balance the utilization ratio of machines.
It should be pointed out that in many real-world scenarios, each job holds a lot of identical items. If all these items are treated as a job and the impact of lot sizing is ignored, as shown in Figure 1a, the production efficiency will be seriously decreased and the manufacturing cycle time will be extremely prolonged. Hence, the lot-streaming hybrid flow shop scheduling problem comes into existence to divide these items into smaller sub-lots, for the purpose that different sub-lots of a lot may be processed concurrently and the manufacturing cycle time can hence be shortened to a large extent. In view of the variability in sub-lots through all the stages in a hybrid flow shop, lot-streaming can be further classified into three categories: equal sub-lot, consistent sub-lot, and variable sub-lot [2]. Specifically, an equal sub-lot divides identical items into several sub-lots with the same sub-lot size and remains unchanged in the subsequent stages. A consistent sub-lot obtains sub-lots with different numbers of items in each and remains unchanged in the subsequent stages. A variable sub-lot achieves a different number of items in each sub-lot, and more importantly, at each stage, the number of sub-lots or the quantity of the items in each sub-lot may be different. Apparently, an equal sub-lot tends to be too idealistic and results in longer manufacturing cycle time; a variable sub-lot is too complicated and is hard to implement in practice. Comparatively speaking, a consistent sub-lot is moderate in difficulty and hence is the primary practice.
Besides, intermingling sub-lots of different jobs with each other is another practical decision. However, most of the literature assumes that all the sub-lots of a job should be allocated to only one machine consecutively, as illustrated in Figure 1b, so as to reduce the amount of switching from one job to another. This mainly arbitrary decision to avoid the intermingling of sub-lots of different jobs indeed incurs a price, as illustrated in Figure 1c, in terms of more idle time for the machines, less machine utilization, and a longer manufacturing cycle time.
In light of the above, this work introduces the lot-streaming hybrid flow shop scheduling problem with consistent and intermingled sub-lots (LHFSP_CIS). For the solution procedure, since iterated greedy is a simple but powerful algorithm for solving optimization problems [3,4], a heuristic-based adaptive iterated greedy algorithm (HAIG) is proposed here to solve this problem. This work mainly presents the following two contributions.
  • A mixed integer linear programming model is established to highlight the influences of intermingling sub-lots with each other with respect to production efficiency and sequence-dependent setups.
  • A heuristic-based adaptive iterated greedy algorithm (HAIG) with three main modifications achieves a more balanced exploration and exploitation. The heuristic-based initialization globally minimizes the maximum completion time by relaxing the sequence-dependent setup time caused by intermingling. Consequently, four special neighborhood structures based on critical paths, and an adaptive strategy, are proposed to enhance the local search capability. Besides, an acceptance criterion of inferior solutions is improved to promote global optimization ability and avoid premature convergence.
This work is structured as follows. Section 2 carries out a literature review. Section 3 describes the considered problem and establishes a MILP model. Section 4 details the HAIG algorithm. An experimental study is conducted in Section 5 and followed by a conclusion in Section 6.

2. Literature Review

This section first reports the research status of the hybrid flow shop scheduling problem with consistent and intermingled sub-lots and then surveys the existing methods to solve the related problems.

2.1. Flow Shop Scheduling Problem with Consistent and Intermingled Sub-Lots

Owing to higher production efficiency and simpler production management, flow shop scheduling has attracted great attention from the industrial and academic communities. Concerning the practical application requirements, time-based optimization objectives are generally employed to solve the flow shop scheduling problems. These objectives include the minimization of the maximum completion times [5,6,7], the blocking or starvation times of machines [8], the earliness or tardiness times of jobs [9], and the total flowtime of jobs [10]. These objectives are beneficial to the machine utilization rate and production efficiency. However, if the lot of jobs is relatively large, all the items in a lot can only be processed after the completion of the previous stage. This obviously results in a higher work-in-process inventory and a less smoothened workflow, and notably prevents the above time-based objectives from reaching a better value.
A recent development to reduce the work-in-process inventory is to adopt the lot-streaming into the flow shop scheduling problems by splitting a lot into smaller sub-lots. The lot-streaming has been applied in various production scenarios, such as the distributed permutation flow shop [11], the two-stage assembly hybrid flow shop [12], the blocking flow shop [13], and the hybrid flow shop [14]. It should be noted that in these studies, all sub-lots in a lot are assumed to be serially processed by a machine for simplicity. The production sequence of these sub-lots is strictly fixed, which avoids the intermingling of a sub-lot with another lot. This non-intermingling lot-streaming technique is unreasonable due to the following two reasons. First, all sub-lots of a lot must be allocated to exactly one machine. If there are tremendous items in a lot, the maximum completion time completely equals the processing time of this lot, implying the invalidation of the lot-streaming technique. Second, machine setup time cannot be negligible in the hybrid flow shop scheduling problem considering lot-streaming [15] and serially processing all sub-lots of a lot is definitely conducive to reducing the sequence-dependent setup times. However, this strict restriction is not necessarily favorable to the maximum completion time.
Intermingling sub-lots of different lots emerged in similar industrial problems such as permutation flow shop scheduling problems. For instance, Feldmann et al. (2008) [16] introduced the sub-lot intermingling of particular products for permutation flow shop problems. Mortezaei et al. (2014) [17] studied a permutation flow shop with preventive maintenance and consistent intermingled sub-lots. As for the hybrid flow shop scheduling problems, Zhang et al. (2014) [18] introduced the intermingling of equal sub-lots into the flow shop scheduling problem. Obviously, consistent sub-lots are considered, implying the number of items in each sub-lot may be different. Thus, this work studies the lot-streaming hybrid flow shop scheduling problem with consistent and intermingled sub-lots to enhance the utilization ratio of machines and the manufacturing cycle.

2.2. Meta-Heuristic Algorithms

In recent decades, many algorithms have been proposed to tackle the hybrid flow shop scheduling problem and its variants. These algorithms include mathematical formulations [17,19,20,21,22], swarm optimization algorithms [11,12,18], and local search algorithms [13,23]. The first can obtain the optimal solution for small-sized cases at the cost of exponentially increased computation time [20]. To tackle medium- or large-sized cases, the latter two types of algorithms are commonly utilized. Concretely, swarm intelligent algorithms have a simple structure, and good global convergence, but are prone to premature convergence and it is difficult to find the optimal solution due to poor local optimization ability [24]. In contrast, the local search ones show stronger exploitation capacity via exquisite problem-specific neighborhood search strategies.
Thus, this work uses the local search algorithm, specifically iterated greedy algorithm (IG), a simple but powerful algorithm [3,4], to solve the HFSP-CIS. Since the local search algorithm is to search around a solution in its local scope, the performance of the initial solution and search strategies are particularly important.
To improve the performance of the initial solution, there are miscellaneous classical rules for hybrid flow shop scheduling problems, i.e., shortest processing time (SPT) and longest processing time (LPT) [25]. To be more relevant, this work customizes a heuristic-based initialization to generate the initial solution for the IG to further reduce machine idle times, which enables the generation of a high-quality initial solution.
To improve the local search ability, many operators are designed with the insertion and pairwise exchange operators [26], an exploration heuristic [27], an insert move with two job selection mechanisms [28], and a restart scheme with six operators [29]. Therefore, for the improvement of the exploitation ability, this work specifically designs four kinds of neighborhood structures and an adaptive strategy. Besides, an inferior solution improvement mechanism is attempted to improve the exploration ability of the algorithm.
Based on the above, this work studies the lot-streaming hybrid flow shop scheduling problem with consistent and intermingled sub-lots (LHFSP-CIS) and aims to minimize the maximum completion time. To tackle this problem, a heuristic-based adaptive iterated greedy algorithm (HAIG) is proposed. Specifically, three operators for initialization, local search, and acceptance criterion are dexterously modified.

3. Results

3.1. Problem Formulation

The considered problem LHFSP-CIS is described as follows. Several lots are to be processed through a set of stages with more than one parallel machine at each stage. The framework of the hybrid flow shop environment is shown in Figure 2. Each lot can be split into several sub-lots with different numbers of items. The number of sub-lots and the quantity of items in each sub-lot remains unchanged through all the stages. At each stage, all the sub-lots of a lot can be processed by different machines; or, if by a machine, sub-lots of other lots can be intermingled among them. In each sub-lot, all the items should be processed continuously and their processing time is the product of the number of items in this sub-lot and the processing time per item. Besides, sequence-dependent setup time is expected if two consecutive sub-lots are different lots and otherwise are unnecessary. The assumptions for this problem are summarized below.
  • All items of all lots are available at time zero.
  • The number of sub-lots of a lot is limited to its maximum value.
  • At each stage, each sub-lot should be allocated to exactly one machine and all sub-lots of a lot may be allocated to more than one machine.
  • On each machine, idle times between any two consecutive sub-lots are allowed, and all items in a sub-lot should be processed consecutively and without a break.
  • The buffer capacity between the two stages for storing intermediate products is infinite.
  • Each sub-lot can be transported to the next stage only after its completion at the current stage.
  • A machine can process at most one sub-lot at a time. It can start processing only if it gets ready and the corresponding sub-lot arrives.
  • On each machine, setup is compulsory if two consecutive sub-lots are from different lots while it is unnecessary if both of them are from the same lot.

3.2. Mathematical Model

The considered problem needs to determine the sub-lot splitting of all lots, the machine assignment of sub-lots at each stage, and the production sequence of sub-lots at each stage. Particularly, the sub-lot splitting includes determining the number of sub-lots of a lot and the number of items in each sub-lot. To formulate the mathematical model, the notations used are given as Table 1.
With the notations listed above, a mixed integer linear programming model for the LHFSP_CIS is formulated as follows.
M i n   C m a x
C m a x F i , j , e , j J , e E , i = I
S . T .
W j , e Q j , e Ψ , j J , e E
W j , e Q j , e , j J , e E
e = 0 L j Q j , e = n j ,   j J
k = 0 M i D i , k , j , e = 1 , j J , i I , e E
Y i , k , j , e , j , e + Y i , k , j , e , j , e D i , k , j , e ,   j , j J , i I , e , e E , k M i
Y i , k , j , e , j , e + Y i , k , j , e , j , e D i , k , j , e ,   j , j J , i I , e , e E , k M i
Y i , k , j , e , j , e + Y i , k , j , e , j , e D i , k , j , e + D i , k , j , e 1 , j , j J , i I , e , e E , k M i
F i , j , e B i , j , e p i , k , j · Q j , e Ψ × 1 D i , k , j , e , j J , i I , e E , k M i
F i , j , e B i , j , e p i , k , j · Q j , e + Ψ × 1 D i , k , j , e , j J , i I , e E , k M i
B i , j , e F i , j , e s i , j , j Ψ × 3 Y i , k , j , e , j , e D i , k , j , e D i , k , j , e , j , j J , i I , e , e E , k M i
B i + 1 , j , e F i , j , e t r i · W j , e 0 , j J , i 1 , , I 1 , e E
The objective is to minimize the maximum completion time C m a x   as specified in Equations (1) and (2). Note that, the maximum completion time cannot be less than the finishing time of each sub-lot of each lot at the last stage.
All the constraints are divided into three categories: sub-lot splitting, production sequence, and sub-lot timing. Regarding sub-lot splitting constraints, Equations (3) and (4) state that if the quantity of items in a sub-lot is larger than 1, i.e., Q j , e 1 , this sub-lot is utilized, and hence W j , e = 1 . Equation (5) ensures that all items in a lot are allocated to the sub-lots related to this lot. Obviously, the number of sub-lots and the quantity of the items in each sub-lot are the same from stage to stage, and hence both of them remain unchanged through all the stages.
In respect to production sequence constraints, Equation (6) points out that each sub-lot must go through all the stages, and at each stage, it must be allocated to exactly one machine. Since the allocated machines of two sub-lots of a lot are not specifically restricted, both of them can be the same machine or two different machines. Besides, Equations (7)–(9) line up all the sub-lots allocated to a machine into a sequence. Obviously, sub-lots of a lot are not required to be consecutively processed or without a break. In other words, they can be separated and hence intermingling sub-lots of different lots can be accomplished.
To handle the sub-lot timing constraints, Equations (10) and (11) demand that the processing of each sub-lot cannot be interrupted as long as it starts. Equation (12) describes two scenarios on a machine for starting the processing of a sub-lot: (1) if this sub-lot and its previous one are from the same lot, machine setup is unnecessary and hence this sub-lot can start after the completion of the previous; (2) if this sub-lot and its previous one are from two different lots, this sub-lot can start only after the completion of machine setup. Besides, Equation (13) guarantees that each sub-lot can start only after it has been transported from the previous stage to this one.
In sum, with Equations (1)–(13), LHFSP_CIS is formulated into a mixed integer linear programming model.

3.3. Complexity Analysis

The above model includes discrete variables { W j , e , D i , k , j , e ,   Y i , k , j , e , j , e ,   S j , e }, continuous variables { B i , j , e , F i , j , e , C m a x }, and 12 constraints. The number of discrete variables is v L ,   f v r L , f v 2 L 2 r , v L , respectively. The number of continuous variables is f v L , f v L and 1, respectively. In conclusion, the total number of variables in this MILP model is v L 3 + 2 f + r f + f v L . Similarly, the total number of constraints is approximately v L 5 + 4 f + r 2 f + 2 f v L + 1 . The number of constraints grows polynomially as the number of lots grows or as the maximum number of sub-lots of each lot increases. Hence, a metaheuristic algorithm is urgently needed to effectively and efficiently solve this problem with medium- and large-sized cases.

4. Heuristic-Based Adaptive Iterated Greedy Algorithm

The iterated greedy algorithm (IG) [3] was proposed by Ruiz in 2007 as a simple and effective meta-heuristic algorithm, which includes four processes: initialization, destruction–construction, local search, and acceptance strategy. To deal with the unique characteristics of LHFSP-CIS, i.e., sub-lot splitting, production sequencing, and machine assigning, this section advances a set of problem-specific optimization techniques. According to the following modifications, this enhanced algorithm is coined as a heuristic-based adaptive iterated greedy algorithm (HAIG).
The procedure of HAIG is shown in Algorithm 1, where U p d a t e B e s t X replaces the incumbent best solution with a better one just obtained, and U p d a t e A r c h i v e X substitutes the worst solution in the archive set as long as a better one is achieved.
Algorithm 1 The procedure for the HAIG
1: Define the termination criterion T
2: Initialize the primary solution X 0 Heuristic-based Initialization()  //initialization
3: X A d a p t i v e   L o c a l   s e a r c h X 0   //Local search
4: U p d a t e B e s t X
5: U p d a t e A r c h i v e X
6: While T is not satisfied do
7:   X D / C X     // The destruction-construction (DC) process
8:   X A d a p t i v e   L o c a l   s e a r c h X
9:   U p d a t e B e s t X
10:   U p d a t e A r c h i v e X
11:   X I m p r o v e d   a c c e p t a n c e   c r i t e r i o n X
12: End While
13: Return X best

4.1. Encoding with Decoupling Strategy

The encoding encompasses two facets of a solution on sub-lot splitting and production sequencing at the first stage, and a two-layer representation of solutions is thus presented. It should be noted that the decision variable on machine assignment for each sub-lot at each stage is handled in the decoding process.
The first layer represents the sub-lot splitting via a v L -dimensional matrix, Z v × L   = Z 1 , , Z j , , Z v . In this matrix, each row stands for a lot, each column represents the serial number of sub-lots, and each element implies the number of items in the corresponding sub-lot split from a given lot. Notably, the total quantity of items in all sub-lots of a lot is equal to that from the lot. Take Equation (14) as an example. For lots {1, 2, 3, 4}, there are {3, 2, 1, 2} sub-lots with the number of items {(10, 22, 31), (32, 26), (23), (40, 14)}, respectively. Hence the total quantity of items in these lots is {63, 58, 23, 54}, respectively. In particular, the sub-lots with a quantity of zero imply that these sub-lots exist in name only.
Z 4 × 3 = 10 22 31 32 26 0 23 0 0 40 14 0
The second layer concerns the production sequence of these sub-lots at the first stage via a v L -dimensional permutation   π v L = π 11 , , π j e , , π v L . Among this permutation, π j e represents the sub-lot e of lot j . The sub-lot appearing to be at the front in this permutation is endowed with a higher priority to be processed at the first stage. Besides, the number of elements in this permutation equals v L , indicating that all sub-lots including those with zero items are sequenced in a line. As illustrated in Equation (15), the first sub-lot of lot 1 starts first, then the first sub-lot of lot 2, and so on. Clearly, the second sub-lot of lot 4 (4.2) starts earlier than the first sub-lot of lot 4 (4.1). This implies that all sub-lots of a lot are not sequenced in the strictly increasing serial number of these sub-lots as in [11]. Owing to a higher degree of freedom, the intermingling of sub-lots from the same or different lots is realized.
π 12 = 1.1 ,   2.1 ,   3.1 ,   4.2 ,   1.3 ,   1.2 ,   3.3 ,   4.1 ,   2.2 ,   2.3 ,   4.3 ,   2.3
Clearly, Equation (14) focuses on sub-lot splitting while Equation (15) focuses on production sequencing. However, both of them are strictly consistent in terms of the maximum number of sub-lots, and, accordingly, the process of encoding the production sequencing is independent of that of the sub-lot splitting. This encoding strategy decouples the sub-lot-based connection between these two layers. The representation at each layer is entirely free and unrestricted, and hence has the potential to cover the complete solution space.

4.2. Decoding

To obtain a feasible solution, two further discrete variables need to be determined: a production sequence for all the sub-lots at other stages, and machine assignment for all sub-lots at all stages including the first.
Regarding the production sequence, except for the first stage, a “first come, first processed” is employed. The objective is to endow the sub-lot whose arrival time is earlier with a higher privilege to be scheduled. Hence, the sub-lot will start as early as possible to reduce the valueless waiting time and shorten the maximum completion time.
Meanwhile, since multiple parallel machines are involved at each stage, the heuristic rule of “first completed, first allocated” is employed. As a result, the machine with an earlier available time has a higher priority to be allocated. Here, there are two possibilities for the earliest available time for machines. First, if the two sub-lots consecutively processed by a machine are from two lots, implying sub-lots of different lots are intermingled, the earliest available time is the completion time of the previous sub-lot plus the setup time. Second, if the two sub-lots are of a lot, the earliest available time is precisely the completion time of the previous sub-lot. If all the sub-lots can be started at the earliest available time, the utilization rate of all machines will be improved and the manufacturing cycle time will be largely reduced. The detailed decoding process is shown in Algorithm 2.
Algorithm 2 The procedure for decoding
Input:Sub-lot splitting, Z v × L   ;
  production sequence of sub-lots at the first stage, π v L = π 11 , , π j e , , π v L
Output: A schedule.
1: For i = 1   to f do
2:   Initialize the time that parallel machines are ready for setup
3:   For all sub-lots according to the production sequence π v L   do
4:   For m = 1 to M i  do
5:    Calculate the available time of machine m after transportation and sequence-dependent setup as Equations (12) and (13)
6:   End For
7:   Assign the sub-lot π n to the machine M with the earliest available time
8:   Calculate C m a x of π n according to the earliest available time and processing time
9:  End For
10:  Update production sequence π v L by completing time ascending
11: End For

4.3. Heuristic-Based Initialization

As declared in [30], the speed of an iterative search highly depends on the quality of the initial solution. To provide an initial solution with better quality, a heuristic-based initialization rule has been designed. For the sub-lot splitting, a more-balanced sub-lot splitting strategy for the first stage is proposed to divide the total quantity of items in a lot as evenly as possible. Under this circumstance, the considered problem has been transformed into a hybrid flow shop scheduling problem with sequence-dependent setup time. Since the shortest processing time (SPT) rule shows asymptotic optimality for the flow shop problem with the objective of mean completion time [31], an improved version of the SPT rule has been designed for the generation of the production sequence. Specifically, instead of the shortest processing time, the smallest summation of processing time and sequence-dependent setup time is regarded as the evaluation criterion. The procedure for this heuristic-based initialization is shown in Algorithm 3.
Algorithm 3 The procedure for heuristic-based initialization
Input: Losts J ; Quantity of items in lots n j ; Maximum number of sub-lots in each lot L
Output: an initial solution X 0 = π v L 0 ,   Z v × L 0
1: Define a set Ω U that accommodate the unscheduled sub-lots
2: Define a set S T U that accommodate the summation of processing time and sequence-dependent setup time
3: For j = 1 to v do      // More-balanced sub-lot splitting
4:  For e = 1 to L 1  do
5:     Z v × L 0 = n j / L
6:  End For
7:   Z v × L 0 = n j L 1 × n j L
8: End For
9: For n = 1 to v L do  // Improved SPT-based production sequencing
10:   S T U = ϕ
11:  For m = 1 to M 1 do
12:    For p = 1 to Ω U do
13:      Calculate   S T m Ω p U
14:      S T U S T
15:    End For
16:  End For
17:    π v L 0 m i n m ϵ M 1 , p ϵ Ω U S T U
18: End For

4.4. Destruction–Construction Phase

In the traditional iterative greedy algorithm, a fixed number of elements need to be removed in the destruction phase and subsequently inserted into all the possible positions in the remaining sequence in the construction phase. Obviously, as the size of instances increases, the computational cost for inserting the removed elements back into all the possible positions increases. To enhance the effectiveness and efficiency of this destruction and construction, a constant S representing the proportion of the number of sub-lots being destroyed to that of all sub-lots is introduced. For this, the number of elements being destroyed increases as the size of the problem instances grows. Moreover, another constant R is introduced to determine the proportion of the number of insertion positions to that of all the possible positions for construction. The procedure for this destruction and construction process is shown in Algorithm 4.
Algorithm 4 The procedure for the destruction-construction (DC) process
Input: an initial solution X 0 = π v L 0 ,   Z v × L 0
Output: a novel solution X 1 = π v L 1 ,   Z v × L 0
1: For  i = 1 to v × L × S  do    // Destruction process
2:  Randomly remove sub-lot π k from π 0
3:   π R π k
4: End For
5: For i = 1 to v × L × S  do    // Construction process
6:  For j = 1 to   R × a l l   p o s s i b l e   p o s i t i o n s   o f   π 0  do
7:     π 1 Insert π R i into a random position of π 0
8:    Select the best π 1
9:     π 0 = π 1
10:  End For
11: End For

4.5. Adaptive Local Search

Neighborhood structures play a determinant role in the exploration and exploitation within the solution space [32]. To assure the local search is in a good direction, the critical path was investigated. Besides, to make the most of the neighborhood structures and avoid the waste of precious computational resources, an adaptive strategy was designed.

4.5.1. Critical Path-Based Neighborhood Operators

For LHFSP-CIS, the critical path is the longest path from the first processed sub-lot at the first stage to the last sub-lot at the last stage without any idle time. The length of the critical path is the maximum completion time and thus any movement in shortening the critical path may be conducive to the resolution of the considered problem. Hence, four types of neighborhood structures based on the critical path, as shown in Figure 3, were designed to enhance the exploitation ability in a neighborhood search, which are straightforwardly abbreviated as sub-lot splitting and three combined structures which respectively combine insertion, swap, and shuffling with sub-lot splitting. Among them, the first is designed only for the modification of the sub-lot splitting variable, and the rest of them are for the sub-lot sequencing variable.
The first neighborhood works for the mutation of sub-lot splitting. Specifically, the sub-lots located on the critical path are critical sub-lots. Among them, the sub-lot for which the corresponding machine spends the largest waiting time is the one most promising to be improved (abbreviated as the most promising critical sub-lot). Hence, the number of items in this sub-lot was randomly reduced until the number of items in this sub-lot is greater than zero. Accordingly, the reduced items were appended to two other sub-lots which also belong to the lot of the most promising critical sub-lot. It should be noted that the quantity of items appended to these two sub-lots is also randomly determined.
As for the rest of the three neighborhoods, sub-lot insertion directly dispatches the most promising critical sub-lot to one of the other parallel machines which are not on the critical path. Sub-lot swap interchanges the most promising critical sub-lot with the one that belongs to the same lot and has the smallest quantity of items. Sub-lot shuffling records the current production sequence, sequentially takes out all the sub-lots on the critical path, interchanges all of them randomly, and reinserts them back into the sequence. To avoid overlapping with the destruction–construction effect, the mutation of sub-lot splitting is turned on after the neighborhood operation for the processing sequence is completed.

4.5.2. Adaptive Strategy

To explore a larger solution space and promote computational efficiency, an adaptive strategy is proposed to control the threshold of the maximum consecutive iteration time in a local search cycle. Specifically, all of the above four neighborhoods are implemented one by one in a fixed order. A new local search cycle starts either with the current neighborhood as long as the incumbent solution is updated, or with the next neighborhood if the corresponding threshold is reached. Obviously, as demonstrated by Equations (16)–(18), these neighborhoods are endowed with equal thresholds as the algorithm starts. As the algorithm proceeds, these thresholds continue to decrease. If a neighborhood always fails to update the incumbent solution, most computational efforts are futile and hence the corresponding threshold is largely decreased to a relatively smaller number. For this, the computational efficiency is significantly improved.
C k , t = C e x p x   /   0.5 β k
x = t / T
β = d k / D k
where C k , t   is the threshold of the maximum consecutive iteration time for the neighborhood k at the CPU time t;   C is the initial value of C k , t ; t is the already used CPU time in the running process; T is the maximum CPU time; d k is the accumulated times for updating the incumbent solution by the neighborhood k; D k is the total times for running a local search cycle with the neighborhood k.
The procedure of a local search with four neighborhoods and adaptive strategy is detailed in Algorithm 5.
Algorithm 5 The procedure for local search
Input: a solution X 0 , C 0 , D k , d k , T , t
   a set of defined neighborhoods N K , k = 1 , , k m a x
Output: the updated solution X 0
1: k 1
2: While k < k m a x do
3:    D k D k + 1
4:    C k , t = C e x p x   /   0.5 β k
5:   While f a i l u r e < C k do
6:         X 1 N e i g h b o r h o o d X 0 , N K
7:        If f X 1 < f X 0  then
8:          X 0 X 1
9:          f a i l u r e 1
10:          d k   d k + 1
11:          D k D k + 1
12:          x = t / T
13:          β k = d k / D k
14:          C k , t = C e x p x   /   0.5 β k
15:        Else
16:          f a i l u r e f a i l u r e + 1
17:        End If
18:     End While
19:      k k + 1
20: End While

4.6. An Improved Acceptance Criterion

To promote global optimization ability and avoid premature convergence, a certain number of inferior solutions should be accepted. However, the accepted inferior solution may drag down the search process, or lead in the wrong direction. Thus, an improved acceptance criterion is proposed to provide a corrected inferior solution.
First, the Metropolis acceptance criterion was employed to accept the inferior solution within a certain range. When the new solution is worse than the incumbent one, the time-dependent acceptance index is calculated with Equation (19). As long as this acceptance index is greater than the newly generated random number, the inferior solution is accepted. Obviously, as the algorithm proceeds, the probability of accepting the inferior solution decreases. Hence, the algorithm tends to explore a larger solution space at the earlier stage and focuses more on the local convergence at the later one. A better tradeoff between exploration and exploitation is thereafter achieved.
Y = e x p X X 0   /   T ,               X > X 0
where Y is the time-dependent acceptance index; X is the maximum completion time of the new solution; X 0 is the maximum completion time of the incumbent solution.
Subsequently, the accepted inferior solution is corrected from two layers of production sequencing and sub-lot splitting successively. As shown in Figure 4, for the production sequencing, the order crossover operator is utilized to randomly truncate a partial segment of sub-lots from the accepted inferior solution, and then append other sub-lots to the end of this segment in the order in another solution randomly selected in the archive set. For the sub-lot splitting, a mutation operator is designed to change the size of the sub-lots. Concretely, the size of a randomly selected sub-lot in the accepted inferior solution is reduced and the reduced is appended to one of the other sub-lots belonging to the same lot. Regarding whether to accept the corrected inferior solution, the number of consecutive failures in comparing the corrected and incumbent inferior solutions is recorded. If this failure number achieves the maximum limit, this correction process is terminated.
The procedure of this improved acceptance criterion is in Algorithm 6.
Algorithm 6 The procedure of the improved acceptance criterion
Input: the current solution X 0 = π v L 0 ,   Z v × L 0 , the updated solution X 1 = π v L 1 ,   Z v × L 1
Output: the novel current solution X 0 = π v L 0 ,   Z v × L 0
1: If C m a x X 1 < C m a x X 0  then    // Acceptance criterion
2:  X 0 = X 1
3:  X b e s t   U p d a t e B e s t X 0
4:  U p d a t e A r c h i v e X 0
5: Elseif ( random exp C max π C max π / T e m p e r a t u r e )  then
6:  X 0 = X 1
7:  U p d a t e A r c h i v e X 0
8: While c o u n t < A do        // Optimal operator
9:    π v L n o v e l S P π v L 0
10:     Z v × L n o v e l S S M   Z v × L 0
11:    If C m a x X n o v e l < C m a x X 0  then
12:      c o u n t = 0
13:       X 0 = X n o v e l
14:    else
15:      c o u n t c o u n t + 1
16:      End If
17:    End While
18: End If

5. Experiment Results and Analysis

To verify the effectiveness of the proposed HAIG, four groups of experiments were carried out. After parameter calibration for all the involved algorithms, the performance of heuristic-based initialization was first tested. Then, the effectiveness of improved operators, which include the critical path-based neighborhood, the adaptive strategy, and the improved acceptance criterion were evaluated. Subsequently, the proposed HAIG was validated through a comparison experiment with state-of-the-art algorithms and a real-life industrial case.
HAIG and all the comparison meta-heuristics were programmed using C++ on Visual Studio 2019 and run on a computer with Intel(R) Core (TM) i7-10700 CPU, 2.90 GHz, 16.0 GB. All experiments used the same termination criterion, CPU time = v × L × f × M × t milliseconds. Here, t was set as 3. By using this criterion, the termination criterion is related to the total number of sub-lots, the number of stages, and the number of machines, and hence the computational time may be prolonged modestly as the problem size increases.

5.1. Experimental Setting

There were 36 examples set up for the verification experiments. Each case was represented by the number of lots, stages, and the type of machine configuration [33,34]: n × i × m . Specifically, the lot number n has nine levels {4, 12, 20, 36, 46, 56, 70, 85, 100}, and the stage number i has two levels, {3, 5}. All machines are laid out in two configurations: (a) one machine at the first stage and three machines in the rest stages; (b) three machines for each stage. Therefore, the total number of instances was   9 × 2 × 2 = 36 , among which the number of small, medium, and large-scale cases were 12, respectively, according to the lot number.
Other parameters in the problem were set based on the real-life industrial case in the last section. Specifically, the number of items for each lot is uniformly distributed in U [10, 60], the sequence-dependent setup time and transportation time in U [10, 30] and U [20, 30], respectively, and the processing time per item in U [1, 10]. Besides, the maximum number of sub-lots of a lot was set to 3.
To simplify the algorithmic evaluation, the relative percentage deviation (RPD) between the maximum completion time calculated by the current algorithm c c u r r e n t   and the best result of all algorithms c B e s t was selected as the performance evaluation index.
R P D = c c u r r e n t c B e s t   c B e s t × 100

5.2. Parameter Calibration

To eliminate the influence of parameters among algorithms, Design of Experiments (DOE) was utilized to set the algorithm parameters appropriately. HAIG involves five parameters: the number of solutions in the archive set (P), the initial threshold in adaptive local search (C), the number of consecutive failures in the improved acceptance criterion (A), the proportion of the number of sub-lots being destructed to that of all sub-lots (S), and the proportion of the number of insertion positions for construction (R). The Taguchi experiment [35] was used to make an empirical study on the influence of these five parameters.
For each parameter, four reasonable levels were determined in preliminary experiments, which were P (10, 20, 30, 40); C (5, 10, 15, 20); A (5, 10, 15, 20); S (0.2, 0.3, 0.4, 0.5); R (0.2, 0.4, 0.6, 0.8). Their combinations were determined by the orthogonal array L 16 , which was tested on 9 cases, namely 4 × 3_a, 12 × 3_a, 12 × 3_a, 20 × 3_a, 46 × 3_a, 56 × 3_a, 70 × 3_a, 85 × 3_a, and 100 × 3_a. Each combination was run 10 times, and the average overall RPD value was taken as experimental results, as shown in Figure 5, in which the mean signal-to-noise ratio (SNR) was utilized as the evaluation index.
Obviously, the best combination of parameters for HAIG is {P = 20, C = 30, A = 20, S = 0.2, R = 0.7}. Therefore, these values were applied in the following experiments. Other algorithms for Improved Genetic Algorithm ( IGA ), Discrete Particle Swarm Optimization ( DPSO ), Discrete Whale Swarm Algorithm ( DWSA ), Discrete Grey Wolf Optimizer ( DGWO ), and Tabu-search optimization ( TS ) in this work were similarly tested and the best parameter combinations for them are in Table 2.

5.3. Effectiveness of Heuristic-Based Initialization

Four initialization rules, including the random (Ran), shortest processing time (SPT), Nawaz–Enscore–Ham [36] (NEH), and collaborative rule [14] (Col), were employed for comparison experiments. For fairness, all operators in the tested algorithms are the same except for the initialization operator. All 36 cases were tested. With min RPD and mean RPD as the response value, the response value of the 95% confidence intervals is reported in Figure 6 and the detailed results are in Table 3.
Clearly, by using the heuristic-based initialization (HBI), the obtained min and mean RPD outperform the other comparison counterparts in most instances. Further analysis reveals that the integration of sequence-dependent setup times into the initialization process balances the maximum completion time and setup times, and makes the heuristic-based initialization better than SPT and the Collaborative. Besides, accurately generating production sequences based on problem-specific rules can make the performance of the initial solutions good and stable, and certainly better than randomization in NEH. As a result, heuristic-based initialization is superior to traditional heuristic rules.

5.4. Effectiveness of Three Improvements

Three improved improvement operators, which include the critical path-based neighborhood operators, the adaptive strategy, and the improved acceptance criterion are verified in this section. For this, three comparison algorithms, HAIG rcr ,   HAIG rad ,   HAIG rim are proposed. Concretely, based on the proposed HAIG, HAIG rcr removes the critical path-based neighborhood operator, HAIG rad removes the adaptive strategy, and HAIG rim removes the improved acceptance criterion. Similarly, all algorithms were tested 10 times on 36 cases. The results are reported in Figure 7.
Each of the three operators shows advantages in improving the performance of HAIG in terms of the min and mean RPD. Particularly, the improved acceptance criterion plays the most important role. Besides, the marked improvement of HAIG demonstrates that these three operators are complementary and hence the combination of these three operators is effective for the proposed algorithm.

5.5. Effectiveness of the Proposed HAIG

To further analyze the comprehensive performance of the proposed HAIG, five state-of-the-art algorithms were employed for comparison, which included four swarm intelligent algorithms, and one well-known local search algorithm. The four swarm intelligence algorithms were IGA [37], DPSO [38], DWSA [39], and DGWO [40]. The local search algorithm was TS [41]. For fairness, all the algorithms adopted the encoding and decoding strategies proposed in this work and the involved parameters are calibrated in Section 5.2. The best (Best) and average (Avg) maximum completion time obtained across 10 independent runs are reported in Table 4 and the plots for RPD of all comparison algorithms are depicted in Figure 8.
Among the 36 cases, all the best and 35 average values of HAIG were better than those by the other comparison algorithms. From the statistical results, the proposed algorithm was significantly superior in terms of best solution and robustness, as confirmed in Figure 8. Above all, the significant effect of the proposed HAIG can be demonstrated. The non-parametric Kruskal–Wallis test was used to obtain p = 0, which is far less than 0.05, demonstrating that the performance of the proposed algorithm outperforms others. However, the proposed algorithm is only validated for this problem and cannot guarantee its performance for other problems.

5.6. An Industrial Case

A realistic industrial case in passenger vehicle manufacturing is taken as an example. The manufacturing process is divided into three stages: welding, painting, and assembly. Different carriages (lots) are processed through these stages one by one, and each stage has several parallel lines. The transportation time between two successive stages is given. When different types of carriages are processed in sequence, sequence-dependent setup time is involved. The case data are shown in Table 5a,b.
Results show that the best production sequence at the first stage is {1-3,4-1,1-2,4-2,1-1,2-3,4-3,2-1,3-1,3-3,2-2,3-2}, and the best sub-lot splitting is {(16, 6, 12), (8, 8, 14), (17, 11, 12), (6, 8, 6)}. Besides, the maximum completion time obtained is 389. The scheduling scheme is shown in Figure 9.
Obviously, compared with the traditional research in which all sub-lots of a lot are assigned to exactly one machine at each stage and performed serially, the proposed approach with intermingling sub-lots increases the sequence-dependent idle times to a certain extent. However, it achieves two significant advantages. First, all sub-lots are completed at the last stage almost at the same time, which increases the utilization rate of machines. Second, owing to intermingling, sub-lots of a lot can be processed on more than one machine at the same time, which shortens the manufacturing cycle time of a lot and reduces the inventory.

6. Conclusions and Future Work

Owing to the advantages of higher machine utilization and shorter manufacturing cycle time, intermingling sub-lots of one lot with another is a practical implementation. For this practical lot-streaming hybrid flow shop scheduling problem with consistent and intermingled sub-lots, this work established a mixed integer linear programming (MILP) model and proposes a heuristic-based adaptive iterated greedy algorithm (HAIG) with three modifications to solve this problem. The result (335) was obtained by MILP and the algorithm in the super small-scale cases (2 × 2_a), which proved the accuracy of the MILP model. Besides, four groups of experiments were carried out to demonstrate the effectiveness of HAIG. The experiment results led to the following three conclusions:
(1) Intermingling sub-lots of one lot with another effectively reduces the maximum completion time at the cost of a little increase in the sequence-dependent setup times and hence promotes production efficiency.
(2) Three modifications in HAIG, including heuristic-based initialization, adaptive local search, and improved acceptance criterion, are complementary, and hence the combination of them is effective.
(3) HAIG is significantly superior to five state-of-the-art algorithms in terms of near optimality and robustness.
Future research will consider a practical lot-streaming assembly flow shop scheduling problem in which parts are manufactured at the previous stage and are assembled into the final product at the final stage. Limited by economy production and transportation lots, all the parts are manufactured and transported in variable and intermingled sub-lots to shorten the production cycle time and reduce the work-in-process inventory. Besides, an adaptive strategy based on reinforced learning will be adopted in the destruction–construction phase to improve the performance of the algorithm.

Author Contributions

Conceptualization, Y.L. and Q.T.; methodology, Y.L. and Q.T.; validation, Y.L., L.Z. and Y.Z.; formal analysis, Y.L. and Q.T.; investigation, Q.T. and Q.P.; resources, Q.P.; writing—original draft preparation, Y.L.; writing—review and editing, Y.L. and Q.T. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the National Natural Science Foundation of China, No. 52275504.

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. Ruiz, R.; Vázquez-Rodríguez, J.A. The hybrid flow shop scheduling problem. Eur. J. Oper. Res. 2010, 205, 1–18. [Google Scholar] [CrossRef] [Green Version]
  2. Cheng, M.; Mukherjee, N.; Sarin, S. A review of lot streaming. Int. J. Prod. Res. 2013, 51, 7023–7046. [Google Scholar] [CrossRef]
  3. Ruiz, R.; Stützle, T. A simple and effective iterated greedy algorithm for the permutation flowshop scheduling problem. Eur. J. Oper. Res. 2007, 177, 2033–2049. [Google Scholar] [CrossRef]
  4. Dubois-Lacoste, J.; Pagnozzi, F.; Stützle, T. An iterated greedy algorithm with optimization of partial solutions for the makespan permutation flowshop problem. Comput. Oper. Res. 2017, 81, 160–166. [Google Scholar] [CrossRef]
  5. Ni, F.; Hao, J.; Lu, J.; Tong, X.; Yuan, M.; Duan, J.; Ma, Y.; He, K. A Multi-Graph Attributed Reinforcement Learning based Optimization Algorithm for Large-scale Hybrid Flow Shop Scheduling Problem. In Proceedings of the 27th ACM SIGKDD Conference on Knowledge Discovery & Data Mining, Singapore, 14–18 August 2021; pp. 3441–3451. [Google Scholar] [CrossRef]
  6. Ercan, M.F. A performance comparison of PSO and GA in scheduling hybrid flow-shops with multiprocessor tasks. In Proceedings of the 2008 ACM Symposium on Applied Computing, Ceará, Brazil, 16–20 March 2008; pp. 1767–1771. [Google Scholar] [CrossRef]
  7. Salhi, A.; Rodríguez, J.A.V.; Zhang, Q. An estimation of distribution algorithm with guided mutation for a complex flow shop scheduling problem. In Proceedings of the 9th Annual Conference on Genetic and Evolutionary Computation, London, UK, 7–11 July 2007; pp. 570–576. [Google Scholar] [CrossRef] [Green Version]
  8. Caricato, P.; Grieco, A.; Nucci, F. Simulation and mathematical programming for a multi-objective configuration problem in a hybrid flow shop. In Proceedings of the 2008 Winter Simulation Conference, Miami, FL, USA, 7–10 December 2008; pp. 1820–1828. [Google Scholar] [CrossRef] [Green Version]
  9. Moslehi, G.; Mirzaee, M.; Vasei, M.; Modarres, M.; Azaron, A. Two-machine flow shop scheduling to minimize the sum of maximum earliness and tardiness. Int. J. Prod. Econ. 2009, 122, 763–773. [Google Scholar] [CrossRef]
  10. Fernandez-Viagas, V.; Perez-Gonzalez, P.; Framinan, J.M. The distributed permutation flow shop to minimise the total flowtime. Comput. Ind. Eng. 2018, 118, 464–477. [Google Scholar] [CrossRef]
  11. Pan, Y.; Gao, K.; Li, Z.; Wu, N. Improved Meta-Heuristics for Solving Distributed Lot-Streaming Permutation Flow Shop Scheduling Problems. IEEE Trans. Autom. Sci. Eng. 2022, 20, 361–371. [Google Scholar] [CrossRef]
  12. 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, 33, 459–471. [Google Scholar] [CrossRef]
  13. Gong, D.; Han, Y.; Sun, J. 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]
  14. Zhang, B.; Pan, Q.-K.; Meng, L.-L.; Zhang, X.-L.; Ren, Y.-P.; Li, J.-Q.; Jiang, X.-C. A collaborative variable neighborhood descent algorithm for the hybrid flowshop scheduling problem with consistent sublots. Appl. Soft Comput. 2021, 106, 107305. [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. Feldmann, M.; Biskup, D. Lot streaming in a multiple product permutation flow shop with intermingling. Int. J. Prod. Res. 2007, 46, 197–216. [Google Scholar] [CrossRef]
  17. Mortezaei, N.; Norzima, Z.; Tang, S.; Rosnah, M.Y. Lot Streaming and Preventive Maintenance in a Multiple Product Permutation Flow Shop with Intermingling. Appl. Mech. Mater. 2014, 564, 689–693. [Google Scholar] [CrossRef]
  18. Zhang, P.; Wang, L.; Wang, S.-Y. A discrete fruit fly optimization algorithm for flow shop scheduling problem with intermingling equal sublots. In Proceedings of the 33rd Chinese Control Conference, Nanjing, China, 28–30 July 2014; pp. 7466–7471. [Google Scholar] [CrossRef]
  19. Meng, L.; Zhang, C.; Shao, X.; Ren, Y.; Ren, C. Mathematical modelling and optimisation of energy-conscious hybrid flow shop scheduling problem with unrelated parallel machines. Int. J. Prod. Res. 2018, 57, 1119–1145. [Google Scholar] [CrossRef] [Green Version]
  20. Meng, L.; Gao, K.; Ren, Y.; Zhang, B.; Sang, H.; Chaoyong, Z. Novel MILP and CP models for distributed hybrid flowshop scheduling problem with sequence-dependent setup times. Swarm Evol. Comput. 2022, 71, 101058. [Google Scholar] [CrossRef]
  21. Meng, L.; Zhang, C.; Shao, X.; Ren, Y. MILP models for energy-aware flexible job shop scheduling problem. J. Clean. Prod. 2018, 210, 710–723. [Google Scholar] [CrossRef]
  22. Meng, L.; Zhang, C.; Ren, Y.; Zhang, B.; Lv, C. Mixed-integer linear programming and constraint programming formulations for solving distributed flexible job shop scheduling problem. Comput. Ind. Eng. 2020, 142, 106347. [Google Scholar] [CrossRef]
  23. Öztop, H.; Tasgetiren, M.F.; Eliiyi, D.T.; Pan, Q.-K. Iterated greedy algorithms for the hybrid flowshop scheduling with total flow time minimization. In Proceedings of the Genetic and Evolutionary Computation Conference, Kyoto, Japan, 15–19 July 2018; pp. 379–385. [Google Scholar] [CrossRef]
  24. Zhang, H.; Li, J.; Hong, M.; Man, Y. Artificial intelligence algorithm-based multi-objective optimization model of flexible flow shop smart scheduling. In Applications of Artificial Intelligence in Process Systems Engineering; Elsevier: Amsterdam, The Netherlands, 2021; pp. 447–472. [Google Scholar] [CrossRef]
  25. Tsubone, H.; Ohba, M.; Uetake, T. The impact of lot sizing and sequencing on manufacturing performance in a two-stage hybrid flow shop. Int. J. Prod. Res. 1996, 34, 3037–3053. [Google Scholar] [CrossRef]
  26. Jing, X.-L.; Pan, Q.-K.; Gao, L.; Wang, Y.-L. An effective Iterated Greedy algorithm for the distributed permutation flowshop scheduling with due windows. Appl. Soft Comput. 2020, 96, 106629. [Google Scholar] [CrossRef]
  27. Li, J.-Q.; Du, Y.; Gao, K.-Z.; Duan, P.-Y.; Gong, D.-W.; Pan, Q.-K.; Suganthan, P.N. A Hybrid Iterated Greedy Algorithm for a Crane Transportation Flexible Job Shop Problem. IEEE Trans. Autom. Sci. Eng. 2021, 19, 2153–2170. [Google Scholar] [CrossRef]
  28. Riahi, V.; Chiong, R.; Zhang, Y. A new iterated greedy algorithm for no-idle permutation flowshop scheduling with the total tardiness criterion. Comput. Oper. Res. 2019, 117, 104839. [Google Scholar] [CrossRef]
  29. Huang, J.-P.; Pan, Q.-K.; Gao, L. An effective iterated greedy method for the distributed permutation flowshop scheduling problem with sequence-dependent setup times. Swarm Evol. Comput. 2020, 59, 100742. [Google Scholar] [CrossRef]
  30. Du, K.-L.; Swamy, M.N.S. Tabu Search and Scatter Search. In Search and Optimization by Metaheuristics; Birkhäuser: Cham, Switzerland, 2016; pp. 327–336. [Google Scholar] [CrossRef]
  31. Kaminsky, P.; Simchi-Levi, D. The Asymptotic Optimality of the SPT Rule for the Flow Shop Mean Completion Time Problem. Oper. Res. 2001, 49, 293–304. [Google Scholar] [CrossRef] [Green Version]
  32. Duarte, A.; Sánchez-Oro, J.; Mladenović, N.; Todosijević, R. Variable Neighborhood Descent. In Handbook of Heuristics; Springer: Cham, Switzerland, 2018; pp. 341–367. [Google Scholar] [CrossRef]
  33. Öztop, H.; Tasgetiren, M.F.; Eliiyi, D.T.; Pan, Q.-K. Metaheuristic algorithms for the hybrid flowshop scheduling problem. Comput. Oper. Res. 2019, 111, 177–196. [Google Scholar] [CrossRef]
  34. Zhang, B.; Pan, Q.-K.; Gao, L.; Zhang, X.-L.; Chen, Q.-D. A hybrid variable neighborhood search algorithm for the hot rolling batch scheduling problem in compact strip production. Comput. Ind. Eng. 2018, 116, 22–36. [Google Scholar] [CrossRef]
  35. Ballantyne, K.; van Oorschot, R.; Mitchell, R. Reduce optimisation time and effort: Taguchi experimental design methods. Forensic Sci. Int. Genet. Suppl. Ser. 2008, 1, 7–8. [Google Scholar] [CrossRef]
  36. Nawaz, M.; Enscore, E.E.; Ham, I. A heuristic algorithm for the m-machine, n-job flow-shop sequencing problem. Omega 1983, 11, 91–95. [Google Scholar] [CrossRef]
  37. Yu, C.; Semeraro, Q.; Matta, A. A genetic algorithm for the hybrid flow shop scheduling with unrelated machines and machine eligibility. Comput. Oper. Res. 2018, 100, 211–229. [Google Scholar] [CrossRef]
  38. Anjana, V.; Sridharan, R.; Kumar, P.N.R. Development and Analysis of a Discrete Particle Swarm Optimisation for Bi-criteria Scheduling of a Flow Shop with Sequence-Dependent Setup Time. In Advances in Simulation, Product Design and Development; Proceedings of AIMTDR 2018; Springer: Singapore, 2020; pp. 267–284. [Google Scholar] [CrossRef]
  39. Zhang, C.; Tan, J.; Peng, K.; Gao, L.; Shen, W.; Lian, K. A discrete whale swarm algorithm for hybrid flow-shop scheduling problem with limited buffers. Robot. Comput. Manuf. 2020, 68, 102081. [Google Scholar] [CrossRef]
  40. Panwar, K.; Deep, K. Discrete Grey Wolf Optimizer for symmetric travelling salesman problem. Appl. Soft Comput. 2021, 105, 107298. [Google Scholar] [CrossRef]
  41. Harbaoui, H.; Khalfallah, S. Tabu-search optimization approach for no-wait hybrid flow-shop scheduling with dedicated machines. Procedia Comput. Sci. 2020, 176, 706–712. [Google Scholar] [CrossRef]
Figure 1. Lot-streaming HFSP with/without intermingling. (a) HFSP without lot-streaming; (b) Lot-streaming HFSP without intermingling; (c) Lot-streaming HFSP with intermingling.
Figure 1. Lot-streaming HFSP with/without intermingling. (a) HFSP without lot-streaming; (b) Lot-streaming HFSP without intermingling; (c) Lot-streaming HFSP with intermingling.
Sensors 23 02808 g001
Figure 2. Framework of the hybrid flow shop environment.
Figure 2. Framework of the hybrid flow shop environment.
Sensors 23 02808 g002
Figure 3. The illustrations of the neighborhood structures.
Figure 3. The illustrations of the neighborhood structures.
Sensors 23 02808 g003
Figure 4. Order crossover operator for the production sequence.
Figure 4. Order crossover operator for the production sequence.
Sensors 23 02808 g004
Figure 5. SNR main effects plot.
Figure 5. SNR main effects plot.
Sensors 23 02808 g005
Figure 6. Comparisons of initialization rules.
Figure 6. Comparisons of initialization rules.
Sensors 23 02808 g006
Figure 7. Comparisons of HAIG rcr ,   HAIG rad ,   HAIG rim and HAIG algorithms.
Figure 7. Comparisons of HAIG rcr ,   HAIG rad ,   HAIG rim and HAIG algorithms.
Sensors 23 02808 g007
Figure 8. Comparisons of the algorithms.
Figure 8. Comparisons of the algorithms.
Sensors 23 02808 g008
Figure 9. A scheduled Gantt chart for the case.
Figure 9. A scheduled Gantt chart for the case.
Sensors 23 02808 g009
Table 1. The notations.
Table 1. The notations.
Parameters and Sets:
L The maximum number of sub-lots from each lot.
fThe number of stages
vThe number of lots
rThe number of machines
I Set of stages and I = 1 , i f .
J Set of lots and J = 1 , j v .
E Sets of sub-lots, and E = 1 , e L .
M Set of machines and M = 1 , m r .
M i Set of machines at stage i ,   M i M .
n i The quantity of the items in lot j .
p i , k , j Processing time per item of lot j by machine k at stage i .
s i , j , j Setup time between lots j and j on a machine at stage i .
t r i Transportation time from stage i to the next stage.
Ψ A positive large number.
Discrete variables:
Q j , e Integer variable, the quantity of the items in sub-lot e from lot j .
W j , e Binary variable. It takes the value of 1 when the quantity of items in sub-lot e from lot j is larger than 1 and 0 otherwise.
D i , k , j , e Binary variable. It takes the value of 1 when sub-lot e of lot j is allocated to machine k at stage i and 0 otherwise.
Y i , k , j , e , j , e Binary variable. It takes the value of 1 when on machine k at stage i sub-lot e of lot j is performed immediately before sub-lot e from lot j and 0 otherwise.
Continuous variables:
B i , j , e Beginning time of sub-lot e of lot j at stage i.
F i , j , e Finishing time of sub-lot e of lot j at stage i.
C max Maximum completion time.
Table 2. Parameters values of other algorithms.
Table 2. Parameters values of other algorithms.
AlgorithmParameter
DGWO Popsize = 20 ,   Local Max = 3 ,   BillLength = 7
DPSO Popsize = 15 ,   Local Max = 15
IGA Popsize = 25 , restart = 15 , Crossover   rate = 0.2 , Mutation   rate = 0.8
TS Popsize = 15 ,   BillLength = 20
DWSA Popsize = 20 , Deduplication Archive = 5 ,   Acceptance = 0.2
Table 3. Comparisons of the initialization rules.
Table 3. Comparisons of the initialization rules.
ProblemMin RPDMean RPD
RanSPTNEHColHBIRanSPTNEHColHBI
4 × 3 _ a 0.03250.040.0180.00500.0920.0950.0740.0140.023
4 × 3 _ b 0.03470.0030.0340.03200.0790.0140.1530.0880.004
4 × 5 _ a 0.00530.00900.0020.0020.0670.0320.0450.0280.02
4 × 5 _ b 0.0380.1670.0050.01400.1040.1670.120.0550.004
12 × 3 _ a 0.0600.0180.0530.0260.0870.0250.0690.1040.039
12 × 3 _ b 0.10.1210.1280.05700.1570.1550.1420.0640.022
12 × 5 _ a 0.0870.0030.0120.03700.1440.0380.030.0920.01
12 × 5 _ b 0.1360.0830.0890.08700.1750.1120.1380.1140.012
20 × 3 _ a 0.0590.02500.0370.0040.0950.0460.0360.060.019
20 × 3 _ b 0.1230.120.1150.04200.1450.160.130.0550.008
20 × 5 _ a 0.0910.0430.0240.01900.1410.1070.0430.0820.012
20 × 5 _ b 0.1260.120.0980.0800.1480.150.1230.0930.014
36 × 3 _ a 0.0380.0240.0270.02900.0770.0440.0450.0450.016
36 × 3 _ b 0.1070.1420.090.05500.1460.1620.1060.0570.006
36 × 5 _ a 0.0670.0530.0170.06900.1150.0730.0260.0930.027
36 × 5 _ b 0.1370.1190.0890.07100.1590.140.1150.0750.006
46 × 3 _ a 0.0480.0360.0250.0400.070.0610.0360.050.014
46 × 3 _ b 0.1210.1490.1070.0600.1510.170.1190.060.004
46 × 5 _ a 0.0560.05800.0270.0150.0890.0720.0180.0440.027
46 × 5 _ b 0.1220.1140.1090.06700.150.1330.1270.0670.008
56 × 3 _ a 0.0960.0960.0740.06400.1250.1140.0880.080.006
56 × 3 _ b 0.1050.1220.0890.03800.130.1430.0990.040.003
56 × 5 _ a 0.080.0750.0520.03700.1140.1040.0620.0580.012
56 × 5 _ b 0.1150.1190.0960.03900.1330.130.1040.0440.007
70 × 3 _ a 0.0770.060.0730.04900.088180.0690.0820.0610.013
70 × 3 _ b 0.1210.1290.1060.05200.1470.1520.1240.0530.002
70 × 5 _ a 0.0520.0420.0350.03700.0790.060.0420.0490.018
70 × 5 _ b 0.1220.1230.1110.05100.1480.1350.120.0510.003
85 × 3 _ a 0.080.05760.0690.0700.0990.0810.080.0780.007
85 × 3 _ b 0.1240.1390.1150.05300.1450.1550.1190.0540.001
85 × 5 _ a 0.0580.0510.0480.0400.0810.080.0690.0550.017
85 × 5 _ b 0.1390.1120.110.05400.1480.1240.1240.0580.003
100 × 3 _ a 0.0920.090.0930.08100.1090.1010.1070.0890.012
100 × 3 _ b 0.1320.120.1160.05600.1510.1380.1260.0560.003
100 × 5 _ a 0.0840.0510.0510.04200.0940.0720.070.0590.019
100 × 5 _ b 0.1350.1270.1120.05300.1480.1330.1220.0530.001
Table 4. Comparisons of the algorithms.
Table 4. Comparisons of the algorithms.
Problem TS DGWO DPSO IGA DWSA HAIG
Best Avg Best Avg Best Avg Best Avg Best Avg Best Avg
4 × 3 _ a 452535.1437468447473416423.6416420.6400409.2
4 × 3 _ b 711748.1664726.9701728.6660665.1644658.2634636.4
4 × 5 _ a 640852.1641671.8631642.1589603.7571576.6567577.6
4 × 5 _ b 8451038.4811902.8955963.2810813.3794804.3760763
12 × 3 _ a 10511112.910981122.310541085.110231049.710301037.510041017.2
12 × 3 _ b 21572214.523002377.222042234.120452067.519752021.119281970.6
12 × 5 _ a 13251502.513151374.112111243.811831235.31173118811671178.5
12 × 5 _ b 22292389.724432554.223202383.521802264.121382170.520542078
20 × 3 _ a 17141855.617411802.116731712.616481674.716421671.116091632.4
20 × 3 _ b 39324106.143834470.742364318.639353981.638493879.837533782.8
20 × 5 _ a 20262303.319492083.919101922.318861971.818111847.517891811
20 × 5 _ b 41594221.545014601.64364447341344165.140104066.638743930.1
36 × 3 _ a 29233022.129533008.928852915.128212864.628392860.427362779.5
36 × 3 _ b 72347305.378027912.872377291.769687005.166906701.665866627.1
36 × 5 _ a 32683510.833273429.231283172.132333319.831453185.130473129.6
36 × 5 _ b 71407328.778248003.575617640.171107190.767846883.966966738.7
46 × 3 _ a 399640583868396038103846374337913735379036333684.9
46 × 3 _ b 96839861.210,41210,570.298209895.893269361.289258939.488118844.4
46 × 5 _ a 40914339.942924332.340664094.240134053.940114056.539964043
46 × 5 _ b 95049696.410,46310,615.2999410,123.395079536.49131915889339000.1
56 × 3 _ a 49105112.951575235.749064993.247874856.647184769.445634590.3
56 × 3 _ b 13,78313,894.114,82314,93613,93214,050.613,28113,330.612,91312,924.112,76812,810.8
56 × 5 _ a 52895455.853855538.352335268.950565130.65046507749194977.5
56 × 5 _ b 13,67313,877.114,89914,98714,24114,33513,49713,538.913,01313,151.712,90212,998.3
70 × 3 _ a 57975949.760286154.360396112.758795917.557515808.655925666.2
70 × 3 _ b 16,15916,440.517,48917,678.516,72216,86215,67915,694.914,93215,016.714,88714,913.7
70 × 5 _ a 62836428.463786528.162766323.161946301.36014610960036112.8
70 × 5 _ b 16,23516,632.617,39917,603.416,72916,982.215,85315,87815,20315,247.815,03815,080
85 × 3 _ a 74817746.177387872.677257765.275367639.77264730271187166.7
85 × 3 _ b 21,26621,692.522,86723,03921,82421,953.920,62420,661.619,64119,650.819,54319,571
85 × 5 _ a 77447941.980358241.380198073.877927884.37645772075057631.1
85 × 5 _ b 21,32021,646.722,71722,93122,10722,24720,77620,880.819,86919,879.419,69919,756.7
100 × 3 _ a 86268841.889629091.389299012.686698756.28398843780978191
100 × 3 _ b 24,61025,354.826,61926,776.325,51325,597.923,81623,817.822,64822,67822,52222,583
100 × 5 _ a 89299009.192789414.293239438.188818984.588278924.186588824.6
100 × 5 _ b 24,62224,974.226,41726,61925,63025,722.423,93523,97222,87522,914.622,71222,738.9
Table 5. The case data. (a). Production data for the illustrative example. (b). Production data for the illustrative example.
Table 5. The case data. (a). Production data for the illustrative example. (b). Production data for the illustrative example.
(a)
LotStage 1Stage 2Stage 3UnitSequence-Dependent Setup Time/Stages
Lot1Lot2Lot3Lot4
lot1A1B1RF9340, 0, 030, 30, 2630, 30, 1230, 19, 21
lot2A2B2WB43030, 30, 260, 0, 00, 16, 1916, 29, 22
lot3A2B3WB14030, 30, 120, 16, 190, 0, 016, 21, 21
lot4A3B4WB52030, 19, 2116, 29, 2216, 21, 210, 0, 0
(b)
StageTransportation TimeUnit Time per Item/Lots
Stage 1232, 6, 6, 1
Stage 2282, 6, 1, 10
Stage 3-10, 10, 2, 4
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

Lu, Y.; Tang, Q.; Pan, Q.; Zhao, L.; Zhu, Y. A Heuristic-Based Adaptive Iterated Greedy Algorithm for Lot-Streaming Hybrid Flow Shop Scheduling Problem with Consistent and Intermingled Sub-Lots. Sensors 2023, 23, 2808. https://doi.org/10.3390/s23052808

AMA Style

Lu Y, Tang Q, Pan Q, Zhao L, Zhu Y. A Heuristic-Based Adaptive Iterated Greedy Algorithm for Lot-Streaming Hybrid Flow Shop Scheduling Problem with Consistent and Intermingled Sub-Lots. Sensors. 2023; 23(5):2808. https://doi.org/10.3390/s23052808

Chicago/Turabian Style

Lu, Yiling, Qiuhua Tang, Quanke Pan, Lianpeng Zhao, and Yingying Zhu. 2023. "A Heuristic-Based Adaptive Iterated Greedy Algorithm for Lot-Streaming Hybrid Flow Shop Scheduling Problem with Consistent and Intermingled Sub-Lots" Sensors 23, no. 5: 2808. https://doi.org/10.3390/s23052808

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