Next Article in Journal
Solution-Processed NiO as a Hole Injection Layer for Stable Quantum Dot Light-Emitting Diodes
Previous Article in Journal
Prediction of Long-Term Health Risk from Radiocesium Deposited on Ground with Consideration of Land-Surface Properties
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Solving Non-Permutation Flow Shop Scheduling Problem with Time Couplings

by
Radosław Idzikowski
1,*,
Jarosław Rudy
2 and
Andrzej Gnatowski
1
1
Department of Control Systems and Mechatronics, Wrocław University of Science and Technology, 50-370 Wrocław, Poland
2
Department of Computer Engineering, Wrocław University of Science and Technology, 50-370 Wrocław, Poland
*
Author to whom correspondence should be addressed.
Appl. Sci. 2021, 11(10), 4425; https://doi.org/10.3390/app11104425
Submission received: 27 March 2021 / Revised: 17 April 2021 / Accepted: 11 May 2021 / Published: 13 May 2021
(This article belongs to the Section Applied Industrial Technologies)

Abstract

:
In this paper, a non-permutation variant of the Flow Shop Scheduling Problem with Time Couplings and makespan minimization is considered. Time couplings are defined as machine minimum and maximum idle time allowed. The problem is inspired by the concreting process encountered in industry. The mathematical model of the problem and solution graph representation are presented. Several problem properties are formulated, including the time complexity of the goal function computation and block elimination property. Three solving methods, an exact Branch and Bound algorithm, the Tabu Search metaheuristic, and a baseline Genetic Algorithm metaheuristic, are proposed. Experiments using Taillard-based problem instances are performed. Results show that, for the Tabu Search method, the neighborhood based on the proposed block property outperforms other neighborhoods and the Genetic Algorithm under the same time limit. Moreover, the Tabu Search method provided high quality solutions, with the gap to the optimal solution for the smaller instances not exceeding 2.3%.

1. Introduction

The Flow Shop Scheduling Problem (or FSSP), formulated in both permutation and non-permutation variants [1], remains one of the most well-known optimization problems in operations research. It is widely used for modeling theoretical and real-life problems in manufacturing and production planning [2]. In this problem, a number of jobs and machines are given. The objective is to determine a production schedule such that each job is processed on each machine in the same fixed order (given by the technological process) and the given criterion, usually the completion time of all jobs, is minimized. In the permutation variant, each machine processes jobs in the same order, while non-permutation variant has no such restriction.
Due to its practical applications, a great variety of FSSP variants and extensions have been considered over the years. For example, the authors of [3] considered a cyclic variant, where the initial set of jobs (called Minimal Part Set) is scheduled repeatedly in a cycle with the goal to minimize the cycle time. Another cyclic variant of FSSP, where machines are replaced by single-operator robotic cells, was researched in [4]. Due to the nature of real-life production processes, another common FSSP variant is based on consideration of uncertainty in the data, as shown in [5]. Another FSSP variant, represented by both the previous paper and [6], is multi-criteria FSSP, where two or more optimization criteria are considered simultaneously and the goal is to obtain the Pareto front. For this category of problems, Genetic Algorithms are especially popular recently. For example, the authors in [7] considered a hybrid variant of FSSP, where energy consumption was chosen as an additional objective. Due to a complex nature of the problem, the mixed integer formulation was solved using a modified NSGA-II (Non-dominated Sorting Genetic Algorithm) [8]. A Genetic Algorithm (GA) utilizing the concept of a relative entropy of fuzzy sets was proposed in [9]. To evaluate a Pareto front, the front is first mapped to a fuzzy set and then the relational entropy coefficient is used to measure the similarity to an ideal solution. In experiments for 4, 7, and 10 different criteria, the approach was shown to outperform multiple existing algorithms, including the popular NSGA-III [8,10]. GA approaches are commonly used for solving a wide range of problems ranging from multi-objective train scheduling [11] to continuous process improvement [12].
FSSP is an NP-hard problem and thus considered difficult even for small instances. As a result, there is a great number of different approaches for tackling FSSP. Machine Learning (ML) is a very popular topic nowadays. The methodology is especially well-suited for data-driven problems, with a large volume of noisy information available. However, purely ML-based end-to-end solving methods are usually inferior in the context of classical scheduling and routing problems. For example, the authors in [13] solved Travelling Salesman Problem (TSP) with the Pointer Networks that output a permutation of vertices. However, the approach was strictly worse than the best classical TSP solvers, such as Concorde [14]. Many other authors tried solving TSP using ML methods [15,16], but none succeeded in outperforming the state-of-art. In [17], a more general, data-driven approximation for solving NP-hard problems was presented. The methodology was tested on the Quadratic Assignment Problem. The method was outperformed by a general-purpose commercial solver. On the other hand, ML can also be used as a part of a larger solving algorithm. In a proof-of-concept work [18], the authors proposed an input-size agnostic deep neural network, integrated with Lawler’s decomposition for solving single machine total tardiness problem. The results showed that the algorithm outperformed the former state-of-the-art heuristics and the method can potentially be applied for other problems.
Among classical exact algorithms for FSSP, one can name approaches like Branch and Bound ( B & B ) [19] and Mixed-Integer Linear Programming (MILP) formulations [20]. Heuristic methods include both simpler greedy- or rule-based algorithms [21] and dozens of different metaheuristic algorithms [6,22,23]. Other modeling and solving techniques include the use of fuzzy set theory to represent uncertain data [24] or speeding up computation by the use of parallel computing [25,26]. As reported in of the recent reviews on non-permutation FSSP [2], Genetic Algorithm (GA), Tabu Search (TS), Simulated Annealing, and Ant Colony Optimization are the most popular metaheuristic algorithms for FSSP. As noted earlier, GA has been used recently to solve many multi-criteria variants FSSP. However, the algorithm is also well-suited for a single-objective FSSP. For example, in [27], GA was used to solve a variant of a hybrid FSSP with unrelated machines, machine eligibility, and total tardiness minimization. The authors incorporated a new decoding method tuned for the specific objective function considered. The resulting algorithm proved to be competitive in numerical experiments. The authors in [28] considered a permutational FSSP with flow time minimization. A Biased Random-Key Genetic Algorithm was proposed, introducing a new feature called shaking. Authors compared the results obtained by their algorithms with an Iterated Greedy Search, an Iterated Local Search, and a commercial solver. Variants of the proposed algorithm outperformed the competition, especially for larger instances.
Despite a large variety of extensions, the existing variants of FSSP are often insufficient in practice, when considering problems with machines that have unusual characteristics. Our motivation and an example of such problem is the concreting process, where one of the tasks performed on the site is concrete mix pouring. The concrete mixer needs to load the next batch of the mixture before proceeding with the next site. Moreover, the mixture has to be mixed for appropriate time before pouring—too long or too short mixing can affect the properties of the mixture or even damage the vehicle. However, the mixing should not be included in task time because work on the site can proceed as soon as the concrete mixer leaves the site. In scheduling, we can describe this as an additional dependency between starting or completion times of operations within a single machine (the concrete mixer in our case). As a result, additional gaps of minimum and maximum allowed lengths are inserted into the schedule. We will refer to such restrictions as time couplings and to FSSP with those restrictions as Flow Shop Scheduling Problem with Time Couplings (or FSSP-TC).
The minimal waiting time needed for the concrete mixing can be modeled as a setup time [22], but this does not model the maximal waiting time. Other similar time constraints found in the literature include a classic no-idle [29,30], where each machine, once processing operations are started, cannot be idle until all its operations are completed. Setups and no-idle constraints together were considered in [31], where subsequent operations or setups must start immediately after previous ones have completed. The authors proposed an MILP formulation as well as several versions of a heuristic based on the Beam Search approach.
Similarly to no-idle, a no-wait constraint describes a requirement whose next operation in a job has to be started directly after completing the previous one. An example of such constraint for FSSP was considered in [32] and solved through various local-search metaheuristics. In [33], the authors proposed an application of genetic operators to an Ant Colony Optimization algorithm for the same variant of FSSP. The described algorithm was applied to the 192 benchmark instances from literature. Results were compared with an Adaptive Learning Approach and Genetic Heuristic algorithm. The authors in [34] considered an energy-efficient no-wait permutation FSSP with makespan and energy consumption minimization. To achieve a better energy utilization, the processing speeds of machines can be dynamically adjusted for different jobs, altering both processing times and energy consumption. To solve the multi-criteria optimization problem, an adaptive multi-objective Variable Neighborhood Search algorithm was proposed, outperforming several state-of-art evolutionary algorithms. A modification of a classic no-wait, a limited wait constraint, in the context of a hybrid FSSP, was considered in [35]. A limited wait occurs, when some types of products (jobs) can wait for being processed at the next machine, and some cannot. The problem was solved by a discrete Particle Swam Optimization algorithm. In [36], a two-machine FSSP with both no-idle and no-wait constraints considered simultaneously was researched. Authors proposed a metaheuristic algorithm, utilizing Integer Linear Programming formulation. The method was able to obtain competitive results for instances consisting of up to 500 jobs. Another example of time constraints is minimum-maximum time allowed between consecutive operations of a single job. A two-machine FSSP with such constraints was researched in [20], where some theoretical proprieties of the problem were proven.
Nevertheless, none of the mentioned problems can precisely model the aforementioned concreting process. An adequate model was shown in [37], along with B & B and TS solving methods. However, the authors considered only the permutation variant of FSSP-TC and did not propose any elimination properties. We aim to rectify those drawbacks. Thus, our contributions can be summarized as:
  • Formulation of the mathematical model for the concreting process.
  • Identification of several problem properties, including elimination blocks.
  • Proposal of three solving algorithms for the considered problem: B&B, TS, and GA, out of which TS utilizes the proposed block properties.
