Sequencing
Sequencing
LA ST LY , IF STU DEN T DUE T O SOME UNAV OI DABLE REASON S , n – JOBS ON 2 MACHINES ………. Pg 09
H A S M I SSE D T HE LECTU RE , WI LL N OT HAVE T O R UN HERE
A N D TH ERE T O UP DA TE H I S/ HER N OTES .
Suppose we have two machines M 1 and M 2 . We have two jobs A and B to Let us try rev ersing the order of the jobs i.e we begin with job B instead
be processed on the two machines in the order M 1 M 2 of job A
Jobs
Machines A B MACHINES
M1 5 3 M1 M2
B 0 3 3 8
Suppose we start with job A and for simplicity we assume that we start at A 3 8 8 11
MACHINES
Observe that , by merely changing the order in which the jobs were
M1 M2
performed on the machines , we could save 2 HRS
JOBS IN OUT IN OUT
A 0 5 5 8 Hence it is very important to know the order in which the jobs should be
B lined up for processing so as to complete the entire schedule in minimum
time
MACHINES Such problems are called “Sequencing Problems” where one has to
M1 M2 sequence the order in which n jobs are to be allotted to ‘m’ machines so
JOBS IN OUT IN OUT that total time required to complete all the jobs i s minimized
A 0 5 5 8
B 5 8 8 13
1
TERMINOLOGY
HOW TO FIND OPTIMAL SEQUENCE
Total Elapsed Time
Its is the time to complete all jobs . It is the time between the
Case 1: The smallest time occurs exactly at one place
beginning of the first job at the first machine till the completion of
If this smallest time is for machine M 1 , then place the
the last job on the last machine
corresponding job at the first place in the sequence i.e
Since we begin with ‘0’ time , the total elapsed time is the last figure
towards the left of the sequence
in the worktable
Idle time for machines If this smallest time is for machine M 2 , then place the
‘Idle time’ means that the machine is available but is waiting for the corresponding job at the last available space in the sequence
idle time = Total elapsed time Last out time on Machine M 1 Case 2: the smallest time occurs at more than one place
If all these timings are for machine M 1 then pick up any job
For Machine M 2 , idle time are of the following two categories
randomly and continue the placements from the first available
a) till the first job is processed by machine M 1 and is ready to
place from the left of the sequence
enter machine M 2 , the machine M 2 is idle
C 8 13 14 18
2
N JOBS ON 2 MACHINES
01. Find the sequence that minimizes total elapsed time (in hours) STEP 2
Mc B 6 4 2 1 5
WORK TABLE
Mc A Mc B
STEP 1
JOB IN OUT IN OUT IDLE
(2)
Min time = 1 on job IV on Mc B IV V 0 2 2 7
B C D
E F G I 2 5 7 13
NEXT
Min time = 2 on job V on Mc A V III IV II 5 8 13 17
on job III on Mc B B C D E
III 8 15 17 19 (1)
F G
IV 15 20 20 21
NEXT
Min time = 3 on job I,II on Mc A V I II III IV
B C D
RANDOM STEP 3
E F G
TOTAL ELAPSED TIME (T) = 21 HRS
3
02. Five jobs must pass through a lathe and a surface grinder in that STEP 2
GRINDER (M 2 ) 3 2 4 3 6
WORK TABLE
LATHE GRINDER
STEP 1
JOB IN OUT IN OUT IDLE
(1)
Min time = 1 on job II on M 1 II B C D II 0 1 1 3
E F G
IV 1 3 3 6 (2)
NEXT
Min time = 2 on job IV on M 1 II IV B C V 3 8 8 14
D E F G
III 8 13 14 18
NEXT
I 13 17 18 21
Min time = 3 on job I on M 2 II IV II B
C I D E F
NEXT G
STEP 3
Min time = 4 on job III on M 2 II IV III IB I
TOTAL ELAPSED TIME (T) = 21 HRS
C I D E F
G IDLE TIME ON LATHE = T – 17 = 4 HRS
4
03. Find the sequence that minimizes total elapsed time (in hours) STEP 2
Mc Y 12 16 14 8 4 = 54
Job A B C D E
Mc X 10 2 18 6 20
WORK TABLE
Mc Y 4 12 14 16 8
M/C X M/C Y
STEP 1
JOB IN OUT IN OUT IDLE
(2)
Min time = 2 on job B on Mc X B B C D B 0 2 2 14
E F G
D 2 8 14 30
NEXT
Min time = 4 on job A on Mc Y B A C 8 26 30 44 (2)
B C D
E 26 46 46 54 (2)
NEXT E F G
A 46 56 56 60
Min time = 6 on job D on Mc X B D A I
B C I D E
NEXT F G
STEP 3
Min time = 8 on job E on Mc Y B D E AB I
TOTAL ELAPSED TIME (T) = 60 HRS
C I D E F
G
IDLE TIME ON M 1 = T – 56 = 4 HRS
TURNING 3 12 5 2 9 11
TURNING THREADING
THREADING 8 10 9 6 3 1
JOB IN OUT IN OUT IDLE
TURNING – M 1 , THREADING – M 2
(2)
STEP 1 4 0 2 2 8
1 2 5 8 16
Min time = 1 on job 6 on M2 6
B C D 3 5 10 16 25
NEXT E F G 2 10 22 25 35
Min time = 2 on job 4 on M 1 4 6
5 22 31 35 38 (4)
B C D
NEXT E F G 6 31 42 42 43
B C D
E F G 6
05. Find the sequence that minimizes the total elapsed time to STEP 2
complete the following jobs in the order AB . Find the total TOTAL
elapsed time and idle time for both the machines Job VII I IV V II III VI PROCESSING TIME
M/c A 7 16 19 10 14 15 5 M/c B 7 12 10 16 14 14 5 = 78
I 5 12 12 24
NEXT B C D E
F G IV 12 22 24 34 (2)
Min time = 7 on job I on M A VII I VI
V 22 36 36 52
II 36 52 52 66 (5)
NEXT B C D E
F G III 52 71 71 85 (1)
Min time = 10 on job I V on M A VII I IV VI
VI 71 86 86 91
STEP 3
NEXT B C D E
F G TOTAL ELAPSED TIME (T) = 91
Min time = 14 on job II & III VII I IV II III VI
VII I IV V II III VI
7
B C D E
06. Find the sequence that minimizes the total elapsed time to STEP 2
complete the following jobs in the order AB . Find the total TOTAL
elapsed time and idle time for both the machines Job III V II VI I IV VII PROCESSING TIME
(in minutes)
NEXT B
I 5 10 14 21
Min time = 4 on job IV on M B C D E F
IV VII
G IV 10 16 21 29
NEXT V 16 23 29 37
III V II VI I IV VII
8
B C D E
SEQUENCING ‘N’ JOBS ON 3 MACHINES
CONDITION TO BE SATISFIED
machines M 1 and M 2
machines M 2 and M 3
Symbolically we write it as G = M1 + M2
H = M2 + M3
WORK TABLE
schedule
9
N JOBS ON 3 MACHINES
01. STEP 4
Find the optimal sequence that minimizes total t ime required to Job 2 5 4 3 1 TOTAL
PROC. TIME
complete the following jobs in the order ABC . The processing
M/c A 7 5 9 6 5 = 32 HRS
times are given in hrs
M/c B 1 3 5 4 2 = 15 HRS
Job 1 2 3 4 5 M/c C 7 7 6 5 3 = 28 HRS
M/c A 5 7 6 9 5
M/c C 3 7 5 6 7
M/c A M/c B M/c C
STEP 1 : Min time on M/c A = 5 ; Max time on M/c B = 5 JOB IN OUT IN OUT IDLE IN OUT IDLE
5 7 12 12 15 (6) 15 22 (4)
STEP 2 : CONVERTING TO 2 FICTITIOUS M/C’S G & H
4 12 21 21 26 (1) 26 32
G = A + B
3 21 27 27 31 (1) 32 37
H = B + C
1 27 32 32 34 (6) 37 40
Job 1 2 3 4 5
G 7 8 10 14 8
STEP 5
H 5 8 9 11 10
TOTAL ELAPSED TIME (T) = 40 HRS
STEP 3 : Using the OPTIMAL SEQUENCE ALGORITHM IDLE TIME ON M/c A = T – 32 = 8 HRS
10
02. Find the optimal sequence that minimizes total time required STEP 4
to complete the following jobs in the order ABC . The Job 3 2 1 4 5 TOTAL
PROC. TIME
processing times are given in hrs
M/c A 6 10 8 7 11 = 42 HRS
Job 1 2 3 4 5
M/c B 2 6 5 3 4 = 20 HRS
M/c A 8 10 6 7 11 M/c C 8 9 4 6 5 = 32 HRS
M/c B 5 6 2 3 4
G = A + B 2 6 16 16 22 (2) 16 25 (4)
H = B + C 1 16 24 24 29 (2) 29 33 (1)
STEP 5
STEP 3 : Using the OPTIMAL SEQUENCE ALGORITHM
11
03. a publisher provides 5 books on Mathematics . The books STEP 4
M/c R 8 10 6 7 11
M/c P M/c Q M/c R
STEP 1 : Min time on M/c P = 4 ; Max time on M/c Q = 6
JOB IN OUT IN OUT IDLE IN OUT IDLE
Min time on M/c R = 6
(4) (9)
Min (M/c R) Max (M/c Q) ……… condition satisfie d
A 0 4 4 9 (1) 9 17
G = P + Q , H = Q + R E 10 15 15 19 (5) 24 35
Job A B C D E B 15 24 24 30 (2) 35 45
G 9 15 10 9 9
C 24 32 32 34 (17) 45 51
H 13 16 8 10 15
STEP 5
STEP 3 : Using the OPTIMAL SEQUENCE ALGORITHM
TOTAL ELAPSE D TIME (T) = 51 HRS
OPTIMAL SEQUENCE
A D E B C IDLE TIME ON M/c P = T – 32 = 19 HRS
B DOM C
R AN D E
IDLE TIME ON M/c Q = T – 20 = 31 HRS
N OTE : J OBS A , D , E ARE P LACE D R AN DOMLY
F G
(4+1+2+5+2+17 = 31 , CHECKED )
H EN CE T HERE AR E 6 OP T IMAL SE QUE NCE S . HOWEVER
SOLUT I ON G IV EN AHE AD IS F OR T HE ABOVE OP TIM AL IDLE TIME ON M/c R = T – 42 = 9 HRS
SE QUEN CE A – D – E – B – C
12
04. A toy manufacturing company produces 5 typ es of toys . Each STEP 4
M/c C 8 18 16 12 10
M/c A M/c B M/c C
STEP 1 : Min time on M/c A = 12 ; Max time on M/c B = 12
JOB IN OUT IN OUT IDLE IN OUT IDLE
Min time on M/c C = 8
(12) (16)
Min (M/c A) Max (M/c B) ……… condition satisfied
3 0 12 12 16 (16) 16 32 (12)
STEP 5
STEP 3 : Using the OPTIMAL SEQUENCE ALGORITHM
TOTAL ELAPSED TIME (T) = 102 HRS
OPTIMAL SEQUENCE
3 2 1 4 5 IDLE TIME ON M/c A = T – 84 = 18 HRS
R AN DOM
B C D E
IDLE TIME ON M/c B = T – 40 = 62 HRS
N OTE : J OBS 1 , 4 , 5 ARE PLACE D R
F AN DOMLYG
(12+16+4+4+16+10 = 62 , CHECKED )
H EN CE T HERE AR E 6 OP T IMAL SE QUE N CE S . HOWEVER
IDLE TIME ON M/c C = T – 64 = 38 HRS
SOLUT I ON G IV EN AHE AD IS F OR T HE ABOVE OP TIM AL
SE QUEN CE 3 – 2 – 1 – 4 – 5 (16+12+10 = 12 , CHECKED )
13
05. STEP 4
Find the optimal sequence that minimizes total time required to Job III V II VI VII IV I TOTAL
PROC TIME
complete the following jobs in the order ABC . The processing
M/c A 5 6 7 7 12 11 6 = 54 HRS
times are given in hrs
M/c B 2 1 3 5 3 5 4 = 23 HRS
Job I II III IV V VI VII M/c C 7 9 8 8 7 4 3 = 46 HRS
M/c A 6 7 5 11 6 7 12
(5) (7)
STEP 1 : Min time on M/c A = 5 ; Max time on M/c B = 5 III 0 5 5 7 (4) 7 14
Min time on M/c C = 3
V 5 11 11 12 (6) 14 23
Min (M/c A) Max (M/c B) ……… condition satisfied
II 11 18 18 21 (4) 23 31
H 7 11 9 9 10 13 10 STEP 5
14
06. STEP 4
Find the optimal sequence that minimizes total time required to Job I IV VII VI II III V TOTAL
PROC TIME
complete the following jobs in the order ABC . The processing
M/c A 3 4 7 8 8 7 9 = 46 HRS
times are given in hrs
M/c B 4 5 3 4 3 2 1 = 22 HRS
Job I II III IV V VI VII M/c C 6 11 12 6 7 5 5 = 52 HRS
M/c A 3 8 7 4 9 8 7
(3) (7)
STEP 1 : Min time on M/c A = 3 ; Max time on M/c B = 5 III 0 3 3 7 7 13
Min time on M/c C = 5
V 3 7 7 12 (2) 13 24
Min (M/c C) Max (M/c B) ……… condition satisfied
II 7 14 14 17 (5) 24 36
H 10 10 7 16 6 10 15
STEP 5
STEP 3 : Using the OPTIMAL SEQUENCE ALGORITHM TOTAL ELAPSED TIME (T) = 59 HRS
15