Flow Shop Scheduling Problem A Computational Study
Flow Shop Scheduling Problem A Computational Study
net/publication/241802417
CITATIONS READS
5 832
3 authors, including:
All content following this page was uploaded by Amr Arisha on 12 February 2014.
2002-01-01
Paul Young
Dublin City University
Mohie El Baradie
Dublin City University
Recommended Citation
Arish, A., Young, P., El Baradie, M.:Flow Shop Scheduling Problem: a Computational Study.Sixth International Conference on
Production Engineering and Design for Development (PEDD6),Cairo, Egypt, pp 543 – 557.
This Conference Paper is brought to you for free and open access by the
School of Marketing at ARROW@DIT. It has been accepted for inclusion
in Conference papers by an authorized administrator of ARROW@DIT.
For more information, please contact yvonne.desmond@dit.ie,
arrow.admin@dit.ie.
ABSTRACT:
A computational study has been developed to obtain optimal / near optimal solution for the flow
shop scheduling problem with make-span minimization as the primary criterion and the
minimization of either the mean completion time, total waiting time or total idle time as the
secondary criterion. The objective is to determine a sequence of operations in which to process ‘n’
jobs on ‘m’ machines in same order (flow shop environment) where skipping is allowed. The
Simulation approach for deterministic and stochastic flow shop scheduling has been developed. It
reads and manipulates data for 500 jobs on 500 machines. Different factorial experiments present a
comparative study on the performance of different dispatching rules, such as FCFS, SPT, LPT,
SRPT and LRPT with respect to the objectives of minimizing makespan, mean flow time, waiting
time of jobs, and idle time of machines.
The proposed model is evaluated and found to be relatively more effective in finding optimal/ near
optimal solutions in many cases. The influence of the problem size in computational time for this
model is discussed and recommendations for further research are presented.
1. INTRODUCTION
The purpose of this paper is twofold: (1) to provide a simulation program able to find the optimum /
near optimum sequence for general flow shop scheduling problem with make-span minimization as
main criteria; (2) to compare different dispatching rules on minimizing multiple criteria.
Numerous combinatorial optimization procedures have been proposed for solving the general
flowshop problem with the maximum flow time criterion. Many researches have been successful in
developing efficient solution algorithms for flowshop scheduling and sequencing [1, 2, 3, 4, 5, 6, 7
and 8] using up to 10 machines. Dannenbring [2] found that for small size shop problems his
heuristic outperformed others in minimizing the make-span for 1280 flowshop scheduling
problems. Ezat and El Baradie carried a simulation study for pure flowshop scheduling with make-
span minimization as a major criterion for n ψ90 on m ψ90 [9]. In This paper study general flow
shop scheduling problem with make-span minimization as main criteria for n ψ 250 and m ψ 250
with different ranges of random numbers generated (0-99) for processing times matrix.
2. THE FLOWSHOP SCHEDULING PROBLEM
The flowshop problem has interested researchers for nearly half a century. The flowshop problem
consists of two major elements: (1) a production system of ‘m’ machines; and (2) a set of ‘n’ jobs to
be processed on these machines. All ‘n’ jobs are so similar that they have essential the same order
of processing on the M machines, Fig. 1. The focus of this problem is to sequence or order the ‘n’
jobs through the ‘m’ machine(s) production system so that some measure of production cost is
minimized [10]. Indeed, flowshop scheduling problem has been shown to be NP-complete for non-
preemptive schedules [11].
Input Input Input Input
The assumptions of the flowshop problem are well documented in the production research literature
[3,4,5,18]. In summary:
1) All ‘n’ jobs are available for processing, beginning on machine1, at time zero.
2) Once started into the process, one job may not pass another, but must remain in the same
sequence position for its entire processing through the ‘m’ machines.
3) Each job may be processed on only a single machine at one time, so that job splitting is not
permitted.
4) There is only one of each type of machine available.
5) At most, only one job at a time can be processed on an individual machine.
6) The processing times of all ‘n’ jobs on each of the ‘m’ machines are predetermined.
7) The set-up times for the jobs are sequence independent so that set-up times can be considered
a part of the processing times.
8) In-process inventory is allowed between consecutive machines in the production system.
9) Non-preemption; whereas operations can not be interrupted and each machine can handle
only one job at a time.
10) Skipping is allowed in this model.
The performance criteria are those most commonly used as proposed by Stafford [15], for
optimizing the general flowshop model.
1. Makespan
Throughout the half century of flowshop scheduling research, the predominant objective
function has been to minimize make-span. [10]
The expression used is as follows:
Minimize: Cmax
2. Mean Completion Time
Conway et al. (1967), Panwalker and Khan (1975), Bensal (1977), and Scwarc (1983) have
all discussed mean job completion time or mean flow time as an appropriate measure of the
quality of a flowshop scheduling problem solution. Mean job completion time may be
expressed as follows:
n
C = ∑ Job completion times / n
i =1
3. Total Waiting Time
Minimizing total job idle time, while the jobs wait for the next machine in the processing
sequence to be ready to process them, may be expressed as follows:
m n
W( nxm ) = ∑∑ wij
i =1 j =1
4. DISPATCHING RULES
A dispatching rule is used to select the next job to be processed from a set of jobs awaiting service
at a facility that becomes free. The difficulty of the choice of a dispatching rule arises from the fact
that there are n! ways of sequencing ‘n’ jobs waiting in the queue at a particular facility and the
shop floor conditions elsewhere in the shop may influence the optimal sequence of jobs at the
present facility [12].
Five basic dispatching rules have been selected to be investigated in this research. A brief
description about each rule will be presented:
Rule (1) FCFS (First Come First Served): This rule dispatches jobs based on their arrival times
or release dates. The job that has been waiting in queue the longest is selected. The FCFS rule
is simple to implement and has a number of noteworthy properties. For example, if the
processing times of the jobs are random variables from the same distribution, then the FCFS
rule minimizes the variance of the average waiting time. This rule tends to construct schedules
that exhibit a low variance in the average total time spent by the jobs in this shop.
Rule (2) SPT (Shortest Processing Time): The SPT first rule is a widely used dispatching rule.
The SPT rule minimizes the sum of the completion times ΣCj (usually referred as the flow
time), the number of jobs in the system at any point in time, and the average number of jobs in
the system over time for the following machine environments: set of unique machines in series,
the bank of identical machines in parallel, and the proportionate flow shop.
Rule (3) LPT (Longest Processing Time): The LPT rule is particularly useful in the case of a
bank of parallel machines where the make-span has to be minimized. This rule selects the job
with the longest processing (from the queue of jobs) to go next when a machine becomes
available. Inherently, the LPT rule has a load balancing property, as it tends to avoid the
situation where one long job is in process while all other machines are free. Therefore, after
using the LPT rule to partition the jobs among the machines, it is possible to resequence the
jobs for the individual machines to optimize another objective besides make-span. This rule is
more effective when preemption is allowed.
Rule (4) SRPT (Shortest Remaining Processing Time): The SRPT is a variation of SPT that is
applicable when the jobs have different release dates. SRPT rule selects operations that belong
to the job with the smallest total processing time remaining. It can be effective in minimizing
the make-span when preemption is allowed.
Rule (5) LRPT (longest Remaining Processing Time): The LRPT is a variation of LPT that
selects the operations that belong to the job with the largest total processing time remaining.
LRPT rule is of importance when preemption is allowed and especially in parallel identical
machines. LRPT rule always minimizes the idle time of machines.
5. EXPERIMENTAL DESIGN
In flowshop sequencing research, the standard approach for evaluating a new problem solving
technique, whether it is a heuristic or an optimization model, is to generate a set of problems of
different sizes, and then to solve this
common set of problems with the
new techniques and with one or Make-Span vs Different Number of Runs
more other proven techniques 80
designed for the same flowshop 75
problem. 70
SPT
phases: (1) to find the optimum/near 55 LPT
SRPT
optimum solution for general 50
LRPT
35
effectiveness of various priority rules
30
for flow shop scheduling. The 1 10 30 100 300 500 900
500 and use both deterministic and Fig.2: A Steady-State Analysis of the Model
stochastic processing time input. The
input processing times may be generated from different seed random numbers for each single run or
read directly data from an input file. The number of runs for each case is 300 where the results turn
to steady state started as shown in Fig. 2.
Different factorial sets of experiments were conducted to verify that the program would provide
optimal solutions to general flowshop problems and to compare between various dispatching rules.
6. EXPERIMENTAL RESULTS
Phase 1:
This phase has multi-objectives for n/m/F/Cmax problem. It can provide the followings:
1) All the job sequences and their correspondent makespan for each sequence.
2) The optimal job sequence and its makespan value.
3) Frequencies for all job sequences.
4) CPU time for the solution.
A sample of the output of the program and optimal makespan are shown in Fig. 3. Although, many
researchers have been working on the flowshop sequencing problem for many years, it has been
found nowhere any results about the distribution of the objective function and the distribution of the
optima of this function. In effect, such an approach gives an intuitive idea about the problem and is
important to allow the reader to judge the quality of the method used for this problem [13]. The
distribution of all the possible make-spans obtained by complete enumeration of two different
problems are given in Fig. 4. This distribution is given relative to the optimum solution. The
processing times were randomly generated (integers between 1 and 10). The distribution seems to
be almost symmetric and its range is contained in an interval of 20% around the mean. A χ2 test
does neither confirm nor refute that this distribution is Gaussian, therefore the use of the mean
makespan given by a heuristic seems to be meaningful.
n\ m M1 M2 M3 M4 M5 M6 M7
J1 8 9 7 8 6 2 8
J2 3 5 9 7 5 2 4
J3 9 1 8 0 10 8 2 Input matrix of processing times
J4 3 8 10 2 3 0 0
J5 4 2 6 8 10 1 0
12345 Make-Span=75
Job sequences 12354 Make-Span=75
12435 Make-Span=75
24153 Make-Span=71
24513 Make-Span=72
24531 Make-Span=67
31524 Make-Span=66
34125 Make-Span=66 The entire possible job sequences
34152 Make-Span=64
41532 Make-Span=66
45312 Make-Span=61
45321 Make-Span=63
54132 Make-Span=66
51342 Make-Span=64
51432 Make-Span=66
. . . .
. . . . .
Number of Job Sequences = 120
Make-Span's Frequencies:
3500 250
3000
200
Frequency ( x 1000)
2500
Frequency
150
2000
1500 100
1000
50
500
0 0
9
7
67
69
71
73
75
77
79
81
83
85
87
89
91
93
95
97
99
10
11
11
11
12
12
12
13
13
13
13
14
14
14
15
15
15
10
Make-Span Make-Span
To compare the dispatching rules under identical conditions, the same pseudo random numbers
generated per run, and the same number of runs. A different factorial experiment for the selected
rules, 7 machines shop (5, 20, 50, 80, 130, 200, 250), and 9 levels of Work In Process (WIP)
(number of jobs in shop) equal to (5, 10, 30, 50, 80, 100, 150, 200, 250) were executed.
Computational times for the entire experiments are shown in Table. 4. Samples of machine shop
were presented for each performance criteria.
For small machine numbers, Fig. 5, there is a clear spread across the different rules with SPT
rule providing the best results and the LPT rule performing worst.
For larger machine numbers, Fig. 6, the LPT rule is still clearly the worst, however the other
rules show almost identical results. Nevertheless the SPT rule is the best performer overall.
For this criterion, Fig. 7, the SRPT rule provides the best results. Again, the LPT rule performs
worst, sometimes rivaled by the LRPT rule.
This criterion changes the order of the rules with LPT performing best and SPT performing
worst, Fig. 8. In addition increasing the number of jobs increases the spread between best and
worst results significantly.
As with the waiting time criterion, Fig. 9 shows that the spread of the performance increases
with job number. Here the LRPT rule is clearly the best while the LPT rule performs worst.
1800
1600
1400
1200
Avg. Make-Span
FCFS
1000
SPT
LPT
800 SRPT
LRPT
600
400
200
0
5 10 30 50 80 100 150 200 250
No. of Jobs
Fig. 5: Effect of the dispatching rules vs. average makespan under different machine shop
Avg. Make-Span vs Different Dispatching Rules(200 Machines/ 300 Runs)
4000
3500
3000
2500
FCFS
Avg. Make-Span
SPT
LPT
2000
SRPT
LRPT
1500
1000
500
0
5 10 30 50 80 100 150 200 250
No. of Jobs
Fig. 6: Effect of the dispatching rules vs. average makespan under different machine shop
Avg. Mean Completion Time vs Different Dispatching Rules (20 Machines/300 Runs)
1200
1000
Avg. Mean Completion Time
800
FCFS
SPT
600 LPT
SRPT
LRPT
400
200
0
5 10 30 50 80 100 150 200 250
No. of Jobs
Fig. 7: Effect of the dispatching rules vs. average mean completion time under different machine shop
180000
160000
140000
120000
Avg. Waiting Time
FCFS
100000
SPT
LPT
80000 SRPT
LRPT
60000
40000
20000
0
5 10 30 50 80 100 150 200 250
No. of Jobs
Fig. 8: Effect of the dispatching rules vs. average waiting time under different machine shop
Avg. Idle Time vs Different Dispatching Rules (200 Machines / 300 Runs)
250000
200000
50000
0
5 10 30 50 80 100 150 200 250
No. of Jobs
Fig. 9: Effect of the dispatching rules vs. average idle time under different machine shop
7. RESULTS ANALYSIS
In general, the quality of a technique’s solutions is measured in at least two dimensions: (1) how
close the solution comes to the optimal solution if it can be measured; and (2) how much computer
time is required to solve problems of a given size.
Due to wide differences in software, platform, problem size, experimental design and reporting, it is
very difficult to compare the performance of different techniques directly. To allow some
comparison to be made Table 2 shows the average percentage increase over optimum make-span
time as reported by each of the researchers for their algorithms. To enhance the comparison, the
right column indicates the relative limitations of each model.
10000000
1000000
Table 4: The factorial experiment for phase 2
Log CPU Times (seconds)
8. DISCUSSION
Flowshop scheduling is one of the most critical activities for the production planner. Minimizing
the make-span, mean flow time, job waiting times and machine idle time are the major objectives to
reduce the processing costs. The flowshop scheduling problem is NP-hard and several studies have
been done to solve small size flowshop problems.
The parameters that affect the size of flowshop problems are ‘n’ and ‘m’. The problem size
complexity is based on these two parameters. The results of the proposed model indicated that ‘n’
has much stronger influence on computer solution time than ‘m’. Based on these studies and the
proven NP-completeness of the problem, it is clear that ‘n’ is a much more important determinant of
computer solution time required for the flowshop problem.
The simulation study has been carried out under several operational conditions. It found the
optimum/ near optimum solution in a reasonable computational time for most cases in a specific
range of problem sizes. It is recommended to use the model for the problems where number of jobs
is less than 30 and number of machines is less than 250 as it is not economical for larger scale.
Furthermore, a comparative study on the performance of various dispatching rules has been carried
out under different shop machine
and utilization levels. The model
runs for 300 iteration using the
16.0
random generator for the same
specific shop conditions. It has 14.0
13.8
6.0
conditions, as is clearly evident
from Fig. 11. The SPT rule is quite 4.0
9. CONCLUSIONS
Some recommended trends for flowshop scheduling problem are listed down:
1. JOHNSON, S. M., “Optimal Two and Three Stage Production Schedules with Set-up time
Included”. Nav. Res. Log. Quart. , Vol. 1, pp. 61-68, (1954).
2. CAMPBELL, H. G. “ A heuristic algorithm for n-job and m-machines sequencing
problem”. Management Science, Vol. 16, pp. 630-673, (1970).
3. BAKER, KENNETH R., “ Sequencing and Scheduling”. John Wiley & Sons Inc.(1998),
ISBN: 0-9639746-1-0.
4. GUPTA, J.N.D. , “A functional heuristics algorithm for the flow-shop scheduling
problem”. Operation Research, Vol. 22, No. 1, pp.39- 48, (1971).
5. FRENCH, S. “Sequencing and Scheduling”. An introduction to the mathematics of the
job shop, Ellis Horwood series, (1982).
6. DANNENBRING, D. G. , “ An evaluation of flowshop sequencing heuristics”. Management
Science, Vol. 23, No. 11, pp. 1174-1182, (1977).
7. PINEDO, MICHEAL and BHASKARAN, K. “ Dispatching”. Handbook of Industrial
Engineering, pp. 2182-2198, (1992).
8. BERA, H., “To minimize waiting time of jobs, idle time of machines and total elapsed time
for N jobs on M machines”. 2nd Joint international conference on Production Engineering,
Leicester Polytechnis, pp. 290-299, (1983).
9. EZAT, A. M. and EL BARADIE, M. “ Flow-Shop Scheduling: Effect of Various Priority
Rules on Minimizing Multiple Criteria”. 30th International MATADOR Conference
(UMIST), (1993).
10. TSENG, FAN and STAFFORD, E. ,“Two MILP models for N x M SDST flowshop
sequencing problem ”. Int. J. Prod. Res., Vol. 39, No. 8, 1777 – 1809, (2001).
11. GRAVES, STEPHEN ,“ A Review of Production Scheduling”. Operations Research, Vol.
29, pp. 646-675, (1981).
12. RAJENDRAN, C. and HOLTHAUS, OLIVER, “ A Comparative study of dispatching rules
in dynamic flowshops and jobshops”. European Journal of Operational Research, Vol.
116, pp.156-170, (1999).
13. TAILLARD, ERIC D., “ Some efficient heuristic methods for the flowshop sequencing
problem”. European Journal of Operational Research, Vol.47, pp. 65-74, (1990).
14. PINEDO, MICHEAL, “ Operations scheduling with applications in manufacturing and
services”. Irwin/McGraw-Hill, (1998). ISBN: 0072897791.
15. STAFFORD, E. F., “On the development of a mixed-integer linear programming model for
the standard flowshop”. Journal of the Operational Research Society, Vol. 39, pp. 1163-
1174, (1988).
16. BLAZEWICZ, J., ECKER, KLAUS H., SCHMIDT, GUENTER and WEGLARZ, J.,
“Scheduling in Computer and Manufacturing Systems”. Springer Verlag, Berlin (1994).
ISBN: 3540580492.
17. MEZIANE, VADERA, KOBBACY and PROUDLOVE, “Intelligent Systems in
Manufacturing: Current Developments and Future Prospects”. Integrated Manufacturing
System, Vol. 11, No. 4, pp. 218-238, (2000).
18. CONWAY, R. W., MAXWELL, W.L. and MILLER, I. W. ,“ Theory of Scheduling ”.
Addison Wesley, Reading, Massachusetts, (1967).