The remainder of the paper is organized as follows: in Section 2, a formal mathematical model of the problem is formulated, along with a graph representation. Next, in Section 3, several problem properties are proven, including the elimination (block) property. Then, solving algorithms are presented in Section 4. The algorithms are empirically evaluated in Section 5. The paper is concluded in Section 6.

2. Problem Formulation

In this section, we will formulate the FSSP-TC formally, including the notation, problem constraints, and the goal function. The formulation is based on the classic FSSP, intended as an extension.

2.1. Mathematical Model

Let J = { 1 , 2 , , n } and M = { 1 , 2 , , m } be sets of n jobs and m machines, respectively. Each job j is composed of m operations from the set O j = { l j + 1 , l j + 2 , , l j + m } , where l j = m ( j 1 ) . Thus, there are n m operations in total and sets O j partition set O —the set of all operations. Each job j has to be processed on the machines in the natural order: 1 2 m . The processing time of job j on machine i (i.e., operation l j + i ) is denoted p i , j > 0 . Moreover, let r ^ i 0 denote the minimum idle time machine i is allowed between the processing of subsequent operations. Similarly, d ^ i r ^ i denotes the maximum idle time.
While the order in which jobs are processed is fixed, the processing order for each machine is a decision variable. Let π i be an n-element sequence of jobs that are to be processed on machine i, such that π i ( j ) is the j-th job to be processed on i. Then, the overall processing order is given by sequence π = ( π 1 , π 2 , , π m ) . Sequence π will be called a solution. Based on solution π , one can build a corresponding schedule. The schedule ( S , C ) consists of two matrices. The first matrix is given by S = [ S i , j ] m × n , where S i , j is the starting time of the j-th operation to be processed on machine i in π . Similarly, we can define the matrix of operation completion times C = [ C i , j ] m × n , where element C i , j is the completion time of j-th operation to be processed on machine i according to π . For a schedule ( S , C ) to be feasible, it needs to meet the following constraints:
i M j J C i , j = S i , j + ρ i , j ,
i M j J { 1 } r ^ i S i , j C i , j 1 d ^ i ,
i M { 1 } j J S i , j C i 1 , π i 1 1 ( π i ( j ) ) ,
where ρ i , j is a shorthand for p i , π i ( j ) , and π i 1 ( j ) is the position of job j in π i (i.e., π i 1 ( k ) = j π i ( j ) = k ). In other words, π 1 is inversion of permutation π . We also assume, without losing generality, that the first operation on the first machine starts at time 0, resulting in S 1 , 1 = 0 .
Constraint (1) means the processing of operations cannot be interrupted. Constraint (2) enforces that minimum and maximum machine idle times are respected, but also requires that operation a on machine i is only started after previous operation on i (i.e., machine predecessor of a) has completed. Similarly, (3) ensures that operation a of job j is started only after previous operation of job j (i.e., the technological predecessor of a) has completed.
From (1), one can observe that a feasible schedule can be described unambiguously by either S or C, which will be used throughout the paper. A schedule is called left-shifted if no operations can start sooner without violating the constraints or changing the processing order. A method for computing a left-shifted schedule S from a solution π will be presented in Section 3.
Example 1.
Consider the FSSP instance from Table 1 for n = 5 m = 3  and order of jobs π = ( ( 2 , 5 , 4 , 3 , 1 ) , ( 2 , 4 , 5 , 1 , 3 ) , ( 4 , 5 , 2 , 1 , 3 ) ) . A left-shifted schedule for solution π, with C max = 27 , is shown as a Gantt chart in Figure 1. Note that π is not optimal, as any change in π 3 will result in a smaller makespan.
Finally, we will define the goal function to be optimized. Let C max ( π ) be the completion time of the operation that completes last in the left-shifted schedule corresponding to π . From constraints (1)–(3), it follows that C max ( π ) = C m , n . The goal is to find a solution π * , such that
C max ( π * ) = min π Π C max ( π ) ,
where Π is the set of all feasible solutions. The solution π * is called the optimal solution. In Graham notation, we will denote this problem as F | r ^ i , d ^ i | C max .
We will also consider several special cases of the F | r ^ i , d ^ i | C max problem. When d ^ i = 0 (for all i), we obtain the classic no-idle constraint, i.e., the F | no - idle | C max problem. When d ^ i = , we have only the minimum idle time constraint, denoted as F | r ^ i | C max . When r ^ i = 0 , we have only the maximum idle time, denoted by F | d ^ i | C max . Finally, when both r ^ i = 0 and d ^ i = , then we obtain the classic FSSP, i.e., F | | C max . It should be noted that the results from this paper can be applied to any of those special cases, especially for F | d ^ i | C max and F | r ^ i | C max , for which more specific approaches are not yet formulated.

2.2. Graph Model

One of the classical techniques in scheduling is representing a problem instance (or a solution) as a graph. For Flow Shop problems, both approaches are widely used in a form of disjunctive [38] and solution graphs [39]. The latter can be used e.g., to check solution feasibility or for the goal function evaluation purpose [40]. In this subsection, we will introduce graph G ( π ) , constructed for solution π .
First, let us introduce a solution graph for a classical, non-permutation FSSP, given by G ( π ) = ( V , E 1 E 2 ) , where
V = i M j J { ( i , j ) } ,
E 1 = i M j J { 1 } ( i , j 1 ) , ( i , j ) , E 2 = i M { 1 } j J ( i 1 , I i 1 ( π i ( j ) ) ) , ( i , j ) .
The vertices in V represent operations and will be placed on a grid for an easier visualization. The operation of job j on machine i will be represented by a weighted vertex in j-th “column” and i-th “row”, denoted by ( i , j ) and with weight ρ i , j . The arcs of graph G ( π ) are weightless and represent problem constraints ( E 1 represents machine constraints, and E 2 —technological constraints). Finally, the length of the longest path to vertex ( i , j ) equals C i , j . Length of the path is defined in this paper as a sum of weights of its vertices and arcs. Thus, the value of the makespan C max ( π ) is equal to the length of the longest path in the graph G ( π ) (critical path). We denote length of a path c by len ( c ) .
We will now move onto extended graph G ( π ) . To reflect minimum idle times in the graph, we will use the same technique as for setup times [40]. Each arc ( ( i , j ) , ( i , j + 1 ) ) in E 1 now has a weight of r ^ i . Secondly, we will introduce another set of arcs, to reflect maximum idle time [37]
E 3 = i M j J { n } ( i , j + 1 ) , ( i , j ) .
Any “return” arc ( ( i , j + 1 ) , ( i , j ) ) in E 3 , has weight D ^ i , j , defined as
D ^ i , j = ρ i , j ρ i , j + 1 d ^ i .
A structure of graph G ( π ) for the solution π from Example 1 is shown in Figure 2. For more readability, arcs from sets E 1 , E 2 and E 3 are marked in green solid, blue dashed, and red dotted lines, respectively:

