Operations MGMT 4
Operations MGMT 4
Scheduling
By
Dr. Yousaf Ali khan
Department of Management Sciences
GIKI, Pakistan
• Scheduling is the allocation of resources over time to
perform a collection of tasks
• Resources
Workers, Machines, Tools
• Tasks
Operations that bring some physical changes to material in
order to eventually manufacture products
Setups such as walking to reach the workplace, obtaining
and returning tools, setting the required jigs and fixtures,
positioning and inspecting material, cleaning etc.
Production
High
Project Systems
Job Shop
Batch
Customization
production
Flow
Shop
Continuous
production
Low
Low High
Volume
Production
High Aircraft
Project
Custom-made
Systems
machines and
Job Shop parts
Books
Batch
Customization
production
Automobile
Flow
Shop
Oil refinery
Continuous
production
Low
Low High
Volume
Labor intensive Production
High
Project Systems
Job Shop
Batch
Customization
production
Capital
Flow
Shop intensive
Continuous
production
Low
Low High
Volume
More frequent Production
High Rescheduling
Project Systems
Job Shop
Batch
Customization
production
Less frequent
Flow
Shop Rescheduling
Continuous
production
Low
Low High
Volume
Infinite/Finite Scheduling
(a) Sequence the jobs using (1) FCFS, (2) SPT, (3) EDD, and (4) CR.
Assume the list is by order of arrival.
(b) For each of the methods in part a, determine (1) the average job
flow time, (2) the average tardiness, and (3) the average number of jobs
at the work center.
(c) Is one method superior to the others? Explain.
Sequencing Jobs through Two Work Centers
• Johnson’s rule is a technique that managers can use to
minimize the makespan for a group of jobs to be
processed on two machines or at two successive work
centers (sometimes referred to as a two-machine flow
shop). It also minimizes the total idle time at the work
centers. For the technique to work, several conditions
must be satisfied:
• Job time (including setup and processing) must be known
and constant for each job at each work center.
• Job times must be independent of the job sequence.
• All jobs must follow the same two-step work sequence.
• A job must be completed at the first work center before the
job moves on to the second work center.
Johnson’s rule
• Application of Johnson’s rule begins with a listing of all jobs
to be scheduled, and how much time will be required by each
job at each workstation. The sequence is determined by
following these steps:
1. Select the job with the shortest time. If the shortest time is at the first work
center, schedule that job first; if the time is at the second work center,
schedule the job last. Break ties arbitrarily.
2. Eliminate the job and its time from further consideration.
3. Repeat steps
Example
• A group of six jobs is to be processed through a two-machine flow shop.
The first operation involves cleaning and the second involves painting.
Determine a sequence that will minimize the total completion time for this
group of jobs. Processing times are as follows:
Thus, the group of jobs will take 51 hours to complete.
The second work center will wait two hours for its first
job and also wait two hours after finishing job C.
Center 1 will be finished in 37 hours. Of course, idle
periods at the beginning or end of the sequence could
be used to do other jobs or for maintenance or
setup/teardown activities.
Quiz
• Five jobs are to be processed on two machines
M1 and M2 in the order M1-M2. processing
time in hours are given below
Job 1 2 3 4 5
M1 5 1 9 3 10
M2 2 6 7 8 4
Processing ‘n’ jobs through 3 machines
There are only three machines M1, M2, M3 are involved.
Each job is processed in the prescribed order M1-M2-M3.
No passing of jobs is permitted.
The actual or expected processing times on each of the machines for each
job is given.
• The objective here is to obtain the optimal sequence of jobs which
minimizes the total elapsed time.
• Johnson’s algorithm can be extended to ‘n’ machine and 3 machine
provided the following conditions are satisfied.
(a) The smallest processing time on M1 should be greater than or equal to
largest processing time on M2.
(b)Minimum processing time on M3≥Maximum processing time on M2.
If either or both of the above conditions are satisfies, the given problem can
be solved using Johnson’s method
Processing ‘n’ jobs through 3 machines
Procedure:
Step1:Convert the three machine problem in to two machine problem by introducing
two factious machine G and H. such that
Step2:Now the ‘n’ job 3 machines is converted into ‘n’ job 2 machine problem which
can be solved by using Johnson's algorithm to get the optimal sequence.
Step3:For the optimal sequence determined, find out the minimum total elapsed time
and idle times associated with machines.
Tie breaking rules
1: If there are equal smallest times, one for each machine, place the job on machine 1,
first in the sequence and one in machine 2 last in the sequence.
2: If the equal smallest processing times are both for machine 1, select the job with
lower processing time in machine 2 for placing first in the sequence.
3: If the equal smallest times are both for machine 2, select the one with lower
processing time in machine 1, for placing last in the sequence.
Example: seven jobs are to be processed through three machines A, B and C in the sequence ABC. The
processing times are given in hrs to process each one of the jobs through all the three machines. Find the
optimal sequence of the jobs that minimizes the total elapsed time and find idle time associated with
machines Band C. Jobs j1 j2 j3 j4 j5 j6 j7
A 3 8 7 4 9 8 7
B 4 3 2 5 1 4 3
Solution: C 6 7 5 11 5 6 12
Step1: check for the conditions to be satisfied.
Minimum processing time on machine A=3
Minimum processing time on machine C=5
Maximum processing time on machine B=5
Condition1: Minimum processing time on M/A ≥ Max time on B. i.e 3 >5
Condition 1 is not satisfied
Condition2: Min. time on M/C ≥ Max time on M/B. i.e 5 ≥5.
Because condition 2 is satisfied, so the problem can be solved by Johnson’s.
Step2: convert 3 machine 7 job problem into 2 machine 7 job problem by assuming two factious machines G
and H such that and
Jobs G H
The optimal sequence is determined using Johnson’s algorithm
j1 7 10
j2 11 10
j3 9 7 J1 J4 J7 J6 J2 J3 J5
j4 9 16
j5 10 6
j6 12 10
j7 10 15
Minimum processing time is as follows
The manager needs a workforce schedule that provides two consecutive days
off and minimizes the amount of total slack capacity. To break ties in the
selection of off days, the scheduler gives preference to Saturday and Sunday if
it is one of the tied pairs. If not, she selects one of the tied pairs arbitrarily.
Workforce Scheduling
Steps 1 & 2
Required employees
Day M T W Th F S Su
Number of employees 6 4 8 9 10* 3 2
Employee 1 X X X X X
Step 1. Find all the pairs of consecutive days that exclude the maximum daily
requirements. Select the unique pair that has the lowest total requirements for the 2
days.
Friday contains the maximum requirements (10), and the pair S–Su has the lowest total
requirements. Therefore, Employee 1 is scheduled to work Monday through Friday.
Step 2. If a tie occurs, choose one of the tied pairs or ask the employee to make a
choice.
Workforce Scheduling
Step 3
Required employees
Day M T W Th F S Su
Number of employees 6 4 8 9 10* 3 2
Employee 1 X X X X X
Requirements 5 3 7 8 9* 3 2
Employee 2 X X X X X
Step 3. Subtract the requirements satisfied by the Employee 1 from the net requirements
for each day the employee is to work and repeat step one.
Again the pair S–Su has the lowest total requirements. Therefore, Employee 2 is
scheduled to work Monday through Friday.
Workforce Scheduling
Step 4
Required employees
Day M T W Th F S Su
Number of employees 6 4 8 9 10* 3 2
Employee 1 X X X X X
Requirement 5 3 7 8 9* 3 2
Employee 2 X X X X X
Requirement 4 2 6 7 8* 3 2
Employee 3 X X X X X
Requirement 3 1 5 6 7* 3 2
Step 4. Repeat steps 1 through 3 until all the requirements have been satisfied. After
Employees 1, 2, and 3 have reduced the requirements, the pair with the lowest
requirements changes, and Employee 4 will be scheduled for Wednesday through
Sunday.
Workforce Scheduling
Step 4 continued
Required employees
Day M T W Th F S Su
Number of employees 6 4 8 9 10* 3 2
Employee 1 X X X X X
Requirement 5 3 7 8 9* 3 2
Employee 2 X X X X X
Requirement 4 2 6 7 8* 3 2
Employee 3 X X X X X
Requirement 3 1 5 6 7* 3 2
Employee 4 X X X X X
Requirement 3 1 4 5 6* 2 1
Employee 5 X X X X X
Workforce Scheduling
Step 4 continued
Required employees
Day M T W Th F S Su
Requirement 2 0 3 4 5* 2 1
Employee 6 X X X X X
Requirement 2 0 2 3 4* 1 0
Employee 7 X X X X X
Requirement 1 0 1 2 3* 1 0
Employee 8 X X X X X
Requirement 0 0 0 1 2* 1 0
Employee 9 X X X X X
Requirement 0 0 0 0 1* 0 0
Employee 10 X X X X X
Workforce Scheduling
Final Schedule
Day M T W Th F S Su
Employee 1 X X X X X off off
Employee 2 X X X X X off off
Employee 3 X X X X X off off
Employee 4 off off X X X X X
Employee 5 X X X X X off off
Employee 6 off off X X X X X
Employee 7 X X X X X off off
Employee 8 X X X X X off off
Employee 9 off X X X X X off
Employee 10 X X X X X off off
Workforce Scheduling
Final Schedule
Final Schedule M T W Th F S Su
Total
Capacity, C 7 8 10 10 10 3 2 50
Requirements, R 6 4 8 9 10 3 2 42
Slack, C – R 1 4 2 1 0 0 0 8
Quiz
• The Food Bin grocery store operates 24 hours per day, 7 days per week.
At the end of the month, they calculated the average number of checkout
registers that should be open during the first shift each day. Results
showed peak needs on Saturdays and Sundays.
1. Develop a schedule that covers all requirements while giving two consecutive days
off to each clerk. How many clerks are needed?
2. Plans can be made to use the clerks for other duties if slack or idle time resulting
from this schedule can be determined. How much idle time will result from this
schedule, and on what days?
Sequencing Jobs When Setup Times
Are Sequence-Dependent
• The preceding discussion and examples assumed that machine setup times
are independent of processing order, but in many instances that assumption
is not true. Consequently, a manager may want to schedule jobs at a
workstation taking those dependencies into account. The goal is to
minimize total setup time.
• Consider the following table, which shows workstation machine setup times based
on job processing order. For example, if job A is followed by job B, the setup time
for B will be six hours. Furthermore, if job A is completed first, followed by job B,
job C will then follow job B and have a setup time of four hours. If a job is done
first, its setup time will be the amount shown in the setup time column to the right
of the job. Thus, if job A is done first, its setup time will be three hours.
The simplest way to determine which sequence will result in the lowest total setup time
is to list each possible sequence and determine its total setup time. In general, the number
of different alternatives is equal to n!, where n is the number of jobs. Here, n is 3, so
n! = 3 ×2 ×1 = 6. The six alternatives and their total setup times are as follows:
Hence, to minimize total setup time, the manager would select sequence B-A-C. This
procedure is relatively simple to do manually when the number of jobs is two or three.
However, as the number of jobs increases, the list of alternatives quickly becomes larger.
For example, six jobs would have 720 alternatives. In such instances, a manager would
employ a computer to generate the list and identify the best alternative(s). (Note that
more than one alternative may be tied for the lowest setup time.)