Professional Documents
Culture Documents
Lecture - Scheduling
Lecture - Scheduling
Operations Scheduling
Operations Scheduling
Contents
Introduction
Job Shop Scheduling Terminology
Sequencing Rules
Sequencing Theory for a Single Machine
Sequencing Theory for Multiple Machines
Assembly Line Balancing
Advanced Topics for Operations scheduling
Introduction-What is Operations Scheduling ?
Forecast of future demand
Implement the production
orders generated in MRP under
given objectives ; Aggregate plan
Allocate production resources
(machine, workers et al.) to
Master production schedule (MPS)
production orders (jobs or tasks
Schedule of production quantities by
and their due dates) in an
product and time period
optimized manners;
The results are time allocations
Material Requirement Planning (MRP)
of production resources to
different jobs (job sequences on Generate production orders and
each production resources); purchase order
All the orders can be completed
while all production resources Operations Scheduling
are utilized with their loads To meet quantities and time
being balanced. requirements for MRP
Scheduling
Specifying the start and the end time for each job
(actively scheduled).
Time of the start of the last task is considered as the time for
the start of the previous activity.
Shop Floor Control (SFC)
Job A
Job B
Not all jobs are assumed to require exactly the same number of operations, and
some jobs may require multiple operations on a single machine (Reentrant
system, Job B twice in work center 3 ).
Each job may have a different required sequencing of operations.
No all-purpose solution algorithms for solving general job shop problems ;
Operations scheduling of shop floor usually means job shop scheduling;
Job Shop Scheduling Terminology
Job B M3 M4 Job B M3 M4
M , M2, M3, and M4 are different;
1
Job A has 2 operations which should be
processed on different Machines: M1and M1, M2, M3, and M4 are
M2; identical;
Job B has 3 operations which should be Jobs A and B can be processed
processed on different Machines: M3, M2 on any one of the 4 machines
and M4;
Job Shop Scheduling Terminology
2 Flow time
The flow time of job i is the time that elapses from the initiation of
that job on the first machine to the completion of job i.
The mean flow time, which is a common measure of system
performance, is the arithmetic average of the flow times for all n
jobs
3. Make-span
The make-span is the time required to complete a group of jobs (all n
jobs).
Minimizing the make-span is a common objective in multiple-machine
sequencing problems.
Machines
When the completion of Job is earlier than due date, the tardiness is 0
Sequencing Rules
CR (Critical ratio)
Critical ratio is the remaining time until due date divided by processing
time;
Scheduling the job with the smallest CR next;
Example 5.1
A machine center in a job shop for a local fabrication company has five
unprocessed jobs remaining at a particular point in time. The jobs are labeled
1, 2, 3, 4, and 5 in the order that they entered the shop. The respective
processing times and due dates are given in the table below.
Sequence the 5 jobs by above 4 rules and compare results based on mean
1 11 61
2 29 45
3 31 31
4 1 33
5 2 32
Mean Flow time=268/5=53.6
Sequencing Rules——FCFS Average tardiness=121/5=24.2
No. of tardy jobs=3.
1 11 61
2 29 45
3 31 31
4 1 33
5 2 32
1 11 61
2 29 45
3 31 31
4 1 33
5 2 32
1 11 61
2 29 45
3 31 31
4 1 33
5 2 32
Both Jobs 4 and 5 are later, however Job 4 has shorter processing time
and thus is scheduled first; Finally, job 1 is scheduled last.
Job number Processing Time Completion Time Tardiness
3 31 31 0
2 29 60 15
4 1 61 28
5 2 63 31
1 11 74 13
Totals 289 87
Sequencing Rules——Summary
Discussions
SPT results in smallest mean flow time;
EDD yields the minimum maximum tardiness (42, 43, 18, and 31 for the 4
different rules);
Always true? Yes!
Sequencing Theory for A Single Machines
W4=t1+t2+t3 F4=W4+t4
F =Flow time for job i, the waiting time plus the processing time: F = W + t ;
i i i i
1.Shortest-Processing-Time Scheduling
Theorem 8.1 The scheduling rule that minimizes the mean flow
time F’ is SPT.
k
Suppose a schedule is [1], [2], … [k], [k+1], … F =∑t[i ]
[k ]
[n], the flow time of the job that is scheduled in i=
1
F[2]=t[1]+t[2]=t2+t1
∑ ∑∑
'
F =
n F [k ]
=
n t [i ]
the schedule is given by i=1 k=1 i=1
Sequencing Theory for A Single Machines
1.Shortest-Processing-Time Scheduling
Theorem 8.1 The scheduling rule that minimizes the mean flow
time F’ is SPT
n n k
1 1
∑ ∑∑
'
The mean flow time is given by F =
n F
i=1
[k ]
=
n k=
t
1 i=1
[i ]
The double summation term may By summing down the column rather
be written in a different form. than across the row, we may rewrite F’
Expanding the double summation, in the form
we obtain
k=1:t[1] ; nt[1]+(n-1)t[2]+…+t[n]
k=2:t[1]+ t[2];
…;
Clearly, it is minimized by setting
k=n:t[1]+ t[2 +…t[n]
t [1]
≤ t [2] ≤ ... ≤ t [ n ]
SPT sequencing rule: the job with shortest processing time t is set first
Sequencing Theory for A Single Machines
Example 8.3
Job 1 2 3 4 5 6
Due date 15 6 9 23 20 30
Processing time 10 3 4 8 10 6
Job 2 3 1 5 4 6
Due date 6 9 15 20 23 30
Processing time 3 4 10 10 8 6
Completion 3 7 17 27 35 41
time
Sequencing Theory for A Single Machine
Job 2 3 5 4 6
Due date 6 9 20 23 30
Processing time 3 4 10 8 6
Completion time 3 7 17 25 31
Job 2 3 4 6
Due date 6 9 23 30
Processing time 3 4 8 6
Completion time 3 7 15 21
The Algorithm
First schedules the job to be completed last, then the job to be completed
next to last, and so on. At each stage one determines the set of jobs not
required to precede any other. Call this set V. among the set V, choose the
job k that satisfies
g k (τ ) = min ( g i (τ )) e.g.: the job among V that has smallest tardiness,
i∈v if arranged on position [n].
τ = ∑i =1 t i
n
The processing time of the current sequence
Sequencing Theory for A Single Machines
Job 1 2 3 4 5 6
Processing time 2 3 4 3 2 1
Due date 3 6 9 7 11 7
Sequencing Theory for A Single Machines
Example 8.4
Not predecessor
Step1: find the job scheduled last(sixth)
Job 1 2 3 4 5 6
Processing time 2 3 4 3 2 1
Due date 3 6 9 7 11 7
3 5 6
τ =2+3+4+3+2+1=15
Tardiness 15-9=6 15-11=4 15-7=8
Step2: find the job scheduled fifth
Not predecessor
Job 1 2 3 4 6
Processing time 2 3 4 3 1
Due date 3 6 9 7 7
3 6
τ =15-2=13 Tardines 13-9=4 13-7=6
Sequencing Theory for A Single Machines
Example 8.4
Not predecessor
Step3: find the job scheduled fourth
Job 1 2 4 6
Because job3 is no
Processing time 2 3 3 1 longer on the list,
Job 2 now because
Due date 3 6 7 7 a candidate.
2 6
τ =13-4=9
Tardiness 9-6=3 9-7=2
Step4: find the job scheduled third
Not predecessor
Job 1 2 4
Because job6 has been
Processing time 2 3 3 scheduled, Job 4 now
because a candidate along
Due date 3 6 7 with Job 2.
2 4
τ =9-1=8 Tardiness 8-6=2 8-7=1
Sequencing Theory for A Single Machines
Example 8.4
Not predecessor
Step5: find the job scheduled second
Job 1 2
Processing 2 3 The optimal sequence: 1-2-4-6-3-5
time
Due date 3 6
Gantt chart
Suppose that two jobs, I and J, are to be scheduled on two
machines, 1 and 2, the processing times are
Machine 1 Machine 2
Job I 4 1
Job J 1 4
Optimal sequence : 2 4 3 5 1
Sequencing Theory for Multiple Machines
3. The Two-Job Flow Shop Problem: assume that two jobs are
to be processed through m machines. Each job must be
processed by the machines in a particular order, but the
sequences for the two jobs need not be the same.
Draw a Cartesian coordinate system with the processing times
corresponding to the first job on the horizontal axis and the processing
times corresponding to the second job on the vertical axis.
Block out areas corresponding to each machine at the intersection of the
intervals marked for that machine on the two axes.
Determine a path from the origin to the end of the final block that does
not intersect any of the blocks and that minimizes the vertical movement.
Movement is allowed only in three directions: horizontal, vertical, and
45-degree diagonal. The path with minimum vertical distance
corresponds to the optimal solution.
Sequencing Theory for Multiple Machines
Example 8.7
A regional manufacturing firm produces a variety of household products. One
is a wooden desk lamp. Prior to packing, the lamps must be sanded, lacquered,
and polished. Each operation requires a different machine. There are currently
shipments of two models awaiting processing. The times required for the three
operations for each of the two shipments are
Job 1 Job2
Operation Time Operation Time
Sanding (A) 3 A 2
Lacquering (B) 4 B 5
Polishing( C ) 5 C 3
Minimizing the flow time is the same as maximizing the time that both jobs are
being processed. That is equivalent to finding the path from the origin to the end of
block C that maximizes the diagonal movement and therefore minimizes either the
horizontal or the vertical movement.
or 10+6=16
or 10+(3+2)=15
Assembly Line Balancing
Example 8.11
The Final assembly of Noname personal computers, a generic mail-order PC
clone, requires a total of 12 tasks. The assembly is done at the Lubbock, Texas,
plant using various components imported from the Far East. The network
representation of this particular problem is given in the following figure.
Assembly Line Balancing
∑ti=70, and the production rate is a unit /15 minutes;
Precondition The minimum number of workstations = [70/15]=5
The job times and precedence relationships for this problem are summarized
in the table below.
Station 1 2 3 4 5
Tasks 1 2,3,4,5 6,9 7,8,10 11,12
Idle time 4 0 3 0 3
Increasing the cycle time from 15 to 16, the total idle time
has been cut down from 20 min/units to 10; resulting in a
substantial improvement in balancing rate.
However, the production rate has to be reduced from one
unit/15 minutes to one unit/16minute;
Assembly Line Balancing