3. Problem Properties

In this section, we will discuss several properties for the F | r ^ i , d ^ i | C max problem including: feasibility of solutions, computational complexity of determining the goal function, and an elimination property based on blocks.
Property 1.
For any solution π Π , the solution graph G ( π ) for F | r ^ i , d ^ i | C max does not contain cycles of positive length.
Proof. 
Let us notice that graph G ( π ) does not contain arcs going “upwards” (i.e., no arcs from vertex ( i , j ) to ( k , j ) for k < i ). Thus, cycles can only be created with the use of “horizontal” arcs.
Let us consider a cycle consisting of two adjacent vertices ( i , j ) and ( i , j + 1 ) . Those vertices have weights ρ i , j and ρ i , j + 1 , while the arcs connecting them have weights r ^ j and D ^ i , j = ρ i , j ρ i , j + 1 d ^ i . After adding the weights together, the length of such a cycle is equal to r ^ j d ^ i 0 .
Now, let us generalize this result to cycles consisting of k > 2 subsequent vertices in one “row”. Such a cycle contains (for some i and j) vertices from ( i , j ) to ( i , j + k 1 ) , as well as k 1 “forward” arcs with weights r ^ j and k 1 “return” arcs. Let us now compute the length of such a cycle. Without loss of generality, we can assume that the cycle begins in vertex ( i , j + k 1 ) . Let us consider the inner vertices of this cycle i.e., vertices from ( i , j + 1 ) to ( i , j + k 2 ) . Let ( i , c ) denote one such inner vertex. We pass each vertex ( i , c ) twice during the cycle, thus adding weight 2 ρ i , c to the cycle length. Moreover, when passing through vertex ( i , c ) , we add the weight ρ i , c twice: once from “return” arc ending at ( i , c ) and once from “return” arc starting at ( i , c ) . Thus, so far, the cycle length is 0, as all weights 2 ρ i , c and 2 ρ i , c add up to 0.
The above is thus equal to a situation where vertices ( i , j + 1 ) to ( i , j + k 2 ) have weights 0 and “return” arcs have only term d ^ i in their weight. The only exceptions are the “return” arc starting at vertex ( i , j + k 1 ) and the “return” arc ending at vertex ( i , j ) . Those two arcs still have the terms ρ i , j + k 1 and ρ i , j in their weights, respectively. However, it is easy to see that those two terms will be negated by the weights of vertices ( i , j ) and ( i , j + k 1 ) as we pass those vertices only once during the cycle. Thus, we can compute the cycle length as if all cycle vertices had weights 0 and its “return” arcs had weights with term d ^ i only. The cycle length is then ( k 1 ) ( r ^ i d ^ i ) 0 . □
Therefore, all cycles in G ( π ) are of non-positive length. When computing the value of the makespan, we can ignore those cycles as per the following observation.
Corollary 1.
For any solution π, if solution graph G ( π ) for the F | r ^ i , d ^ i | C max problem contains a path p with length len ( p ) such that p contains a cycle, then G ( π ) also contains a path P without a cycle, such that:
len ( P ) len ( p ) .
Thus, if a path p in G ( π ) contains a cycle, then either: (1) it is not the longest path in G ( π ) (at least one cycle in p has negative length) or (2) we can construct another path starting and ending at the same vertices and with the same length as p, but not containing a cycle (all cycles in p have length 0).
We will now present the algorithm for determining the left-shifted feasible schedule S (and thus the makespan C max ), based on the solution π . We will also provide the computational complexity of this algorithm.
Theorem 1.
For any solution π, there exists a feasible left-shifted schedule S for the F | r ^ i , d ^ i | C max problem. Moreover, the value C max ( π ) for the schedule S can be determined in time O ( n m ) .
Proof. 
The proof is based on Algorithm 1. Here, we will describe it, including its computational complexity. The algorithm consists of m phases. In phase i, we determine the completion times for all operations on machine i. Every time a completion time C i , j is computed or updated, we also set S i , j = C i , j ρ i , j . By doing so, we met the constraint (1) at all times throughout the algorithm.
Algorithm 1: Constructing left-shifted schedule.
Applsci 11 04425 i001
Phase 1 corresponds to lines 1–3 of the algorithm. In line 1, we set C i , j = ρ 1 , 1 , since the first operation on the first machine has no constraints. Then, in lines 2 and 3, we set completion times for subsequent remaining operations on this machine. Constraints (2) and (3) for this machine will be met because d ^ 1 r ^ 1 and operations on machine 1 have no technological predecessors. The schedule on machine 1 is thus set, feasible and left-shifted, as scheduling any operation earlier would violate either the left side of constraint (2) or make S 1 , 1 a negative number. From the pseudocode, it is also easy to see that this phase is computed in time O ( n ) .
Let us now consider phases i > 1 (lines 4 to 9). We always complete phase i before starting phase i + 1 (line 4). Each such phase is executed in a similar manner. First, in line 5, we tentatively set C i , 1 , similarly to line 1, except we also consider the technological predecessor of that operation. Then, in lines 6–7, we tentatively set completion times of subsequent operations, taking into account technological predecessor, machine predecessor, and minimal idle time r ^ i .
By now, the only constraint operations on machine i might still violate is the right side of constraint (2). In order to mitigate that, in lines 8–9, we perform similar operation to lines 6–7, but in reverse order (from operation n 1 down to 1). In particular, if C i , j and C i , j + 1 are such that the right side of constraint (2) is violated, then we shift C i , j to the right just enough to meet the constraint, after which the value of C i , j is final. During this procedure, some of the operations might be rescheduled to start later, thus this change will not violate any constraints. Moreover, now the constraint (2) is guaranteed to hold.
The schedule on machine i is thus feasible and left-shifted. Indeed, if no operation was shifted to be scheduled later during the correction procedure, then we cannot shift any operation to schedule earlier because this would violate either the left side of constraint (2) or constraint (3). Similarly, if an operation was shifted during the correction, then the shift was the smallest that met the right side of constraint (2). Any smaller shift would create infeasible schedule, so shifting the operation to start any earlier is not possible.
We also see from the pseudocode that each phase i > 1 can by completed in time O ( n ) . Thus, all m phases can be computed in time O ( n m ) , allowing us to obtain a feasible left-shifted schedule for any π with C max = C m , n . □
From the above theorem, it follows that all solutions π are feasible. However, we will show that some of the feasible solutions can be disregarded. Particularly, many solving methods use the concept of a move. For example, we can define the swap move for the F | r ^ i , d ^ i | C max problem as follows:
π = swap ( π , i , j , k ) ,
where solution π is created from π by swapping together values of π i ( j ) and π i ( k ) . The solution π will be called the neighbor of solution π . Similarly, the set of all solutions created from π by this move will be called the neighborhood of π .
We will now formulate an elimination property showing that some moves do not result in immediate improvement of the makespan, similarly to existing elimination properties for the Job Shop Scheduling problem [41]. Let us start with the definition of a block. A sequence of operations B = ( b 1 , b 2 , , b c ) for c > 0 will be called a block if and only if:
  • All operations from B are on the same critical path.
  • Operations from B are performed subsequently on the same machine i.
  • Operations from B are processed on i in the order of their appearance in B.
  • The length of B is maximum i.e., operations from i that are directly before or after B cannot be included in it without violating the first three conditions.
