SCHEDULING AND SEQUENCING
It deals with:-
Definition:-
It includes:-
1) Allocate scarce resources to activities over time.
Here we are going to use deterministic
model i.e. the processing time will be assumed. We use deterministic model as a
simplification as actual time is not always constant but varies slightly. e.g.
10+-.05. Here we take time as 10 min and neglect +-0.5.
2) Scheduling on a single process. e.g. Doctor's clinic.
Optimization on a single
machine may not give optimal solution for whole system in all cases.
Simplifying Assumptions:-
This is useful when some all the machines are not used in the sequencing.
Notations:-
Pi : Processing times for job i ( includes
setup time).
Di : Due date for job i.
Ri : Arrival time for job i. ( Here Ri=0)
Wi : Waiting time for job i.
Ci : Completion time for job i.
Fi : Flow time for job i.
Fi = Ci - Ri Here Fi = Ci.
= Wi + Pi.
Ti : Tardiness for the job i. --> It
measures how late you are.
If ( Ci - Di) > 0 then Ti = Ci - Di.
It means that if you are early no reward is awarded but if late penalty is
imposed.
Some Criteria for assessing
scheduling policy:
·
Minimize
average tardiness i.e. 1/nSTi.
·
Minimize
average flow time i.e. 1/nSFi à ( min
work in process)
The reason of minimizing average flow time are:
·
Cost is proportional to it.
·
It may be satisfactory to customer.
·
Minimize maximum tardiness
Tmax = max Ti
·
Minimize number of tardy jobs.
It may help in number of order you loose.
Example of
Scheduling Procedures:
SPT
(Shortest Processing Time Procedure)
|
Product |
Production Time |
Due Date |
|
1 |
4 |
6 |
|
2 |
7 |
9 |
|
3 |
2 |
19 |
|
4 |
8 |
17 |
Here SPT is <3, 1, 2, 4> depending on increasing production time.
Flow time (Fi)
for i th process = SP( for 1 to
i-1)+Pi
Average Flow Time
= (F1+F2+F3+F4)/4
=
(6 + 13 + 2 + 21)/4 = 10.5
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
i-1 Pi P i+1
If we are not
using SPT then there is atleast one pair such that Pi>P i+1
Before
interchanging, let the flow time of i and i+1 process be c+Pi and c+Pi+P
i+1 .
The
time becames 2c+2Pi+P i+1
and 2c+Pi+2P i+1
---------------------------------------------------------------------------------------------------------------------------