Professional Documents
Culture Documents
Sequencing Problem
Sequencing Problem
Sequencing Problem
"An order is to be observed in all things"
12:1. INTRODUCTION
The selection of an
appropriate order for a series of jobs to be done on a finite number of service
facilities, in some pre-assigned order, is called
sequencing. A practical situation may correspond to an
industry producing a number of products, each of which is to be processed through different
of course, finite in number. machines,
328
SEQUENCING
USED IN
12:3. BASIC TERMS
are facilities through
which a job mn
nust
in sequencing
basic terms service
Some of the number of
It refers to the
.Number of
machines machines are required for
be completed. in which given
before it is assumed to order (sequence)
pass
It refers to the
Processing order each machine.
2.
completing the job. job on
the time required by a
and completing the last
3. Processing
time : It indicates
between starting the first job
machines.
interval of
elapsed time It is the time order by the given set to process.
4. Total a particular not have a job
the idle time (if any) in which a
machine does
Job including machine: It is the
time for
i.
the start of job
a
S. ldle time o n which jobs are to be
end of job (i 1)
to
the order in
-
therefore of
Since passing is not
allowed,
of one job and
before starting
idle after completion
machine M2 may remain machine. Let X2 be the time
one-by-one while time of the second
the objective is to minimize the idle the Jun
another job. Thus
finishing (j- 1)th job and
before starting processing
remains idle after
for which machine M,
n). Clearly, the total elapsed time T is given by
job (j =
1, 2, ...,
T- A
of the X2;'s may be zeros.
where some
since E is the total time for which machine "
is to minimize T. However,
The problem now
of the optimization problem. Thus, the prop of
thus fixed, it does not form a part
has to work and is convenient procedure for obtaining a sequenee
minimizing 2*2 A very
reduces to that of Ganit Chart:
to minimize is well illustrated
2Xj by the following
performing jobs
Utilised time
I d l e time on M2
M
en
Me X2 2 2425 2n
Thus
X21+ X22 = Max. {t +12-21. ) . since X1 fi
Similarly
X23 Max. { +12t13-h1-/22-X21-*2. 0
This gives
21 + X22 + X23 Max.
-
Max. -Å v-s.
In general, we have
Max.
Max.
1SuSn
last.
process the kth job first and the nh job
OPERATIONS RESEARCH
then select
330 on
machine M, only,
processing
times ty
occurs among
minimum
) it the tie for the
machine M2. then select
process first.
on
arbitrarily the job to
processing
times 2
occurs among
(C) it the tie
for the minimum
placing the remaining
arbitrarily the to process last.
job steps 1 through 4,
and repeat
the jobs already assigned
Srep 5. Cross off all the jobs have
been assigned.
to last, until
JObs next to first
or next
and M2 :
time for machines M finishes on M,)
Step 6. Calculate idle when the last job in a
sequence
Total elapsed time (time -
starts on M)
+ (time when the jth job in a sequence
finishes on M,)}.
-
SAMPLE PROBLEM1S
Job 2
3 8 3*
Machine A
Machine B
These
Now, there is a for the smallest processing time in this reduced problem.
tie among 3 jobs
processing time
correspond to J2 and J, on machine A, and to J3 on machine B. As the corresponding
time of Jz on machine B, J, Will be
of J on machine B is larger than the corresponding processing is
next to Now step 4(a) applies and J2 should be placed next. The updated job sequence
Jj.
processed
JAs
The total elapsed time is calculated below:
This sequence is the optimum one.
Machine A MachineB Tdle time on B
Job Out
In Out In
6
J 16
1
6 22
7 16
7 15 22
20 25 27
J4 15
26 27 29
20
Js
From the above information, we get T = 29 hours.
3 hours and that for machine B is one hour.
Idle time of machine A is (29
-
26)
can be illustrated as below:
The Gantt chart for the above problem
Machine A
Machine BX21
9 121518 21 24 2730
Fig. 12.2
one binding machine, and the manuscripts of
a
1202. A book binder has one printing press, each
the printing and binding operations for
number of different books. The time required to perform
books shoula be processed, in order to minimize
book is shown below. Determine the order in which
the total time required to turn out all the books
3 4 6
Book 2
50 20 90 100
30 120
Printing time (hrs.) 100 90 60 30 10
Binding time (hrs.) 80
(Panjab B.Com. 2006
and then the binding machine. If
Solution. Here, the books will first go to the printing press
on
1, 2, 6) the binding
6) denotes the time in hours on printing press and B,(i
n
P(i 1, 2,
=
.,
5
332 4
3 90
20*
50 30
Book 120 50
30 90 just in the
P 100 book 4
Will be processed
80 Therefore,
B which
corresponds to P
20
Now, Min. {Pp B,}= cells as
below
shown in the sequence
beginning. The entries are 6
two machines with their
books and
are now left with 4
4 and 6, we
After assigning books 5
as follows:
processing times 2 90
50
Book 120 30*
30* 90
P 80
100
and i.e., there is a tie for the
B5,
B is 30 which corresponds to P us the sequence
minimum of P and B, the last, yielding
Now, the book 5 next to
book 1 next to the
first and
minima. So, we pl2ce
5 6
4 41 with their respective processing
times
of 2 jobs and 2 machines
We are now left with the problem
3
as follows 2
Book 50*
120 90
P 100
B book 3 in the third cell and
time is 50 hours for book 3, we place
Here, since smallest printing optimal sequence :
book 2 in the fourth cell and get the following
the remaining
4 3 2S6
from the start of the first book to
the completion of the last book
The minimum elapsed time
as shown in the following
table
is
corresponding ihe optimal sequence computed ldle time of
Printing nachine Binding machine
binding machine
Book Time out Time in Time out
Time in
20 80 20
0 20
80 160 0
20 50
160 250 0
3 50 100
2 100 220 250 350
220 310 350 380 0
5
310 420 420 430 40
From the above table it is cleas that minimum elapsed time is 430 hours. ldle time for prnin
machine is 10 hours (from 420 hours to 430 hours) and for binding machine is 20 + 40 60 hous.
Remarks 1. It may be noted that the total elapsed time is equal to the sum of the idle time of binding
machine and the total processing time on binding machine.
2. The twtal elapsed time can also be calculated by using Gnatt chart.
PROBLEMS
1203, We have five jobs, each of which must go through the two machines A and B in the oru AB.
1204. A ready-made garment company has to process 7 items through two stages of production, viz., cutting
and sewing. The time taken by each of these items at the different stages are given as
hem 3
Cutting 4 3 5 12
Sewing 3 5
Find an order in which these seven items are to be processed so as to minímize the total processing time
Delhi M.Com. 2010]
1205. A company has six jobs on hand coded 'A' to 'F. All the jobs have to go through two machines 'M
and 'M Ir. The time required for each job on each machine, in hours, is given below:
B C E
12 18 9 15 6
MI
18 24 24 3 15
Mli
the six the two machines. Punjabi M.B.A. 2005]
Draw a sequence table scheduling jobs on
are to be processed on two machines A and B in the order A> B. Each machine cann
1206. Seven jobs
time. The processing times (in hours) are as follows
process only one job at a
2 4 S 6
Job
7 14 5 16
Machine A 10 12 13
9 7 16
Machine B 15 11 3
time. IDelhi M.Com. 2006]
Suggest optimum sequence of processing jobs and the
the total elapsed
time on two machines
1207. In the machine shop, 8 different products are being manufactured each requiring
A and B as given below
Time (in min.) on machine A Time (in min.) on machine B
Product
20
30
45 30
15 50
IV 20
36
80
V 40
120
VI 50
65
VII 20
10
VII
of different products in order to minimize he total manufacturing
Decide the optimum sequence of processing used.
discuss the scheduling model
time for all the products. Name and A.I.M.A. P.G. Dip. in Management (June) 1996
maintenance
of a company is divided
in two parts C and C2 which cares for the
1208. The maintenance crew
which
is responsible for replacement of the parts
of the seven machines M, Ma, M, in the factory. Crew C
...,
crews C and
resets the machines back
for operation. The time required by
are worm out while crew C2 oils and
below:
C2 on different machines is given Maintenance time (in hrs.)
Machines
Crew C Crew C2
10
24
Mi 20
4
M2 22
8
Ms 20
18
MA 30
10
Ms 6
28
M6 16
M that the total time taken is minimized.
by crew C and C2 so
In what order the machines should be handled
Also determine what shall this time be?
OPERATIONS RESEARC
334
MACHINES
THROUGH k
12:5, PROCESSING * JOBS sequence(s) in problem.
optimal obtain
no general method
available by
only by enumeration, which is a
which we can
nere is They can be handled would regitira
of n jobs on k machines. of (n !9* different sequences
nvolving processing exercise because
a total
condition that no
lengthy and time-consuming method applicabie under tne
very we do have
a
stipulated below
1s/are satisfied
consideration in such a case. However, of the conditions
and if either or both
passing of jobs is permissible Mj, M2, M, in
through k machines, say
..,
of which is to be processed
Let there be n jobs, each times is
The list of jobs with their processing
the order M1, M2, M. ..,
3
2
Job Number t12 13
M 23 2n
t21 t22
M2
Processing time 32 I33
on machine M3
k2 k3 kn
Mk
be obtained, if either or both of the following conditions
An optimum solution to this problem can
and
Step 5. Determine the optimal sequence for the "n
jobs and 2' machines equivalent sequencng
problem with the prescribed order GH in the same
way as discussed earlier. The resulting sequene
shall be optimum for the given problem.
Remarks 1. In addition to conditions given in Step 4, if
SAMPLE PROBLEMS
based on the
minimizes the total elapsed time
of jobs that
1209. Determine the optimal sequence not allowed
time machines is given in hours and passing is
following information processing
on
G
B D
Job 7 8
8 4 9
Machine M 3
3 2 5
Machine M2 5 12
Machine M3 IMadras B.E. 1999; Delhi
M.Com. 2006]
and
each of which is to be processed through 3 machines M. M2
Solution. We are given 7 jobs
easily be obtained
sequence can
the optimal sequence algorithm, the following optimal
Using
A D G BFCE
have
For total elapsed time, we
Job
C E
B F
D G
A 22 30 37
14 46
3 30 37
In 22
M Out 3
14 22 30 37 46
34 39 47
In 17 25
M2 12 43 49 $4
Out: 36
7 13 24 54 59
In 43 49
24 36
Ms Out: 13
times is 59 hours. ldle
time is 13 hours for
minimum total elapsed
This table indicates that the
hours for and 7 hours for
M Mg. in the
M. 37 the machines
M, G
=
1, 2, 6)
which has to go through
1210. We have 4jobs each of below :
Processing time (in
hours) is given
order Mj, Ma, Mg
..,
Machines M6
Mg M4 Ms
M M2 2 10 25
8 7 19
Job A 18 9
8
17 7 15
Job B 8
11 12
Job C 3
Job D 20 time. (Meerut M.Com. 1998]
that minimizes the total elapsed
Deternine a sequence of these four jobs
OPERATIONS RESEARCH
336 are 8, 9, 6 and o
and s;
12: max. of ty 'y aj
Here min. , = 1l and min.ts, =
OtoR = l, . 3, 4, 5) are
or (y
respectively. min. h2
max. i
ince, the conditions min.1, 2 max. I and
be written as D
satisfied. the given problem can
C
B 39
Job A 36
46 31
Machine G 45 40
48
Machine H 52
Job M3 M4 Ms M6
M M2 24-29 29-36 36-51
11-16 16-24 56-81
C 0-11 46 46-56
29-37 37-44 81-100
A 11-29 61-67 67-75
46-52 52-61 100-112
B 29-46 73-77 77-85
66-70 70-73
D 46-66
minimum total elapsed time
is 112 hours.
This table shows that the
is not allowed:
problem when passing out
1211. Solve the following sequencing
Machine (Processing time in hours)
Item D
B
4 15
15 5
10 12
12
5 16
6 3
4 17
17 3
hem IV
Machine C
In 20 29 46 63
Out 24 39 51 67
Machine D In 24 39 56 67
Out 39 51 67 84
Total elapsed time is 84 hours.
PROBLEMS
1212. Given the following data :
(a) Job 2 4
Machine A 12 10 9
MachineB 6
14 4
Machine C 6
(b) of processing jobs :A CB
Order
(c) Sequence suggested: Jobs 5, 3, 6,
2, 1, 4.
() Determine the total elapsed time for the sequence suggested.
(ü) Is the given sequence optimal?
(i) If your answe is 'No', determine the optimal sequence and the total elapsed time associated with it.
1213. We have five jobs, each of which must go through machines A, B and C in the order A B C. Processing
times (in hours) are given in the following table
Job 2 5
Machine A (4) 8 11 14 21 17 8
Machine B (B) 6 3 1 2 5 4
Machine C(C) 10 9 15 13 18 11 9
Delhi M.BA. (PT.) 2009]
1214. Determine the optimal sequence of jobs that minimizes the total elapsed time based on the following
information
Job 6
Machine A 10 12
Machine B 6 4 3
Machine C 8 7 9 10 6
Processing time on machines is given in hours and passing is not allowed. Delhi M.Com.2008]
1215. Find the sequence that minimizes the total time required in performing he following jobs on three
machines in the order ABC:
Processing time Job
(in hours) on
Machine A 2
Machine B 2
Machine C 9 10 9
Meerut M.Se. (Math.) 1997)
1216. (a) A book binder has one printing press, one binding machine and the manuscripts of a number of
different books. The time required to perform the printing and binding operation for each book is known.
Determine the order in which the books should be processed in order to minimize the total time required to process
all the books. Find also the total time required. (Ciearly state any algorithm you might use.)
Processing time (in minutes)
Book 2
Printing time 40 90 80 60 50
Binding time 50 60 20 30 40
b) Suppose that an additional operation is added to the process described in (a), viz., finishing. The time
equired for this operation is given below
Finishing time (in minutes)
Book 2 3 4
Machine M 4
14 12 8 10
Machine M4
1219. Solve the following sequencing problem, giving an optimal solution when passing is not allowed :
Machine (Processing time in hours)
Job M M2 M3 M4
20 3 3 25
2. 12 11
18 2 0
17 28
[Madras M.B.A. 196
1220. When passing is not allowed, solve the sequencing problem giving an optimal solution
Machines (processing time in hours)
Job M M2 M3 M4
A 11 11
B 8
C 12 12
D 13 13
2
M.Sc. (Math.) 199
[Meerut
remains idle.
representing the processing time for job 4
vertical ines
Step 2. Mark the processing time for jobs 1 and 2 and
respectively according to the given order of machines. on the horizontal veru
SEQUENCING PROBLEM
339
Step 3. Construct various blocks starting from the origin (starting point) by pairing the same
machines until the end point.
Step 4. Draw the line starting from origin to end point by moving
diagonally along a line which makes an angle of 45° with the horizontal horizontally, vertically
line (base). The and
horizontal
segment of this line indicates that first job is under process while second job is idle. Similarly, the
vertical segment of the line indicates that the second job is under process while first job is idle. The
diagonal segment of the line shows that both the jobs are under process simultaneously.
Step 5. An optimum path is one that minimizes the idle time for both the jobs. Thus, we must
choose the path on which diagonal movement is maximum.
Step 6. The total elapsed time is obtained by adding the idle time for either job to the processing
time for that job.
SA MPLE PROBLEM
1221. Use 8raphical method to minimize the time added to process the following jobs on the
machines shown, ie., for each machine find the job which should be done first. Also calculate the
total time elapsed to complete both the jobs:
Job Sequence A B C D E
Time 3 4 2
Sequence C A E
Job 2
Time 3 2 6
[Karnataka B.E. (Prod.) 1994; Meerut M.Sc. (Math.) 1996
Solution. The solution procedure for solving the above problem can be summarised in the
following steps.
Step 1. Draw the set of axes at right angle to each other where X-axis represents the processing
time of job I on different machines while job 2 remains idle and Y-axis represents processing time of
job 2 while job I remains idle.
Step 2. Mark the processing times for jobs 1 and 2 on X-axis and Y-axis respectively according to
the given order of machines as shown in Fig. 12.3
Job 2 A
20 Finish
E
Job 1
14 its
D 12
3 15 17 Job 1
D E
Fig. 12.3
For example, machine A takes 3 hours for job 1 and 3 hours for job 2. Construct the rectangle for
machine A as shown in Fig, 12.3. Similarly construct other rectangles for machine B, CD and E.
Step 3. Construct various blocks starting from the origin by pairing the same machines until a
point marked 'finish' is obtained.
340
OPERATIONS RESEARC
marked finish' by moving horiz
origin to the point of the horizontal axihaly
Step 4. Draw a line starting fromwhich makes an angle 45 with
vertically and diagonally along a line while second job is idle o.Oin
that first job is under process
horizontall along this line indicates is under process while first ioh
indicates that the second job
moving vertically along this line
shows that both the jobs
are under process simu process simultaneously
1ne diagonal movement along this line
machine is not possible, therefore
Since, simultaneous processing of both the jobs on a
movement through rectangles areas is not
e
dvagonal
allowed
movement is not allowed. In other words, diagonal
for both the jobs. Thus
minimizes the idle time
An optimal path is one that
Step 3, is maximum as shown
in Fig. 12.3.
choose the path on which diagonal movement
Job 2
40 Finish
36
E
32
Job 1
28
waits
24
16
C 2
4 8
ALLLL
12 16 20 24 28 32
LLLLL
36 40Job 1
B C D E
Fig. 12.4
SEQUENCING PROBLEM
341
Draw a line starting from origin to the point marked 'finished' by moving horizontally., vertically
and diagonally along a line which makes an angle of 45° with the horizontal axis. A horizontal move
repres
recents processing of job 1 while job 2 remains idle; a vertical move represents processing of job
2 while job I remains idle. The diagonal movement (i.e., a 45° line) shows that both the jobs are
under process simultaneously. Since simultaneous processing of both the jobs on a machine is not
therefore diagonal allowed.
movement is not
possible,
An optimal path is one that minimizes idle time for both job I and 2. This means, this path
should coincide with 45 line to the maximum extent. Thus, we must choose the path on which
diagonal movement is maximum, as shown in Fig. 12.4. The total elapsed time is obtained by adding
the idle time for either job to the processing time for that job.
The idle time for the chosen path is: Job 1= 4 + 6 or 10 hours and Job 2 = 4 hours
The total elapsed time is obtained as follows
Processing time of Job 1 + Idle time of Job 1
+6) 34 +(4
hours.
Processing time of Job 2 + Idle time of Job 2
=44
= 40 +(32 - 28) = 44 hours.
PROB LEMS
Two jobs must be processed through each of these
1223. A machine shop has four machines A, B, C and D. the shoP
the machines and the necessary sequence of jobs through
machines. The time (in hours) taken on each of
are given below :
Sequence
Job Time
B
Job 2 Sequence D
6
2
Time
Sequence 4 2
Job 2
Time (in hours) B
Sequence C 2 6
Job 2 4 5
Time (in hours) Karnataka B.E. (Mech.) 1994]
[Meerut M.Sc. (Math.) 2000;
The technological order for these jobs
on
machines is as follows
b
Job I b
d
Job 2
Processing times are given in the following table:
Machine
Job b
3
4 6
5 8
4 7
1226. A machine shop has six machines A, B. C, D, E and F. Two jobs must be nre
PERATIONS RESE
machines. The times on machines and the necessary sequence ot the jobs through the shoned thto processe
nop are
Order
Job I
3
D-10
4
B-30
5 givenroughbelowee
4- 20 C-10
Job B-15 D-10
E-25
A-110 30
F-15 F6
Determine the optimum sequence for the job in order to minimize the total time necess E-20
12:7. MAINTENANCE CREW SCHEDULING
The problem of scheduling job in a factory
extended tocan be
scheduling the factoru
Crews in such a minimize their idle time. Let a company have a
way so as to
in its plant that need set of di
preventive
First, crew A takes the machine and
maintenance. The crew team is divided into
two or c ifferent
replaces the parts according to the needs.
Then
machine and puts it back into
machines are known, we can
operation. If the service times of both the grounscreu 3d
on the e
so that the idle determine the optimal sequence in which the maintenance dife
time of the crews is the least.
Like for
jobs be
form may be
sequencing problems given earlier, the rules when the service
times are
summarised as given in the
i) Choose the smallest of all values that
in the two rows.
(i) If the value is in the first row then appear
the machine
by crew A in the beginning. corresponding
to the value
shall be senvi
(iii) If it is in the second row, then that
(iv) If there is a tie in the same machine will be serviced
row, either of the machines
by crew A in the end.
first, or the last, place involved is selected and
(v) After making the accordingly as the tie is in
the first or the second row.
assigned =
(vi) Repeat steps (i)
assignment, cross out the machine involved.
to (v) until all the
assignments
made. are
SAMPLE PROBLEM
1227. Themaintenance crew of a
the maintenance of the machines. Crew company is divided in two groups, C, and C, which
while Crew C, oils, and C is responsible for cares
resets the machines replacement of parts which are WO
crews C and
C2 on dijfferent machines which back for operation. Thetimes (in hours) req
Machine need working on them are as follows:
M2 M
Crew C 8 6 M4 Ms M6 M
10
Crew C 5 3 11 10 14
In what
order should the machines 12 8
be handled 6
minimised? by crew C, and C, so that the 101e taken
Solution. Treating the machines as seven
sequence can easily be obtained as items and crews optin
as the service facilities. e
M Ma Ms M
For the total elapsed time, we have
Mo MMa
M M4
Crew C n Ms M3 M
Out
4 M6
15 25 35 49
n 4 2
Crew C2 35 49 57
Out 15
27
2 35 49
35 42 62
55