Moreover, for block B = ( b 1 , b 2 , b 3 , , b c 2 , b c 1 , b c ) of c > 2 operations, we define its inner block as sequence B = ( b 2 , b 3 , , b c 2 , b c 1 ) .
Let block B = ( b 1 , b 2 , , b c ) be part of critical path K. Then, B is called a right-side block (or R-block) if the first operation from B on K is b 1 . Similarly, B will be called a left-side block (or L-block) if the first operation from B on K is b c .
Example 2.
Consider the FSSP instance for n = 5 , m = 3 from Table 2. Let us assume the order of jobs π = ( ( 1 , 2 , 3 , 4 , 5 ) ,   ( 2 , 1 , 4 , 3 , 5 ) ,   ( 2 , 1 , 3 , 5 , 4 ) ) . Solution graph G ( π ) for this example is shown in Figure 3 with the critical path shown in bolded red. This critical path is composed of three blocks (one for each machine). On the first machine, we have a 4-operation R-block beginning at operation ( 1 , 1 ) and ending at operation ( 1 , 4 ) . On the second machine, we have an L-block of size 3 starting at operation ( 2 , 3 ) and going back to operation ( 2 , 1 ) . Finally, on the last machine, we again have an R-block which runs through all five operations of that machine. Let us also note that the sizes of the inner blocks are 2, 1, and 3, respectively. The left-shifted schedule for solution π, with C max = 26 , is shown as a Gantt chart in Figure 4.
With the concept of blocks and inner blocks defined, we can formulate the block elimination property for the F | r ^ i , d ^ i | C max problem.
Theorem 2.
Let π = ( π 1 , π 2 , , π m ) be a solution to the F | r ^ i , d ^ i | C max problem and let B = ( b 1 , b 2 , , b c ) , c > 2 be a block on a critical path K in G ( π ) consisting of operations from machine i. Next, let π be a solution created from π by swapping any pair of operation from inner block of B i.e.,:
π = swap ( i , j , k ) j , k { b 2 , b 3 , , b c 2 , b c 1 } ,   j k ,
then:
C max ( π ) C max ( π ) .
Proof. 
Due to Property 1 and Corollary 1, there is at least one cycle-free critical path that contains the block B. We arbitrarily choose one of such paths to be our critical path K.
It follows that the critical path travels through block B in one direction (the critical path does not change direction in the middle of B). Thus, B is either an L-block or an R-block and we need to prove the elimination property for both types of blocks.
Let us notice that the “downwards” arc entering B from the previous machine (if i > 1 ) always enters B either at the beginning (at operation b 1 ) or at the end (at operation b c ) of B, making the B and R- and L-block, respectively. The same happens for the arc exiting the block “downwards” onto the next machine (for i < m ): that arc exits from b 1 for an L-block and and from b c for an R-block.
Let us assume that operations ( b 1 , b 2 , , b c ) of B are operations from jobs j , j + 1 , , k 1 , k , respectively. Let α and γ be the lengths of the longest paths ending and starting at vertex ( i , j ) , without the weight of that vertex. Similarly, let β and δ be the lengths of the longest path ending and starting at vertex ( i , k ) without the weight of that vertex. The relevant part of graph G ( π ) , including block B and paths α , β , γ and δ is shown in Figure 5.
Let us start with the R-block case. The length of the critical path will be:
α + ρ i , j + ρ i , j + 1 + + ρ i , k 1 + ρ i , k + r ^ i ( k j ) r ^ i + δ .
The inner block for B is B = ( b 2 , b 3 , , b c 1 ) . Now, let us consider swapping any two operations b x , b y B , with x y . Such a swap will not affect the lengths of paths α and δ . It will also not change values ρ i , j and ρ i , k , as vertices ( i , j ) and ( i , k ) are outside of the inner block. Values r ^ i are unaffected as well. The swap of operations b x and b y will change the order of the values ρ i , j + 1 through ρ i , k 1 , but their sum will remain unchanged. The length of the considered critical path will thus remain the same. Thus, graph G ( π ) will contain a path with the length at least as large as the length of path K in G ( π ) and in conclusion:
C max ( π ) C max ( π ) .
Now, let us consider the L-block case. The length of the critical path is then:
β + ρ i , j + ρ i , j + 1 + + ρ i , k 1 + ρ i , k + D ^ i , j + D ^ i , j + 1 + + D ^ i , k 1 + γ .
Once again, we consider swapping operations b x and b y from inner block of B. The length of paths β and γ does not change, similar to weights of vertices ( i , j ) and ( i , k ) because they are outside the inner block. The swapping of b x and b y will also not affect the sum of weights of vertices ( i , j + 1 ) to ( i , k 1 ) as they will all still be a part of the inner block after the swap, just in a different order.
All that is left to consider are the arc weights D ^ i , j through D ^ i , k 1 . Part of those weights are the d ^ i terms which will not change as they are independent from solution π (or π ). Values ρ i , j and ρ i , k that are part of weights D ^ i , j and D ^ i , k 1 will not change because they are dependent on weights of vertices ( i , j ) and ( i , k ) , which were unaffected by the swap. The last remaining contribution to weights D ^ i , z for z from j through k 1 are the values ρ i , z and ρ i , z + 1 . Those values are dependent on vertex ( i , z ) and its weight of ρ i , z . However, we know that all weights ρ i , z will remain in the inner block (just changing their order). Thus, the operation swap will not change their total contribution into weights D ^ i , z , and the final sum of weights D ^ i , j through D ^ i , k 1 does not change.
As a result, the graph G ( π ) will contain a path of the length the same as critical path K in G ( π ) , thus:
C max ( π ) C max ( π ) .
 □
The above theorem proves that the swapping of operations in an inner block will not result in an immediate improvement of C max . It is similar for the swapping of operations outside of the block (they lie outside of the critical path). Thus, the most promising option is to perform a swapping move where one operation is from the inner block and one is outside of it.

4. Solving Methods

In this section, we will propose three methods for solving the F | r ^ i , d ^ i | C max problem: a Branch and Bound ( B & B ) method, as well as Tabu Search (TS) and Genetic Algorithm (GA) metaheuristics. Due to its ability to obtain an optimal solution, the B&B method will be used as a reference for evaluating the quality of the TS method for smaller instances. Similarly, GA will serve as a baseline comparison to TS for larger instances.

4.1. Branch and Bound

Branch and Bound ( B & B ) [19] is an exact method using lower and upper bounds to skip parts of the solution space that cannot contain the optimal solution. Our implementation is based on a priority queue Q of nodes. Each queue element ν contains a partial solution ( ν π ), the machine on which a current algorithm branch is executing ( ν L ), a set ν N of jobs not yet scheduled on this machine, and the lower bound L B ( ν ) .
The branching method is similar to the one used for the Job Shop Scheduling Problem [42]: first, we consider all jobs on the current permutation level before proceeding to the next one, avoiding having to process the same node twice. If ν L = m and ν N = , then ν is a leaf element ( ν π contains a full solution), and we compute makespan C m a x . If the resulting value is better than the best-known solution so far, then we update the current upper bound UB . The initial UB is generated by an NEH-like [21] greedy heuristic. The lower bound LB for node is computed as follows:
L B ( ν ) = max i M PRV + j SET ( r ^ i + p i , j ) + k = i + 1 m min j J p k , j ,
where:
PRV = C i , Ω i ( ν π ) if Ω i ( ν π ) > 0 , C i 1 , 1 if Ω i ( ν π ) = 0 i > 1 , 0 if Ω i ( ν π ) = 0 i = 1 , SET = if i < ν L , ν N if i = ν L , J otherwise .
and Ω i ( ν π ) is the last job scheduled on machine i in partial solution ν π . The algorithm stops either when Q becomes empty or the best node on Q is worse than current UB .

