Next Article in Journal
Wind Power Plant’s Synthetic Inertia Estimation Using Extended Kalman Filter
Previous Article in Journal
Simulation of ZnO Nanofils as Applications for Acetone Gas Sensors
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Proceeding Paper

Optimization of the Flow-Shop Scheduling Problem under Time Constraints with PSO Algorithm †

Laboratory of Automation and Manufacturing Engineering, University of Batna 2, Batna 05000, Algeria
*
Author to whom correspondence should be addressed.
Presented at the 4th International Electronic Conference on Applied Sciences, 27 October–10 November 2023; Available online: https://asec2023.sciforum.net/.
Eng. Proc. 2023, 56(1), 220; https://doi.org/10.3390/ASEC2023-15410
Published: 27 October 2023
(This article belongs to the Proceedings of The 4th International Electronic Conference on Applied Sciences)

Abstract

:
This study aims to minimize the makespan objective function in a Flow-Shop environment, considering two crucial temporal constraints: “Waiting time” and “Release date”. Given the NP-hardness of this scheduling problem, we employed an enhanced metaheuristic called particle swarm optimization (PSO) to find the optimal solution. Through a series of experiments conducted on a specific set of benchmark instances, we evaluated the performance of our approach by comparing the obtained results against the lower bound (LB). This comparison showcased the effectiveness of our proposed method in addressing this complex scheduling problem.

1. Introduction

In production management, the scheduling optimization process aims to determine a sequence of tasks, taking into consideration various constraints, to enhance productivity and establish a more efficient production system.
Our research stands out due to the integration of two time constraints which are the waiting time and release date, attempting to minimize the makespan criterion. Adding these constraints makes the problem more complex and closer to reality; however, it is well-known as NP-hard according to the literature, making it computationally challenging. In this case, we turn to advanced optimization techniques to find optimal or nearly optimal solutions. One such technique is particle swarm optimization (PSO), a metaheuristic known for its ability to handle complex optimization problems by using the collective intelligence of particles navigating the search space.
In evaluating our research’s effectiveness, we employed our methodology on a series of benchmark tests and used the deviation index (DIV) for a more in-depth analysis of the results. The findings appear to be extremely encouraging.

2. Flow-Shop Scheduling under Waiting Time and Release Date Constraints

In accordance with Graham’s proposed classification, the problem under consideration can be represented as F|r, WaitTime|Cmax.

2.1. Description of the Problem

We have a set of N jobs that need to be assigned and processed on a set of M machines. The objective is to find the optimal sequence of jobs on machines that optimizes the makespan within wait time and release date constraints to improve process efficiency.
Key attributes of a flow shop are:
  • Each job follows a production line flow and remains confined to it, traversing all M machines sequentially (ranging from M1 to Mm).
  • The production line can manufacture various products.
  • Notably, each machine can handle only one task at a given moment, while each job can be processed by only one machine at a time.
  • Importantly, task processing occurs continuously, without any interruptions
  • The predetermined processing times pi,j for each task, remain constant throughout.
  • Equally, the waiting time and release date for tasks are predetermined and remain consistent.

2.1.1. Makespan Objective Function

In a scheduling problem, the makespan function measures the total duration required to conclude all tasks. Attaining an optimal makespan in the flow shop leads to improved productivity, optimized resource allocation, meeting deadlines, and reduced costs. Several approaches have been proposed to minimize makespan in flow-shop, such as; three metaheuristics (AIS, IG, AIS–IG), that offer improved solutions and scalability [1]. CDS heuristic compared with PSO metaheuristic and a proposed method that combines SPT and permutation rules [2]. A hybrid algorithm combining tabu search with genetic algorithm improves scheduling solutions [3], A novel tie-breaking rule enhances the NEH heuristic, improving scheduling in flow shops efficiently [4].

2.1.2. Wait Time and Release Date Constraints

  • The wait time constraint in scheduling determines the maximum allowed time a task can wait after its release before starting the process. Mainly, it resolves conflicts by prioritizing tasks based on urgency or with shorter waiting times. It is used, for example, to wait until the temperature of the part or equipment decreases before further processing.
  • The release date specifies the earliest time the task can start and thereby affects task star times. In addition, it contributes to coordinating tasks and ensures that tasks start on time to meet specific scheduling requirements. This constraint is usually used in the assembly process for task coordination.
