Beruflich Dokumente
Kultur Dokumente
Introduction:
Questions on Scheduling
Dynamic Shops: Jobs can arrive later and exact arrival times are
not known. All jobs are not available at time (t=0).
Example: Railway reservation center customers arrive throughout
its service hours.
Deterministic versus Stochastic scheduling
The job characteristics such as ready time, processing time and
due date are all known with certainty.
In stochastic scheduling, the job characteristics are uncertain.
Parameters are assumed from historical observation.
Service times assumed to be uncertain.
The scheduling problem are classified as:
Flow shops: All the jobs visit all the machines in the same order.
Assumed that machines are numbered according to the sequence
of visit of the jobs.
Open shops: Assume that any operation can be carried out on any
machine.
Flow shop: In flow shop , the resources are organize one after the
other in order the job processed.
In pure flow shop the jobs are visit all the machines in the same order
(begin machine 1 and end machine m). The n jobs will for form
in n! ways.
each job must be processed by each machine exactly once
all jobs have the same routing.
a job cannot begin processing on the second machine until it has
completed processing on the first.
Job Shop: The machines are not organized in processing order. Each
job follow a unique order in which it visits the machines for processing.
There is no requirement for all jobs to visit a particular machine for the
first operation or a particular machine for their last operation.
each job may have a unique routing
Machine
2
Job 1
Machine
5
Machine
Machine Job 2
1
4
Job 3
Machine
Machine 6
3
Assumption in Scheduling
All the jobs are available at time zero (static scheduling).
A job once taken up is completed fully before the next job is taken.
No job interruption.
Objectives in Scheduling
Activities J1 J2 Jn Supply
Resources
w1 c11 c12 c1n 1
w2 c21 c22 c2n 1
wn cn1 cn2 cnn 1
Demand 1 1 1
Network Presentation
c1
1 1
c 1
1
c13
Jobs 2 Employees
c21
c22
2 2
c23
c31
c3
3 2 3
c33
Mathematical Model
Minimize Z = cijxij
Subject to constraints
A 4 6 11 16 9
B 5 8 16 19 9
C 9 13 21 21 13
D 6 6 9 11 7
E 11 11 16 26 11
Operators 1 2 3 4 5 6
Machine
A 9 22 58 11 19 27
B 43 78 72 50 63 48
C 41 28 91 37 45 33
D 74 42 27 49 39 32
E 36 11 57 22 25 18
F 3 56 53 31 17 28
The jobs has to route, the set of jobs visiting each machine. The
ordering of the jobs in front of each machine is to be determine. There
are n! ways of ranking-ordering jobs in front of a machine. Since there
are m machines in the shop, the number of alternate schedules that one
can draw is (n!)m.
To get the best solution with the objective minimizing time, cost is
a very difficult job.
Scheduling
Case 1:Suppose a production facility starts at 9.00 am. Two jobs will
be processed. Job 1 will required 2 hours to process and customer
wants the job done by 1.00 pm. Job 2 can be started not before 10 am.
will required 1 hour to process and customer wants the
job done by 11 am.
Case 2:
Job Ready time Processing Due date
time
1 0 2 5
2 0 3 3
Schedule 1
Job 1 Job 2
d2 d1
0 1 2
3 4 Time, t
Schedule 2
Job 2 Job 1
d2 d1
0 1 2 3 4
Time, t
Job 1 Job 2
d2 d1
0 1 2 3 4 5
Time, t
Schedule 4
Job 2 Job 1
d2 d1
0 1 2 3 4 5
Time, t
Makespan
The earliest time when all the jobs are completed. If the job j
has a completion time (Cj), makespan is given (maximum
completion time) max (Cj). The objective is to minimize
makespan.
Makespan = min max{ci}
Time between releasing a job into the shop and the time of
completion of the job. Total flow time equals the sum of
processing time of all operations of the job and other non-
productivity time, including waiting and moving various
place in shop.
If job j arrives at time Rj the total Flow time of the job: Fi=
(Cj Rj), j=1..n
C2
Job 1 Job 2
r2=2
0 1 2 3 4
Time, t
Job 2 completed at 12.00 noon, 3 hours after the start of operation.
Completion time C2= 3 hr
Job 2 arrived at 10.00 am , 1 hr after the start of operation
Flow time (F2) = c2 - r2= 3 - 1= 2 hr
If the jobs are processing at t=0, in static scheduling
Flow time = Completion time if rj=0
Due date based measures (Lateness):
The completion time is compared with the due date and some
assessment of the rules is made. Lateness is the different
between completion time and due date. If the due date for job j
is denoted as Dj then
Lateness of the job Lj = (Cj Dj)
Total lateness Lj. The objective is to minimize total lateness.
Lateness of job may be:
Negative, if the job is early
Zero, if the job is completed right with due date
Positive, if the job is late
Total Tardiness:
Job 1 Job 2
d2 d1
0 1 2 3 4
Time, t
C1= 2, C2=3, D1=4, D2=2 Then L1= C1-D1= 2- 4 = -2
L2= C2- D2= 3- 2 = 1,
T1= max(0, L1)= max(0,-2)=0
Earliness:
In some situation finishing jobs ahead of due date is also not desirable.
Customer is followed just-in-time, Goods can not send to customer
ahead of due date. Finish good inventory increase and inventory
holding cost is increase.
Tardiness has a high penalties. i.e different transport air, goodwill
cost, customers are unhappy
The objective is to minimize the total earliness and tardiness.
Min j (Ej+Tj)
Makespan and total flow time are the internal measurement and
others are external measurement as customer condition came as
due date.
Sequencing n jobs in one machine
Sequencing Rules:
Prioritize jobs assigned to a resource
If no order specified use first-come first-served (FCFS)
Many other sequencing rules exist
Each attempts to achieve to an objective
FCFS - first-come, first-served
LCFS - last come, first served
DDATE - earliest due date
CUSTPR - highest customer priority
SLACK - smallest slack
CR - Critical ratio
SPT - shortest processing time
LPT - longest processing time
Simple Sequencing Rules
J1 , J2 ,Jn Machine
Shortest process time (STP): The rule choses the jobs with the
least processing time.
SPT Schedule
FCFS Schedule
Job (in order Processing Due Date
of arrival Time (days) (days hence) Start Job Time Finish
A 3 5 0 + 3 3
B 4 6 3 + 4 7
C 2 7 7 + 2 9
D 6 9 9 + 6 15
E 1 2 15 + 1 16
DDATE Schedule
LCFS Schedule
PROCESSING DUE
JOB TIME DATE
A 5 10
B 10 15
C 2 5
D 8 12
E 6 8
Rules: FCFS
Ideal time on a machine: time for which machine does not have a job to
process i.e. ideal time from the end of the job (n-1) to the start of job i.
Total Elapsed time: Time interval between starting first job and completing
the last job including the ideal time(if any) in a particular order by the
given set of machine.
Step 1. Find the shortest processing time among the jobs not yet
scheduled. If two or more jobs are tied, choose one job
arbitrarily.
Ideal time M1= ( makespan)- (time when the last job in a sequence
finishes on machine M1)
roblem 1:
nd the sequence that minimize the total elapsed time required to
omplete the following tasks on two machines.
Task A B C D E F G H I
Machine 2 5 4 9 6 8 7 5 4
I
Machine 6 8 7 4 3 9 3 8 11
II
he smallest processing time between two machines is 2 which is ta
n machine I.
A
After the task A process, 8 tasks are left and the processing time w
Task B C D E F G H I
Machine 5 4 9 6 8 7 5 4
I
Machine 8 7 4 3 9 3 8 11
II
The minimum processing time in reduced problem is 3
which
corresponding to task E and G both on machine II.
Since the
corresponding time of task E on machine I is less than
Current partial assignment will be:
A G E
Task B C D F H I
Machine 5 4 9 8 5 4
I
Machine 8 7 4 9 8 11
II
A C I D G E
The set process time reduced to:
Task B F H
Machine 5 8 5
I
Machine 8 9 8
II
A C I H B F D G E
A 0 2 2 8
C 2 6 8 15
I 6 10 15 26
B 10 15 26 34
H 15 20 34 42
F 20 28 42 51
D 28 37 51 55
G 37 44 55 58
E 44 50 58 61
e minimum elapsed time i.e. time from start of task A to completio
ask E is 61 hours.
e idle time for machine II is equal to the time at which the first tas
he sequence finishes on machine I plus the last task E in the seque
rts in machine II minus the last but one task G finishes on machine
2+58-58=2 hours.
Problem 2:
here are seven jobs, each of which has to go through the machine
nd B in the order AB. Processing times in hours are as follows:
Jobs 1 2 3 4 5 6 7
Machine 3 12 15 6 10 11 9
A
Machine 8 10 10 6 12 1 3
B
Determine a sequence of these jobs that will minimize the total
elapsed time T. Also find T and ideal time for machine A and B.
Processing n-jobs through 3-machines
roblem 4:
Job 1 2 3 4 5
Machine I 8 10 6 7 11
Machine II 5 6 2 3 4
Machine III 4 9 8 6 5
orithm for processing n-jobs though three Machines
The minimum processing time on machine M1 is at least as great
as the maximum processing time on machine M2.
i.e. min t1j max t2j j=1,2n
The minimum processing time on machine M3 is at least as great
as the maximum processing time on machine M2.
i.e. min t3j max t2j j=1,2n
Step-1: Examine process time of given jobs on all three machines and
if either one or both the condition hold then step -2, otherwise the
algorithm fails.
Job: 1 2 3 4 5
Machine G: 8+5=13 10+6=16 6+2=8 7+3=10 11+4=15
Machine H: 5+4=9 6+9=15 2+8=10 3+6=9 4+5=9
1 2 3 4 5 6 7
ssing
g: 5 7 3 4 6 7 12
g: 2 6 7 5 9 5 8
d the order in which these items are to be processed through
stages so as to minimize the total processing time.
ppose a third stage of production is added viz pressing an packing,
processing time for these items as followings:
1 2 3 4 5 6 7
ssing time
ng and Packing: 10 12 11 13 12 10 11
d an order in which these seven items are to be processed so as to
nimize the time taken to process all the items through all the
ree stages.
Processing n-jobs through 3-machines
roblem 6:
Job 1 2 3 4 5 6
Machine I 3 12 5 2 9 11
Machine II 8 6 4 6 3 1
Machine III 13 14 9 12 8 13
Processing n-jobs through m-machines
roblem 7:
A 7 5 2 3 9
B 6 6 4 5 10
C 5 4 5 6 8
D 8 3 3 2 6