4.2. Tabu Search

Tabu search (or TS) is one of the most well-known local search metaheuristics [23]. In each iteration, we search the neighborhood of the current solution. The neighborhood N ( π ) of solution π is defined as all solutions π that can be obtained from π by applying a pre-defined move function. In our implementation, we considered three types of moves:
  • Swap move S ( π , i , j , k ) . Neighboring solution π is obtained by swapping together values π i ( j ) and π i ( k ) , where i M , j J , k J { j } . This neighborhood has exactly n ( n 1 ) 2 m solutions.
  • Adjacent swap move A ( π , i , j ) . Neighboring solution π is obtained by swapping together values π i ( j ) and π i ( j + 1 ) , where i M , j J { n } . This neighborhood has exactly ( n 1 ) m solutions.
  • Block swap move B ( i , j , k ) . This move is similar to S ( π , i , j , k ) , except it takes into account the results of Theorem 2. Specifically, if B i is an inner block on machine i, then the move is only performed when either j B i k B i or j B i k B i . The size of this neighborhood is dynamic, based on on the size of blocks in π , but its size is between the sizes of neighborhoods generated by moves A and S with n 2 m 8 solutions on average.
Let us also note that all of the above move types are involutions.
Example 3.
Let us consider the solution from the graph in Figure 3 for n = 5 and m = 3 . For the adjacent swap move, the neighborhood size is 12. This is because we swap only adjacent operations; thus, on the first machine, we can swap operation 1 with 2, 2 with 3, 3 with 4 or 4 with 5. This can be applied to any machine, hence 3 × 4 = 12 possible moves. In the case of the swap move, for each of five machine operations, we can swap it with any of the remaining four operations, yielding 20 possible swaps on machine and 60 moves in total. Finally, for the block swap move, the number of possible swap moves on machine i is given as ( c i 2 ) ( n c i + 2 ) , for c i > 2 and 0 for c i 2 , where c i is the size of the block on machine i. This is because we can swap any operation from the inner block (which has size c i 2 ) with any operation out of the inner block (which means n ( c i 2 ) = n c i + 2 operations). In our example, the block sizes are 4, 3, and 5, which yields 6 + 4 + 6 = 16 possible swap moves.
In each iteration i of the TS algorithm, we generate the neighborhood of the current solution x i (according to the chosen move type) and then evaluate (i.e., compute C max ) all resulting solutions. The best of those solutions will become the current solution in the next iteration ( x i + 1 ) . In addition, if the best neighbor x N is better then the best known global solution x g , we replace x g with x N . The initial solution ( x 1 ) is either random or generated using a simple greedy heuristic.
One of the well-known drawbacks of such neighborhood search strategy is that the algorithm quickly reaches a local optimum and a cycle of solutions is repeated indefinitely. In order to alleviate this, the TS metaheuristic has a short-term memory, usually called tabu list, which is used to define which moves are forbidden (or tabu). Solutions obtained by forbidden moves are generally ignored when choosing x N . One exception to this rule is when the forbidden neighbor improves x g ; such a neighbor can be chosen as x N , despite being forbidden.
When the move is performed, we store its attributes i , j and k on the tabu list for the subsequent C iterations, where C is a parameter called cadence. Moreover, we implemented the tabu list as a three-dimensional matrix. This allowed us to perform all tabu list operations in time O ( 1 ) . Finally, even with the tabu list in place, the algorithm can still enter a cycle. Thus, we restart TS (by setting current solution to randomly generated) after K subsequent iterations did not improve x g , where K is a TS parameter.
Due to different neighborhood size, value C was set separately for each neighborhood type: n m for swap, n m for adjacent swap and n m / 2 for block swap. After preliminary research, the value K was set to 20.

4.3. Genetic Algorithm

In order to better verify the effectiveness of our approach, we have decided to use an available general (i.e., not relying on any specific block properties) computation framework, which could serve as a “baseline” compared to our approach. In particular, we have chosen Distributed Evolutionary Algorithms in Python (DEAP) [43], which is used, among others, to implement and run GA methods for a wide class of optimization problems (e.g., [44] or [45]). Moreover, GA is among the most commonly used metaheuristic algorithms for FSSP [2].
While DEAP has many built-in functionalities, such as multi-objective optimisation (NSGA-II, NSGA-III, etc.) or co-evolution of multiple populations, allowing for quick development and prototyping, it does not have the out-of-the-box support for solution representation we needed (sequence of permutations π ). Thus, we needed to implement our own version of the following parts of the algorithm:
  • generation of the initial population—this was done by applying the default DEAP method (random permutation) for all m permutations in π .
  • crossover operator—the operator consisted of applying the pre-defined OX operator to each element in π .
  • mutation operator—the operator consisted of applying the pre-defined Shuffle Indexes operator (which works by applying a simple swap move for each gene with a given probability) to each element in π .
As for the hyperparameters, we used either generic ones used for GA or the ones suggested by the DEAP framework. In particular, crossover and mutation probabilities were set to 0.8 and 0.2 , respectively. The population size was set to 100. We also used tournament selection with tournament size 3.

5. Computer Experiments

In order to verify the effectiveness of the proposed elimination property, we have prepared a set of computer experiments using solving methods described in Section 4 as well as a number of benchmark problem instances.
We will start by describing the benchmark instances. Such benchmarks for basic scheduling problems are available in the literature with one of the most well-known being benchmarks proposed by Taillard [46], which include a set of instances for the FSSP. However, Taillard’s benchmarks do not account for our concept of time couplings. Thus, we have decided to employ our own instance generator, which is based closely on the generator proposed by Taillard. The pseudocode of the instance generation procedure is shown in Algorithm 2. The procedure input is the seed (s), problem size (n and m), and range of processing and coupling times given by lower (L) and upper (U) bounds. Lines 1–4 are identical to basic Taillard’s generator except that Taillard simply assumes L = 1 and U = 99 . Lines 5–12 are used to generate values r ^ i and d ^ i and ensure that r ^ i d ^ i .
Algorithm 2: Instance generation procedure.
Applsci 11 04425 i002
We have prepared two sets of testing instances: A and B. The first set contains instances of small size, which we will use to test the effectiveness of the TS metaheuristic by comparing it to the exact B & B method. The second set contains larger instances meant to represent a more practical setting. For the set B, we employ an approach similar to Taillard’s: there are 12 size groups from 20 × 5 to 500 × 20 , with 10 instances per group. We use the same seeds as the ones proposed by Taillard. However, while Taillard assumed processing times from range 1 to 99 only, we decided to use five groups of processing times and minimum/maximum machine idle times: (1) 1–99, (2) 10–90, (3) 30–70, (4) 40–60, (5) 45–55. Thus, set B contains 12 × 10 × 5 = 600 instances in total.
Our next point of interest is establishing a measure of quality that will allow for comparing instances of different sizes and different goal function values. In our case, that measure is Percentage Relative Deviation ( PRD ). Let π ( I ) be the solution obtained by the considered algorithm for instance I and π * ( I ) be a reference solution for that instance. Then, PRD ( I ) is defined as follows:
P R D ( I ) = C max ( π ( I ) ) C max ( π * ( I ) ) C max ( π * ( I ) ) · 100 % .
In practice, the value of C max ( π * ( I ) ) was either the optimal solution (obtained through the B & B method) or the best known solution (i.e., the best of tested algorithms for that instance) if an optimal solution was not known.
All experiments were conducted on a machine with an AMD Ryzen Threadripper 3990X processor @ 3.8 GHz with 63 GB of RAM using Windows Subystem for Linux. The TS method was written in C++ and compiled with g++ 9.3.0 using the -O3 compilation flag. The GA method was run using Python3 version 3.8.2.
In the first experiment, we compared TS and B & B methods for instance set A. The results are shown in Table 3. For a given instance size, T f is the running time of B & B for subgroup f, with different subgroups having different values of L and U as described earlier. We observe that, while the running time of B & B increases with problem size, it also decreases with the subgroup number. For size group 5 × 5 , the B & B method in subgroup 5 is over 280 times faster than for subgroup 1. This means instances with a smaller range of processing and machine idle times are much easier to solve. We also observe that running times of the TS metaheuristic are much shorter than that of the B & B method, staying under 35 ms. In this test, π * was the solution provided by B & B (i.e., the optimal solution). Thus, the TS metaheuristic on average provided solutions with a makespan under 2.3 % away from optimum even for instances of size 5 × 5 .
For the second experiment, we used instance set B to compare four algorithms against each other. The algorithms are as follows:
  • TS metaheuristic from Section 4 employing the block swap move proposed in this paper.
  • Same as above, but employing the regular swap move.
  • Same as above, but employing the adjacent swap move.
  • The baseline GA metaheuristic from Section 4. Since GA is a probabilistic method, we have run it 10 times. The reported results are averaged over those 10 runs.
