Unit 2 - Job Sequencing and Replacement Theory
Unit 2 - Job Sequencing and Replacement Theory
Course Leader:
Nisha Francis
E-mail: [email protected]
1
Faculty of Management and Commerce © Ramaiah University of Applied Sciences
Unit 2
2
Faculty of Management and Commerce © Ramaiah University of Applied Sciences
Job Sequencing and Replacement
3
Faculty of Management and Commerce © Ramaiah University of Applied Sciences
Basic Terminologies in Job Sequencing
5
Faculty of Management and Commerce © Ramaiah University of Applied Sciences
Job Sequencing problem-Example1
Example 1:
Let us consider a refrigerator servicing facility that can handle just one refrigerator at a
time. There are six refrigerators awaiting repair at some point of time. After analyzing
the failures, the amount of repair time required by each of them has been found out,.
They are given below. Ref. 1 2 3 4 5 6
no
Time 25 15 12 3 10 16
The facility as such does not have any storage space for the waiting refrigerators.
However, it hires space at a very nearby place against payment towards the storage of
every piece. A refrigerator, once serviced, is immediately sent for delivery at the
client's place. The owner of the facility is interested to know the servicing plan (in
terms of -the sequence of refrigerators) so that the total bill towards storage is
minimized
6
Faculty of Management and Commerce © Ramaiah University of Applied Sciences
Job Sequencing problem- Example2
Example 2:
Consider a printing press. Each job is processed through two machines MI and M2.
Documents arrive there for printing books, articles, magazines etc. After making the
master from the document, offset printing is done with desired number of copies on
machine MI. Binding (hard or spiral) of the material is then carried out on each volume
on machine M2. The press has at present, five jobs on hand. The time estimates for
printing and binding for each job are worked out as follows.
7
Faculty of Management and Commerce © Ramaiah University of Applied Sciences
Job Sequencing
• Vocabulary of manufacturing business is used to describe sequencing problems
• Two important identities with respect to sequencing are,
– Job- things to be repaired, manufactured etc.
– Machine- The resource/ Equipment /Service provider
Description of a shop (service facility) is governed by (a) number of machines, and
(b) the flow pattern of jobs through the machines
• Flow patterns in these shops are different. Based on the flow patterns shops can
be;
a. Flow-shop
b. Parallel processors
c. General job-shop
8
Faculty of Management and Commerce © Ramaiah University of Applied Sciences
Types of Job Sequencing Problem
• Various types of job sequencing problem arise in the world. All sequencing
problems cannot be solved.
• Example for some sequencing problems are :
i. n jobs are to be processed on one machine
ii. n jobs are to be processed on 2 machines, say, machine A and machine B in the
order AB. This means that each job is to be processed first on machine A and
then on machine B
iii. n jobs are to be processed on 3 machines A, B and C in the order ABC, i.e., first
on machine A, second on machine B and third on machine C
iv. n jobs are to be processed on m machines in the given order
v. 2 jobs are to be processed on m machines in the given order
9
Faculty of Management and Commerce © Ramaiah University of Applied Sciences
Classification of Sequencing Problems
10
Faculty of Management and Commerce © Ramaiah University of Applied Sciences
Processing of n Jobs through Two Machines
• Suppose that n jobs are to be processed on 2 machines, say, A and B. Each job has
to pass through the same sequence of operations in the same order, i.e., passing is
not allowed. After a job is completely processed on machine A, it is assigned to
machine B. If machine B is not free at that moment, then the job enters in the
waiting queue.
• Each job from the waiting queue is assigned to machine B according to FIFO (first
in first out) discipline.
• Let;
Ai = processing time for ith job on machine A
Bi= processing time for ith job on machine B
T = total elapsed time
• The problem is to determine the sequence in which n jobs should be processed
through machines A and B so that the total elapsed time (T ) is minimum.
• We present a technique developed by Johnson and Bellman for determining an
optimal sequence.
11
Faculty of Management and Commerce © Ramaiah University of Applied Sciences
Johnson’s Algorithm
• Step 1: Select the minimum processing time out of all Ai ’s and Bi ’s. If it is Ar
then do the rth job first. If it is Bs then do the sth job at last
• Step 2: If there is a tie in selecting the minimum of all the processing times, then
such a situation is dealt with the following three ways:
i. If the minimum of all the processing times is Ar , which is also equal to Bs, that
is, min(Ai ,Bi ) = Ar = Bs , then do the rth job first and sth job at last.
ii. If min(Ai ,Bi ) = Ar , but Ar = Ak , i.e., there is a tie for minimum among Ai’s,
then select any one
iii. If min(Ai ,Bi ) = Bs , but Bs = Bt , i.e., there is a tie for minimum among Bi’s, then
select any one.
• Step 3: Now, eliminate the job which has already been assigned from further
consideration, and repeat steps 1 and 2 until an optimal sequence is found.
12
Faculty of Management and Commerce © Ramaiah University of Applied Sciences
Johnson’s Algorithm
13
Faculty of Management and Commerce © Ramaiah University of Applied Sciences
n Jobs through Two Machines
Example 1
Example 1.
Suppose that there are five jobs, each of which has to be processed on two
machines A and B in the order AB. Processing times are given in the following table.
Determine a sequence in which these jobs should be processed so as to minimize
the total processing time. Also find the total elapsed time and idle time for each
machine
Solution: The minimum time in the given table is 2, which corresponds to job 2 on
machine A. So the allocation of jobs will start as 2
14
Faculty of Management and Commerce © Ramaiah University of Applied Sciences
n Jobs through Two Machines- Example 1(Conti..)
• Now, the minimum time is 3 for job 1 on machine B. Therefore, this job would be
done at last. The allocation of jobs till this stage would be 2 1
15
Faculty of Management and Commerce © Ramaiah University of Applied Sciences
n Jobs through Two Machines-
Example 1(Conti..)
• After deletion of job 1, the reduced set of processing times is as follows:
2 4 3 5 1
16
Faculty of Management and Commerce © Ramaiah University of Applied Sciences
n Jobs through Two Machines
-Example 1
• On the basis of this optimal sequence, the minimum elapsed time is obtained
from the following table as 36 hours. Now, on the basis of this optimal
sequence, we construct the following table:
•2 Optimal Sequence
•4
•3
•5
•1
17
Faculty of Management and Commerce © Ramaiah University of Applied Sciences
n Jobs through Two Machines
-Example 1(Conti..)
Further,
• idle time for machine A = total elapsed time − time when the last job is out of
machine A = 36−33 = 3 hours
• Idle time for machine B = time at which the first job in a sequence finishes on
machine A + (time when the ith job starts on machine B) − (time when the (i -1)th
job finishes on machine B)
• Therefore, idle time for machine B = 2 + (9 − 9) + (18 − 18) + (27 − 26) + (33 − 32)
= 4 hours
18
Faculty of Management and Commerce © Ramaiah University of Applied Sciences
Johnson’s Algorithm-n Jobs through Two Machines
Example -2
Example 2: A book binder company has one printing machine and one binding
machine. There are manuscripts of a number of different books. Processing times
for printing and binding are given in the following table:
Time in hours
Book
Printing Binding
A 5 2
C 9 7
D 3 8
E 10 4
20
Faculty of Management and Commerce © Ramaiah University of Applied Sciences
n Jobs through Two Machines-
Example 2
• Now, the minimum time is 2 for book A on binding machine. Therefore, this job
should be done at last.
• The allocation of jobs till this stage is .
• The reduced set of processing times is as follows:
OPTIMAL SEQUENCE
• From the last column, we find that the minimum elapsed time is 30 hours
• Idle time for printing process = total elapsed time − time when the last job is out of
machine A = 30 − 28 = 2 hours
• Idle time for binding process = 1 + (7 − 7) + (15 − 15) + (23 − 22) + (28 − 27) = 3
hours.
22
Faculty of Management and Commerce © Ramaiah University of Applied Sciences
n Jobs through Two Machines-
Exercise 1
There are seven jobs, each of which has to be processed on two machines. A and B
in the order AB. Processing times are given in the following table:
Determine a sequence of these jobs that will minimize the total elapsed time. Also
find out the total elapsed time and idle machines A and B
23
Faculty of Management and Commerce © Ramaiah University of Applied Sciences
Johnson’s Algorithm- Processing n Jobs through 3 Machines
• Example 1.4: Find the sequence that minimizes the total time required in
performing the following jobs on three machines in order ABC. Processing times (in
hours) are given in the following table : Find the optimal sequence and the total
elapsed time as well as idle time for each machine
• From data of the problem, we see that minimum time taken under machine A (min tAj)= 6
• maximum time taken under machine B(max tBj) = 6
• minimum time taken under machine C (min tCj) = 4 (i.e, min (tAj)=6, min(tCj) = 4; max(tBj) = 6. Since
the condition min(tAj) ≥ max(tBj) is satisfied for all j, the given problem can be converted into a
problem of 5 jobs and two machines. 26
Faculty of Management and Commerce © Ramaiah University of Applied Sciences
Processing n Jobs through 3 Machines- Example 1
• When the procedure described for n jobs on two machines is applied to this
problem, the optimal sequence so obtained is given by 3 2 5 1 4 (it can vary as there
is tie in the minimum values under machine H
• Now, calculate the total time elapsed and idle time of each machine A, B and C the
same way as for two machines
27
Faculty of Management and Commerce © Ramaiah University of Applied Sciences
Processing n Jobs through 3 Machines- Exercise 2
28
Faculty of Management and Commerce © Ramaiah University of Applied Sciences
References
a. Essential Reading
• Class Notes
• Hiller and Lieberman (2017), Introduction to Operations Research, McGraw Hill Education
• Taha, H (2014) An Introduction to Operations Research, Pearson Education India, 9 th
edition
• Sharma, JK (2010), Quantitative Methods: Theory and Applications Paperback, Laxmi
Publications
b. Recommended Reading
• Waters Donald (2011), Quantitative Methods for Business, Pearson Education India; 5 th
edition
c. Magazines and Journals
• Harvard Magazine – Trends in Business decision making, 6 times per year 2. Sloan
Management Review – MIT, Quarterly
• Websites 1. https://harvardmagazine.com/
29
Faculty of Management and Commerce © Ramaiah University of Applied Sciences