To our knowledge, no study has yet combined these two constraints, although some research has explored them individually [5,6]. Adding these two constraints increases the problem’s complexity, requiring the use of advanced algorithms, like particle swarm optimization (PSO).

2.2. Mathematical Problem Formulation

To establish the mathematical model for this scheduling problem, we introduce additional notation presented in Table 1.
    C m a x = m i n m a x c π i , m     i n
c π i , k + 1 c π i , k + w π i , k + 1 + p π i , k + 1       i n   ;   k m 1
c π j , k c π i , k + G 3 δ π i , k δ j , k μ π i , π j , k   p π i , k + w π j , k       i , j n   , i j   ,   k m
c π i , k c π j , k + G 2 δ π i , k δ π j , k μ π j , π i , k p π i , k + w π i , k       i , j n   , i j   ,   k m  
c 1 , 1 = r 1 + p 1 , 1  
c π i , 1 = m a x r π i , c π i 1 , 1 + p π i , 1       i n + 1
  1 k m δ π i , k = m         i n
1 i n δ π i , k = n       k   m
(1) The makespan objective function. (2) The succession of the same job on the machines. within a given sequence. (3) And (4) signifying one machine can treat one task at the same time in the same job’s sequence, considering the wait time constraint. (5) Completion time of the first job in the first machine including the release date. (6) Completion time of all jobs in the first machine. (7) A job visits all machines once. (8) Each machine processes only one job at a time.

2.3. Complexity of the Problem

The complexity of the scheduling problem is widely acknowledged in research as being NP-hard beyond five machines m ≥ 5 [7,8,9,10], indicating their challenging nature to resolve. Approaches based on heuristic or metaheuristic methods are necessary to tackle this problem. Although optimality is not guaranteed with these methods, they do provide effective approximations

3. Particle Swarm Optimization (PSO)

The particle swarm optimization (PSO) algorithm, derived from the social dynamics observed in avian and aquatic species, employs particles that represent solutions to explore the multidimensional solution space to attain optimal or near-optimal results. PSO’s efficacy lies in its capacity to strike a balance between exploration and exploitation of the search space, making it adept at addressing complex challenges, inclusive of NP-hard issues. This algorithm has proven its effectiveness in flow-shop scheduling, as showcased in several research studies [11,12,13,14].

4. Experimental Evaluation and Results

To conduct our experiment, we implemented a particle swarm optimization (PSO) algorithm using (MATLAB R2018b) in a computer: Intel(R) Core (TM) i5-7200U CPU, 2.50 GHz, 2.71 GHz,4.00 Go memory, and a database sourced from the following site: https://github.com/chneau/go-taillard/tree/master/instances (accessed on 16 April 2023). Table 2 represents a summary of the found results for twelve instances. The steps of the experiment are detailed as follows:
a.
The experiment encompassed 12 benchmarks, each one comprising 10 distinct instances. We conducted 10 tests for each of these 12 benchmarks.
b.
Each benchmark is characterized by two elements: the number of jobs requiring processing and the number of processing machines.
c.
We focused on the following dimensions for small-sized problems: (20 × 05; 20 × 10; 20 × 20; 50 × 05; 50 × 10; 50 × 20).
d.
For larger-sized problems, we utilized the following dimensions: (100 × 05, 100 × 10, 100 × 20, 200 × 10, 200 × 20, and 500 × 20).
e.
Each trial yielded the following results: CMax, deviation (Div), Lower Bound, and the CPU time.
f.
To enhance the result analysis, we selected the best 10 makespan values.
g.
For a better interpretation of the results, we employed the relative “index of deviation”.
Div = Global   fitness     Lower   Bound Lower   Bound   × 100
The values of this index range between 0 and 100, with lower values indicating better results.
Note: We made modifications to the lower bound values extracted from the database since we introduced new constraints, whereas the database values were originally unconstrained.
The following Figure 1 illustrates the values from Table 2. In Figure 1a, we observe a linear increase in the values of makespan and lower bound as the complexity of the problem grows. However, once we reach the (100 × 20) instance, we notice exponential growth in both. The two curves are almost identical showing that the values found by our approaches are very close to the optimal. Figure 1b, demonstrates that CPU time values increase proportionally with problem complexity.
To identify the factors influencing the complexity of the problem, we compared the results of one instance to those of a larger instance. Our observations indicate that as the number of jobs increases, the complexity of the problem increases significantly. However, when the number of machines increases, the complexity also rises, but to a lesser extent.
In summary, our study reveals that the increase in the number of jobs directly contributes to an increase in the complexity of the problem and discusses the impact of integrating waiting time and releasing date constraints on the scheduling decisions.
For better clarity, Figure 1c represents the deviation index (DIV), used to quantify the gap between the lower bound values and the makespan values obtained through our approach. This indicator ranges from 0 to 100, and the values obtained in our study are closer to 0 than 100. Furthermore, the negative value in line 7 of Table 2 indicates that the found solution is better than the optimal one provided by LB, thereby demonstrating the effectiveness of our method.
Figure 2 is an example illustrating a Gantt chart of a sequence of 5 jobs, each represented by different colors, showcasing the impact of the waiting time constraint. For instance, the first job, represented by the brown color, completed its processing on the first machine at time 4. However, it had to wait until time 7 before starting its processing on machine 2, despite the availability of machine 2.