The stopping condition in all four cases was a time limit. Moreover, for each instance, C max ( π * ( I ) ) was set to the best makespan found by those four algorithms in the given time limit. The results, averaged over instances for each size group, are shown in Table 4.
We observe that, for five size groups (marked by † in the table), the best solution was always found by the TS method employing the block swap neighborhood. In fact, this method found the best solution out of all four algorithms in 523 out of 600 instances (87.17%). Moreover, PRD for that neighborhood did not exceed 1.65 % , with an average of 0.35 % . The most difficult instances for this neighborhood were the ones with m = 5 . Without those, PRD for that neighborhood generally did not exceed 0.43. The next best algorithm was TS with adjacent swap move, followed by TS with a swap move and then finally by the GA method. However, average PRD values for those last three algorithms were dozens of times larger. These results indicate that the block elimination property from Theorem 2 was a deciding factor, allowing the TS method to outperform its other variants and the baseline GA method in the given time limit. Moreover, the TS method with block neighborhood converged very quickly, obtaining good solutions in under one second for instances of size up to 100 × 10 (1000 operations), meaning 75% of all instances. However, due to average neighborhood size, the total complexity of TS method is O ( n 2 m 2 ) , resulting in longer running times (up to 20 min) for largest instances. However, this is true for the remaining TS variants as well.
To verify the statistical significance of the differences between the performances of the algorithms, a Wilcoxon signed-rank test was used. The results were grouped by the instance sizes, and then the algorithms were compared pairwise for each group. With significance p < 0.05 reported, for the majority of algorithms pairs, H 0 was rejected. The three cases where the hypothesis could not be rejected are:
  • 20 × 5 group, TS with adjacent neighborhood and TS with swap neighborhood;
  • 50 × 5 group, TS with block neighborhood and TS with adjacent neighborhood;
  • 100 × 5 group, TS with block neighborhood and GA.

6. Conclusions and Future Work

In this paper, we considered the non-permutation Flow Shop Scheduling Problem with Time Couplings and makespan criterion, based on a real-life concreting process in industry. We presented a mathematical model and formulated several problem properties based on the graph representation, including the computation of the goal function and its complexity. More importantly, we used the concept of L- and R-blocks to introduce and prove an elimination property. The elimination property allowed for defining a new type of neighborhood, which is smaller than the regular swap neighborhood and contains more promising solutions than the adjacent swap neighborhood. This means that this elimination method can be easily used with a wide class of local-search metaheuristics, which are commonly used to solve large scheduling problems. Examples besides Tabu Search include Simulated Annealing and Genetic Algorithms (which often uses neighborhoods to implement mutations). Neighborhoods can be also introduced into other metaheuristics (e.g., Artificial Bee Colony).
We proposed three solving methods: an exact Branch and Bound approach as well as Tabu Search and Genetic Algorithm metaheuristics. Computer experiments on Taillard instances showed low (under 2.3 % for smaller instances) values of deviation from the optimum for the Tabu Search approach and a high influence of processing and machine idle times on running time of the Branch and Bound method. Furthermore, the results showed the Tabu Search method with a neighborhood employing the proposed block property outperforms the two non-block neighborhoods and the Genetic Algorithm in solution quality and convergence speed, allowing for obtaining high-quality solutions in seconds. In practice, tighter schedules obtained using our Tabu Search could allow for less costs and less waste, at the same time ensuring that the equipment is properly used. It is especially important in the context of the concreting process, as incorrect mixing times can lead to potential equipment damage or poor concrete quality.
In future research, the proposed approach can be extended to formulate properties for other scheduling problems with time couplings. In particular, both the Job Shop Scheduling Problem and the permutation variant of the Flow Shop Scheduling Problem seem promising, as those two problems are commonly considered in practice. Secondly, the solving method itself can be upgraded. The Tabu Search algorithm we presented in this paper was meant mainly to illustrate the viability and benefits of our approach and can be further improved or interchanged entirely for a different metaheuristic. For example, a promising research direction would be to investigate a procedure for a fast computation of the goal function (via a dedicated accelerator) or a fast neighborhood browsing (via parallel computing) in which both can be used with virtually any underlying local-search based algorithm. These and other improvements would result in a state-of-the-art method, viable for commercial use.

Author Contributions

Conceptualization, R.I. and J.R.; formal analysis: A.G.; methodology, R.I. and J.R.; software, R.I. and J.R; validation, A.G.; investigation, R.I.; resources, R.I., J.R. and A.G.; data curation, R.I., J.R. and A.G.; writing—original draft preparation, R.I., J.R. and A.G.; writing—review and editing, R.I., J.R. and A.G.; visualization, R.I., J.R.; supervision, J.R.; funding acquisition, R.I. and A.G. All authors have read and agreed to the published version of the manuscript.

Funding

The paper was partially supported by the National Science Centre of Poland, grant OPUS no. 2017/25/B/ST7/02181.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Potts, C.N.; Shmoys, D.B.; Williamson, D.P. Permutation vs. non-permutation flow shop schedules. Oper. Res. Lett. 1991, 10, 281–284. [Google Scholar] [CrossRef] [Green Version]
  2. Rossit, D.A.; Tohmé, F.; Frutos, M. The Non-Permutation Flow-Shop scheduling problem: A literature review. Omega 2018, 77, 143–153. [Google Scholar] [CrossRef]
  3. Bożejko, W.; Smutnicki, C.; Uchroński, M.; Wodecki, M. Cyclic Two Machine Flow Shop with Disjoint Sequence-Dependent Setups. In Modelling and Performance Analysis of Cyclic Systems; Bożejko, W., Bocewicz, G., Eds.; Springer International Publishing: Cham, Switzerland, 2020; pp. 31–47. [Google Scholar] [CrossRef]
  4. Bożejko, W.; Gnatowski, A.; Idzikowski, R.; Wodecki, M. Cyclic flow shop scheduling problem with two-machine cells. Arch. Control. Sci. 2017, 27, 151–167. [Google Scholar] [CrossRef] [Green Version]
  5. Faraji Amiri, M.; Behnamian, J. Multi-objective green flowshop scheduling problem under uncertainty: Estimation of distribution algorithm. J. Clean. Prod. 2020, 251, 119734. [Google Scholar] [CrossRef]
  6. Smutnicki, C.; Pempera, J.; Rudy, J.; Żelazny, D. A new approach for multi-criteria scheduling. Comput. Ind. Eng. 2015, 90, 212–220. [Google Scholar] [CrossRef]
  7. Chen, T.L.; Cheng, C.Y.; Chou, Y.H. Multi-objective genetic algorithm for energy-efficient hybrid flow shop scheduling with lot streaming. Ann. Oper. Res. 2020, 290, 813–836. [Google Scholar] [CrossRef]
  8. Jain, H.; Deb, K. An Evolutionary Many-Objective Optimization Algorithm Using Reference-Point Based Nondominated Sorting Approach, Part II: Handling Constraints and Extending to an Adaptive Approach. IEEE Trans. Evol. Comput. 2014, 18, 602–622. [Google Scholar] [CrossRef]
  9. Xu, W.J.; He, L.J.; Zhu, G.Y. Many-objective flow shop scheduling optimisation with genetic algorithm based on fuzzy sets. Int. J. Prod. Res. 2021, 59, 702–726. [Google Scholar] [CrossRef]
  10. Deb, K.; Jain, H. An Evolutionary Many-Objective Optimization Algorithm Using Reference-Point-Based Nondominated Sorting Approach, Part I: Solving Problems With Box Constraints. IEEE Trans. Evol. Comput. 2014, 18, 577–601. [Google Scholar] [CrossRef]
  11. Chang, C.S.; Kwan, C.M. Evaluation of evolutionary algorithms for multi-objective train schedule optimization. Lecture Notes in Artificial Intelligence (Subseries of Lecture Notes in Computer Science); Springer: Berlin/Heidelberg, Germany, 2004; Volume 3339, pp. 803–815. [Google Scholar] [CrossRef]
  12. Kang, P.S.; Bhatti, R.S. Continuous process improvement implementation framework using multi-objective genetic algorithms and discrete event simulation. Bus. Process. Manag. J. 2019, 25, 1020–1039. [Google Scholar] [CrossRef] [Green Version]
  13. Vinyals, O.; Fortunato, M.; Jaitly, N. Pointer Networks. In Proceedings of the 28th International Conference on Neural Information Processing Systems; MIT Press: Cambridge, MA, USA, 2015; Volume 2, pp. 2692–2700. [Google Scholar]
  14. Concorde TSP Solver. Available online: http://www.math.uwaterloo.ca/tsp/concorde/ (accessed on 12 May 2021).
  15. Deudon, M.; Cournut, P.; Lacoste, A.; Adulyasak, Y.; Rousseau, L.M. Learning Heuristics for the TSP by Policy Gradient; CPAIOR-18; Springer: Berlin/Heidelberg, Germany, 2018; pp. 170–181. [Google Scholar]
  16. Kool, W.; van Hoof, H.; Welling, M. Attention, Learn to Solve Routing Problems! ICLR 2019; OpenReview: New Orleans, LA, USA, 2019. [Google Scholar]
  17. Milan, A.; Rezatofighi, S.H.; Garg, R.; Dick, A.R.; Reid, I.D. Data-Driven Approximations to NP-Hard Problems. In Proceedings of the Thirty-First AAAI Conference on Artificial Intelligence (AAAI 2017), San Francisco, CA, USA, 4–9 February 2017; pp. 1453–1459. [Google Scholar]
  18. Bouška, M.; Novák, A.; Šůcha, P.; Módos, I.; Hanzálek, Z. Data-driven Algorithm for Scheduling with Total Tardiness. In Proceedings of the 9th International Conference on Operations Research and Enterprise Systems (ICORES 2020), Valletta, Malta, 22–24 February 2020; pp. 59–68. [Google Scholar] [CrossRef]
  19. Gmys, J.; Mezmaz, M.; Melab, N.; Tuyttens, D. A computationally efficient Branch-and-Bound algorithm for the permutation flow-shop scheduling problem. Eur. J. Oper. Res. 2020, 284, 814–833. [Google Scholar] [CrossRef] [Green Version]
  20. Dhouib, E.; Teghem, J.; Loukil, T. Non-permutation flowshop scheduling problem with minimal and maximal time lags: Theoretical study and heuristic. Ann. Oper. Res. 2018, 267, 101–134. [Google Scholar] [CrossRef]
  21. 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]
  22. Ruiz, R.; Stützle, T. An Iterated Greedy heuristic for the sequence dependent setup times flowshop problem with makespan and weighted tardiness objectives. Eur. J. Oper. Res. 2008, 187, 1143–1159. [Google Scholar] [CrossRef]
  23. 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]
  24. Rudy, J. Cyclic Scheduling Line with Uncertain Data. In Lecture Notes in Computer Science (Including Subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics); Springer International Publishing: Berlin/Heidelberg, Germany, 2016; pp. 311–320. [Google Scholar] [CrossRef]
  25. Luo, J.; Fujimura, S.; El Baz, D.; Plazolles, B. GPU based parallel genetic algorithm for solving an energy efficient dynamic flexible flow shop scheduling problem. J. Parallel Distrib. Comput. 2019, 133, 244–257. [Google Scholar] [CrossRef] [Green Version]
  26. Bożejko, W.; Rudy, J.; Idzikowski, R. Parallel Computing for the Non-permutation Flow Shop Scheduling Problem with Time Couplings Using Floyd-Warshall Algorithm. In Performance Evaluation Models for Distributed Service Networks; Bocewicz, G., Pempera, J., Toporkov, V., Eds.; Springer International Publishing: Cham, Switzerland, 2021; pp. 1–19. [Google Scholar] [CrossRef]
  27. 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]
  28. Andrade, C.E.; Silva, T.; Pessoa, L.S. Minimizing flowtime in a flowshop scheduling problem with a biased random-key genetic algorithm. Expert Syst. Appl. 2019, 128, 67–80. [Google Scholar] [CrossRef]
  29. Pan, Q.K.; Ruiz, R. An effective iterated greedy algorithm for the mixed no-idle permutation flowshop scheduling problem. Omega 2014, 44, 41–50. [Google Scholar] [CrossRef] [Green Version]
  30. Zhao, F.; Zhang, L.; Zhang, Y.; Ma, W.; Zhang, C.; Song, H. A hybrid discrete water wave optimization algorithm for the no-idle flowshop scheduling problem with total tardiness criterion. Expert Syst. Appl. 2020, 146, 113166. [Google Scholar] [CrossRef]
  31. Rossi, F.L.; Nagano, M.S. Heuristics for the mixed no-idle flowshop with sequence-dependent setup times and total flowtime criterion. Expert Syst. Appl. 2019, 125, 40–54. [Google Scholar] [CrossRef]
  32. Grabowski, J.; Pempera, J. Some local search algorithms for no-wait flow-shop problem with makespan criterion. Comput. Oper. Res. 2005, 32, 2197–2212. [Google Scholar] [CrossRef]
  33. Engin, O.; Güçlü, A. A new hybrid ant colony optimization algorithm for solving the no-wait flow shop scheduling problems. Appl. Soft Comput. 2018, 72, 166–176. [Google Scholar] [CrossRef]
  34. Wu, X.; Che, A. Energy-efficient no-wait permutation flow shop scheduling by adaptive multi-objective variable neighborhood search. Omega 2020, 94, 102117. [Google Scholar] [CrossRef]
  35. Santosa, B.; Siswanto, N.; Fiqihesa. Discrete particle swarm optimization to solve multi-objective limited-wait hybrid flow shop scheduling problem. In Proceedings of the International Conference on Industrial and Systems Engineering (IConISE 2017), Denpasar, Bali, Indonesia, 29–30 August 2017; p. 012006. [Google Scholar] [CrossRef] [Green Version]
  36. Della Croce, F.; Grosso, A.; Salassa, F. Minimizing total completion time in the two-machine no-idle no-wait flow shop problem. J. Heuristics 2019, 1–15. [Google Scholar] [CrossRef]
  37. Bożejko, W.; Idzikowski, R.; Wodecki, M. Flow Shop Problem with Machine Time Couplings. In Advances in Intelligent Systems and Computing; Zamojski, W., Mazurkiewicz, J., Sugier, J., Walkowiak, T., Kacprzyk, J., Eds.; Springer International Publishing: Cham, Switzerland, 2020; Volume 987, pp. 80–89. [Google Scholar]
  38. Özgüven, C.; Özbakır, L.; Yavuz, Y. Mathematical models for job-shop scheduling problems with routing and process plan flexibility. Appl. Math. Model. 2010, 34, 1539–1548. [Google Scholar] [CrossRef]
  39. Nowicki, E.; Smutnicki, C. A fast tabu search algorithm for the permutation flow-shop problem. Eur. J. Oper. Res. 1996, 91, 160–175. [Google Scholar] [CrossRef]
  40. Bożejko, W.; Gniewkowski, L.; Pempera, J.; Wodecki, M. Cyclic Hybrid Flow-shop Scheduling Problem with Machine Setups. Procedia Comput. Sci. 2014, 29, 2127–2136. [Google Scholar] [CrossRef] [Green Version]
  41. Nowicki, E.; Smutnicki, C. A Fast Taboo Search Algorithm for the Job Shop Problem. Manag. Sci. 1996, 42, 797–813. [Google Scholar] [CrossRef]
  42. Brucker, P.; Jurisch, B.; Sievers, B. A branch and bound algorithm for the job-shop scheduling problem. Discret. Appl. Math. 1994, 49, 107–127. [Google Scholar] [CrossRef] [Green Version]
  43. Fortin, F.A.; De Rainville, F.M.; Gardner, M.A.; Parizeau, M.; Gagné, C. DEAP: Evolutionary Algorithms Made Easy. J. Mach. Learn. Res. 2012, 13, 2171–2175. [Google Scholar]
  44. Ribaric, T.; Houghten, S. Genetic programming for improved cryptanalysis of elliptic curve cryptosystems. In Proceedings of the 2017 IEEE Congress on Evolutionary Computation (CEC 2017), Donostia, Spain, 5–8 June 2017; pp. 419–426. [Google Scholar] [CrossRef]
  45. Ellefsen, K.O.; Lepikson, H.A.; Albiez, J.C. Multiobjective Coverage Path Planning: Enabling Automated Inspection of Complex, Real-World Structures. Appl. Soft Comput. J. 2019, 61, 264–282. [Google Scholar] [CrossRef] [Green Version]
  46. Taillard, E. Benchmarks for basic scheduling problems. Eur. J. Oper. Res. 1993, 64, 278–285. [Google Scholar] [CrossRef]