5. Conclusions

In conclusion, in this study we used the PSO algorithm to generate a sequence of jobs while minimizing the makespan function under the constraints of waiting time and release date in a flow-shop production workshop. These time constraints made the problem more complex. To our knowledge, there has been no prior work discussing these constraints simultaneously in a flow shop type workshop. We tested our approach on a set of benchmarks using the deviation index (DIV) to evaluate its effectiveness. Our approach produced values close to 0, thus indicating its performance. Our study also showed that the number of jobs has a great influence on the complexity of the system.

Author Contributions

Software development, M.M.; methodology, M.M.; validation, M.M. and Y.B.; results analysis, Y.B.; Investigation, M.M.; preparation and writing, M.M.; supervision, Y.B.; verification and correction, Y.B.; management and coordination, H.S. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Data are contained within the article.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Abdollahpour, S.; Rezaeian, J. Minimizing makespan for flow shop scheduling problem with intermediate buffers by using hybrid approach of artificial immune system. Appl. Soft Comput. 2015, 28, 44–56. [Google Scholar] [CrossRef]
  2. Irman, A.; Febianti, E.; Khasanah, U. Minimizing makespan on flow shop scheduling using Campbel Dudek and Smith, particle swarm optimization, and proposed heuristic algorithm. IOP Conf. Ser. Mater. Sci. Eng. 2019, 673, 012099. [Google Scholar] [CrossRef]
  3. Umam, M.S.; Mustafid, M.; Suryono, S. A hybrid genetic algorithm and tabu search for minimizing makespan in flow shop scheduling problem. J. King Saud Univ.-Comput. Inf. Sci. 2022, 34, 7459–7467. [Google Scholar] [CrossRef]
  4. Sharma, M.; Sharma, M.; Sharma, S. An improved neh heuristic to minimize makespan for flow shop scheduling problems. Decis. Sci. Lett. 2021, 10, 311–322. [Google Scholar] [CrossRef]
  5. Han, J.H.; Lee, J.Y. Scheduling for a flow shop with waiting time constraints and missing operations in semiconductor manufacturing. Eng. Optim. 2023, 55, 1742–1759. [Google Scholar] [CrossRef]
  6. Grabowski, J.; Skubalska, E.; Smutnicki, C. On Flow Shop Scheduling with Release and Due Dates to Minimize Maximum Lateness. J. Oper. Res. Soc. 1983, 34, 615. [Google Scholar] [CrossRef]
  7. Brucker, P.; Knust, S.; Wang, G. Complexity results for flow-shop problems with a single server. Eur. J. Oper. Res. 2005, 165, 398–407. [Google Scholar] [CrossRef]
  8. Garey, M.R.; Johnson, D.S.; Sethi, R. Complexity of Flowshop and Jobshop Scheduling. Math. Oper. Res. 1976, 1, 117–129. [Google Scholar] [CrossRef]
  9. Martinez, S.; Dauzère-Pérès, S.; Guéret, C.; Mati, Y.; Sauer, N. Complexity of flowshop scheduling problems with a new blocking constraint. Eur. J. Oper. Res. 2006, 169, 855–864. [Google Scholar] [CrossRef]
  10. Soukhal, A.; Oulamara, A.; Martineau, P. Complexity of flow shop scheduling problems with transportation constraints. Eur. J. Oper. Res. 2005, 161, 32–41. [Google Scholar] [CrossRef]
  11. Mansouri, M.; Bahmani, Y.; Smadi, H. A Hybrid Method for the Parallel-Flow Shop-Scheduling Problem. Comput. Sci. Math. Forum 2023, 7, 14413. [Google Scholar] [CrossRef]
  12. Bank, M.; Ghomi, S.M.T.F.; Jolai, F.; Behnamian, J. Application of particle swarm optimization and simulated annealing algorithms in flow shop scheduling problem under linear deterioration. Adv. Eng. Softw. 2012, 47, 1–6. [Google Scholar] [CrossRef]
  13. Mansouri, M.; Bahmani, Y.; Smadi, H. Monocriterion Optimization in Parallel Flow Shop; EasyChair: Manchester, UK, 2022. [Google Scholar]
  14. Liao, C.J.; Tseng, C.-T.; Luarn, P. A discrete version of particle swarm optimization for flowshop scheduling problems. Comput. Oper. Res. 2007, 34, 3099–3111. [Google Scholar] [CrossRef]
Figure 1. Results from applying PSO to a constrained flow-shop scheduling problem are presented as follows: (a) a comparison between the global fitness and lower bound (LB); (b) CPU time progression relative to problem complexity; (c) an analysis of the index of deviation (DIV).
Figure 1. Results from applying PSO to a constrained flow-shop scheduling problem are presented as follows: (a) a comparison between the global fitness and lower bound (LB); (b) CPU time progression relative to problem complexity; (c) an analysis of the index of deviation (DIV).
Engproc 56 00220 g001
Figure 2. Gantt Chart representation of a 5-Job Sequence.
Figure 2. Gantt Chart representation of a 5-Job Sequence.
Engproc 56 00220 g002
Table 1. Parameters and binary variables used in the mathematical model.
Table 1. Parameters and binary variables used in the mathematical model.
ParameterSignificationParameterSignification
i , j Index of jobs c Completion time
k Index of machines s Starting time
π i i th job in the sequence π w waiting time
n Number of jobs to be processed r Release date
m Number of processing machines G Large positive number
p Processing time δ π i , k
μ i j k
Take 1; if i is processing on machine k , and 0 otherwise
Take 1; if i is processed before j ,   i j on k and 0 otherwise
Table 2. Summary table of the found results for all instances.
Table 2. Summary table of the found results for all instances.
InstanceCPUDIVGlobal FitnessLB
0120_050.99899234.49152542412331180
0220_101.1985325333.87547649316351574
0320_201.46957889928.1615302924121882
0450_052.4793334325.09554140128312983
0550_102.82421999310.2439024433903075
0650_203.48925979618.5567010343703686
07100_054.850529547−3.57208279952645459
08100_105.5286702333.16326530660665880
09100_206.83496912110.8361901974366709
10200_1010.95735311.22329580711,41911,281
11200_2013.696982028.22224062313,07012,077
12500_2034.147752481.41375734529,33928,930
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

Mansouri, M.; Bahmani, Y.; Smadi, H. Optimization of the Flow-Shop Scheduling Problem under Time Constraints with PSO Algorithm. Eng. Proc. 2023, 56, 220. https://doi.org/10.3390/ASEC2023-15410

AMA Style

Mansouri M, Bahmani Y, Smadi H. Optimization of the Flow-Shop Scheduling Problem under Time Constraints with PSO Algorithm. Engineering Proceedings. 2023; 56(1):220. https://doi.org/10.3390/ASEC2023-15410

Chicago/Turabian Style

Mansouri, Milad, Younes Bahmani, and Hacene Smadi. 2023. "Optimization of the Flow-Shop Scheduling Problem under Time Constraints with PSO Algorithm" Engineering Proceedings 56, no. 1: 220. https://doi.org/10.3390/ASEC2023-15410

Article Metrics

Back to TopTop