Figure 1. The left-shifted schedule for the instance from Example 1 and π = ( ( 1 , 2 , 3 , 4 , 5 ) , ( 2 , 4 , 3 , 5 , 1 ) ,   ( 1 , 2 , 3 , 5 , 4 ) ) .
Figure 1. The left-shifted schedule for the instance from Example 1 and π = ( ( 1 , 2 , 3 , 4 , 5 ) , ( 2 , 4 , 3 , 5 , 1 ) ,   ( 1 , 2 , 3 , 5 , 4 ) ) .
Applsci 11 04425 g001
Figure 2. Example of graph G ( π ) for solution π = ( ( 1 , 2 , 3 , 4 , 5 ) ,   ( 2 , 4 , 3 , 5 , 1 ) ,   ( 1 , 2 , 3 , 5 , 4 ) ) from Example 1.
Figure 2. Example of graph G ( π ) for solution π = ( ( 1 , 2 , 3 , 4 , 5 ) ,   ( 2 , 4 , 3 , 5 , 1 ) ,   ( 1 , 2 , 3 , 5 , 4 ) ) from Example 1.
Applsci 11 04425 g002
Figure 3. Solution graph for the instance from Example 2 and π = ( ( 1 , 2 , 3 , 4 , 5 ) , ( 2 , 1 , 4 , 3 , 5 ) ,   ( 2 , 1 , 3 , 5 , 4 ) ) .
Figure 3. Solution graph for the instance from Example 2 and π = ( ( 1 , 2 , 3 , 4 , 5 ) , ( 2 , 1 , 4 , 3 , 5 ) ,   ( 2 , 1 , 3 , 5 , 4 ) ) .
Applsci 11 04425 g003
Figure 4. The left-shifted schedule for the instance from Example 2 and π = ( ( 1 , 2 , 3 , 4 , 5 ) , ( 2 , 1 , 4 , 3 , 5 ) ,   ( 2 , 1 , 3 , 5 , 4 ) ) .
Figure 4. The left-shifted schedule for the instance from Example 2 and π = ( ( 1 , 2 , 3 , 4 , 5 ) , ( 2 , 1 , 4 , 3 , 5 ) ,   ( 2 , 1 , 3 , 5 , 4 ) ) .
Applsci 11 04425 g004
Figure 5. A general structure of L- and R-blocks.
Figure 5. A general structure of L- and R-blocks.
Applsci 11 04425 g005
Table 1. Problem instance from Example 1 for n = 5 and m = 3 .
Table 1. Problem instance from Example 1 for n = 5 and m = 3 .
a p a , 1 p a , 2 p a , 3 p a , 4 p a , 5 r ^ a d ^ a
12121315
21212112
32232100
Table 2. Problem instance from Example 2 for n = 5 and m = 3 .
Table 2. Problem instance from Example 2 for n = 5 and m = 3 .
a p a , 1 p a , 2 p a , 3 p a , 4 p a , 5 r ^ a d ^ a
12142313
21212112
32421222
Table 3. Average running times T (in seconds) and average PRD (in percent) for instances from groups 1–5 and set A. No PRD is reported for B&B, as it is an exact method.
Table 3. Average running times T (in seconds) and average PRD (in percent) for instances from groups 1–5 and set A. No PRD is reported for B&B, as it is an exact method.
n × m Branch & BoundTabu Search
T 1 T 2 T 3 T 4 T 5 T PRD  
4 × 4 0.540.160.070.050.050.0040.54
4 × 5 1.710.770.100.070.070.0100.58
5 × 4 46.3318.132.150.500.510.0151.28
5 × 5 213.5665.611.370.850.750.0342.30
Averaged over all instance groups 1–5 (the differences were insignificant).
Table 4. Average PRD and running times T for the TS method with block swap, adjacent swap, and swap neighborhoods as well as the GA method for instances from set B.
Table 4. Average PRD and running times T for the TS method with block swap, adjacent swap, and swap neighborhoods as well as the GA method for instances from set B.
0 n × m | O | PRD [ % ] T [ s ]
TS
(Block)
TS
(Adjacent)
TS
(Swap)
GA
20 × 5 1000.5212.0412.0220.950.00
20 × 10 2000.00 15.2918.5826.490.00
20 × 20 4000.00 09.4811.8316.280.02
50 × 5 2501.591.5111.7221.920.02
50 × 10 5000.431.4811.7116.760.10
50 × 20 10000.062.9510.2012.830.57
100 × 5 5001.6508.1213.131.870.14
100 × 10 10000.003.6110.819.300.97
100 × 20 20000.00 7.089.3111.1710.72
200 × 20 40000.00 4.719.9511.4360.42
500 × 20 10,0000.00 6.628.108.431201.58
average-0.356.3011.4914.24-
PRDB was equal to 0 for all 50 instances in the group.
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Idzikowski, R.; Rudy, J.; Gnatowski, A. Solving Non-Permutation Flow Shop Scheduling Problem with Time Couplings. Appl. Sci. 2021, 11, 4425. https://doi.org/10.3390/app11104425

AMA Style

Idzikowski R, Rudy J, Gnatowski A. Solving Non-Permutation Flow Shop Scheduling Problem with Time Couplings. Applied Sciences. 2021; 11(10):4425. https://doi.org/10.3390/app11104425

Chicago/Turabian Style

Idzikowski, Radosław, Jarosław Rudy, and Andrzej Gnatowski. 2021. "Solving Non-Permutation Flow Shop Scheduling Problem with Time Couplings" Applied Sciences 11, no. 10: 4425. https://doi.org/10.3390/app11104425

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