Professional Documents
Culture Documents
1-Lec#01 08 Asad
1-Lec#01 08 Asad
1-Lec#01 08 Asad
manufacturing
Planning and Scheduling
Planning and scheduling are decision-making processes that are used on a regular
basis in many manufacturing and service industries. These forms of decision-making
play an important role in procurement and production, in transportation and
distribution, and in information processing and communication. The planning and
scheduling functions in a company rely on mathematical techniques and
heuristic methods to allocate limited resources to the activities that have to be
done. This allocation of resources has to be done in such a way that the company
optimizes its objectives and achieves its goals. Resources may be machines in a
workshop, runways at an airport, crews at a construction site, or processing units in
a computing environment. Activities may be operations in a workshop, take-offs and
landings at an airport, stages in a construction project, or computer programs that
have to be executed. Each activity may have a priority level, an earliest possible
starting time and a due date. Objectives can take many different forms, such as
minimizing the time to complete all activities, minimizing the number of activities that
are completed after the committed due dates, and so on.
Inventory costs
Cost of carrying the inventory, holding cost
The cost of incurring shortages, opportunity cost
The cost of replenishing the inventories, order cost
Inventory carrying costs
1. Opportunity cost
2. Storage and space charges, storage and maintenance cost, cost of
handling units, cost of computers to keep record of inventory
3. Taxes and insurance, cost of physical deterioration and its
prevention, dry cell batteries, vegetables, dairy products, ceramic
and electronics products
4. Cost of obsolescence, due to technology changes, computers,
robotics, and communication equipment
Shortage costs
Cost incurred if units of inventory are not available when demanded.
Lost sale, lost goodwill, overtime payments, customer dissatisfaction,
administrative efforts (telephonic calls, memos etc.)
1. One time shortage cost per unit short
2. Shortage cost per unit short per unit time
Ordering cost
Cost of preparing and placing the orders for replenishing inventories,
cost of handling and shipment of orders, cost of machine setups for
production runs, cost of inspection of received orders, and the costs
that do not vary with the size of the order.
In the analysis the analyst may add combine costs, because these are
difficult to calculate in detail.
External Benchmarking
• but other plants may not be
comparable
Internal Benchmarking
• capacity data: what is utilization?
• but this ignores WIP effects
Definitions
Descriptors of a Line:
1) Bottleneck Rate (rb): Rate (parts/unit time or jobs/unit time)
of the process center having the highest long-term utilization.
Relationship:
W0 = rb T0
The Penny Fab
Characteristics:
• Four identical tools in series.
• Each takes 2 hours per piece (penny).
• No variability.
• CONWIP job releases. Parameters:
rb = 0.5 pennies/hour
T0 = 8 hours
= 0.5 8 = 4 pennies
W0
= 0 (no variability, best case conditions)
The Penny Fab
Time = 0 hours
Time = 2 hours
Time = 4 hours
Time = 6 hours
Time = 8 hours
Time = 10 hours
Time = 12 hours
Time = 14 hours
Time = 16 hours
Penny Fab Performance
WIP TH CT TH CT
1 0.125 8 1
2
3
4
5
6
Time = 0 hours
Time = 2 hours
Time = 4 hours
Time = 6 hours
Time = 8 hours
Time = 10 hours
Time = 12 hours
Time = 14 hours
Time = 16 hours
Time = 18 hours
Penny Fab Performance
WIP TH CT TH CT
1 0.125 8 1 2 0.250 8 2
3
4
5
6
Time = 0 hours
Time = 2 hours
Time = 4 hours
Time = 6 hours
Time = 8 hours
Time = 10 hours
Time = 12 hours
Time = 14 hours
Penny Fab Performance
WIP TH CT TH CT
1 0.125 8 1 2 0.250 8 2 3 0.375
8 3
4 0.500 8 4
5
6
Time = 0 hours
Time = 2 hours
Time = 4 hours
Time = 6 hours
Time = 8 hours
Time = 10 hours
Time = 12 hours
Penny Fab Performance
WIP TH CT TH CT
0.125 8 1
0.250 8 2
0.375 8 3
0.500 8 4
0.500 10 5
0.500 12 6
TH vs. WIP: Best Case
0.6
rb 0.5
0.4
TH
0.3
1/T0
0.2
0.1
0
0 1 2 3 4 5 6 7 8 9 10 11 12
W0 WIP
CT vs. WIP: Best Case
26
24
22
20
18
CT 16
14
1/rb
12
10
T0 86
4
2
0
0 1 2 3 4 5 6 7 8 9 10 11 12 W WIP
0
Best Case Performance
Best Case Law: The minimum cycle time (CTbest) for a given
WIP level, w, is given by T0, if w W0
CTbest
w/ rb, otherwise.
The maximum throughput (THbest) for a given WIP level, w is given by,
w/T0, if w W0
TH best
r b, otherwise.
Best Case Performance (cont.)
8, if w 4
CTbest
0.5, otherwise.
WIP TH CT
parts
parts hr hr Insights:
• Fundamental relationship
• Simple units transformation
• Definition of cycle time (CT = WIP/TH)
Penny Fab Two
2 hr
5 hr 3 hr
Penny Fab Two
2 hr
5 hr 3 hr
Penny Fab Two Simulation (Time=2)
7
4
2 hr
5 hr 3 hr
Penny Fab Two Simulation (Time=4)
7
6
9
2 hr
5 hr 3 hr
Penny Fab Two Simulation (Time=6)
7
8
9
2 hr
5 hr 3 hr
Penny Fab Two Simulation (Time=7)
17
12
8
9
2 hr
5 hr 3 hr
Penny Fab Two Simulation (Time=8)
17
12
10
9
2 hr
5 hr 3 hr
Penny Fab Two Simulation (Time=9)
17
19
12
10
14
2 hr
5 hr 3 hr
Penny Fab Two Simulation (Time=10)
17
19
12
12
14
2 hr
5 hr 3 hr
Penny Fab Two Simulation (Time=12)
17
19
17 22
14
14
2 hr
5 hr 3 hr
Penny Fab Two Simulation (Time=14)
17
19
17 22
16
19 24
2 hr
5 hr 3 hr
Penny Fab Two Simulation (Time=16)
17
19
17 22
19 24
2 hr
5 hr 3 hr
Penny Fab Two Simulation (Time=17)
27
19
22 22 20
19 24
2 hr
5 hr 3 hr
Penny Fab Two Simulation (Time=19)
27
29
22 22 20
24 24 22
2 hr
5 hr 3 hr
Penny Fab Two Simulation (Time=20)
27
Note: job will arrive at
bottleneck just in time
to prevent starvation. 29
22 22
22
24 24 22
2 hr
5 hr 3 hr
Penny Fab Two Simulation (Time=22)
27
29
27 32 25
24
24 24
2 hr
5 hr 3 hr
29
27 32 25
29 34 27
2 hr
5 hr 3 hr
And so on….
Bottleneck will just
stay busy; all others
will starve periodically
Worst Case
Observation: The Best Case yields the minimum cycle time and
maximum throughput for each WIP level.
Experiment:
• set average process times same as Best Case (so rb and T0 unchanged)
• follow a marked job through system
• imagine marked job experiences maximum queueing
Time = 0 hours
Time = 8 hours
Time = 16 hours
Time = 24 hours
0.6
Best Case
rb 0.5
0.4
TH
0.3
0.2
Worst Case
1/T0 0.1
0
0 1 2 3 4 5 6 7 8 9 10 11 12
W0
WIP
CT vs. WIP: Worst Case
32
Worst Case
28
24
20
CT 16 Best Case
12
T0 8
4
0
0 1 2 3 4 5 6 7 8 9 10 11 12
W0 WIP
Worst Case Performance
Worst Case Law: The worst case cycle time for a given WIP level, w, is given by,
CTworst = w T0
The worst case throughput for a given WIP level, w, is given by,
THworst = 1 / T0
Observation: There is a BIG GAP between the Best Case and Worst Case
performance.
Let w = jobs in system, N = no. stations in line, and t = process time at all
stations:
w
TH PWC rb, W0 w 1
0.6
Best Case
rb 0.5
0.4 Good (lean)
PWC
TH
0.3
0.2 Bad (fat) Worst Case
1/T0 0.1
0
0 1 2 3 4 5 6 7 8 9 10 11 12
W0 WIP
CTvs.WIP:Practical Worst Case
26
Penny Fab Two Performance (cont.)
0 2 4 6 8 10 12 14 16 18 20 22 24 26
W0
WIP
Back to the HAL Case - Capacity Data
Process Rate (p/hr) Time (hr)
Lamination 191.5 1.2
Machining 186.2 5.9
Internal Circuitize 150.5 6.9
Optical Test/Repair - Int 157.8 5.6
Lamination – Composites 191.5 1.2
External Circuitize 150.5 6.9
Optical Test/Repair - Ext 157.8 5.6
Drilling 185.9 10.0
Copper Plate 136.4 1.5
Procoat 146.2 2.2
Sizing 126.5 2.4
EOL Test 169.5 1.8
rb, T0 126.5 33.1
HAL Case - Situation
Actual Values:
• CT = 34 days = 816 hours (at 24 hr/day)
• WIP = 37,000 panels
• TH = 45.8 panels/hour
Conclusions:
• Throughput is 36% of capacity
• WIP is 15 times critical WIP
• CT is 24.6 times raw process time
HAL Case - Analysis
TH Resulting from PWC with WIP = 47,600? Much higher
w 37,400 than actual TH rb 126.5 105.4 TH!
w W0 1 37,400 4,187 1
Performance Measures:
• throughput
• WIP
• cycle time
• service
Range of Cases:
• best case
• practical worst case
• worst case Diagnostics:
• simple assessment based on rb, T0, actual WIP,actual TH
• evaluate relative to practical worst case
Job Sequencing and Operation
Scheduling
Job Sequencing
Job sequencing problem is one of the interesting problems in
production analysis.
The problem is quite complex and far from being completely solved.
Optimal sequence could be found for job sequencing problems with a
small number of machines. However, optimal solutions for problems
with a large number of machines do not exist. In fact, it is impossible
to check for the optimality for such problems.
Job sequencing
The job sequencing problems can be stated as follows:
Given n jobs to be processed, each has a setup time, and a due date.
In order to be completed, each job is to be processed at several
machines. It is required to sequence these jobs on the machines in
order to optimize a certain performance criterion
Typical performance Criteria
Mean flow time or mean time in the shop
Idle time of machines
Mean lateness of jobs: lateness is the difference between actual completion
time of the job and its due date
Mean earliness of jobs: if a job is completed before its due date, then its
lateness value is negative, and it is referred to as earliness instead
Mean tardiness of the jobs: if a job is completed after due date, its
lateness is positive, and is referred to as tardiness instead mean queue
time
Mean number of jobs in the system
Percentage of jobs late
Scheduling problem factors
The number of jobs to be scheduled
The number of machines in the machine shop
Type of manufacturing facility (flow shop or job shop)
Manner in which jobs arrive at the facility (static or dynamic)
Criteria by which scheduling objectives will be evaluated
Example
Two jobs A and B, are required to be scheduled on two machines, M1
and M2. each job is processed first on M1 and then on M2. The
processing times of the jobs are given. Find the sequence of these jobs
that minimizes the makespan
Solution
Complexity of the scheduling problem
Number of jobs increase
Number of machines increase
No optimal solutions are there for larger size n and m
Heuristic algorithms are used to find near optimal solutions
Complete enumeration is possible for small sized problems only
If there are N jobs the number of sequences would be N!
Complexity of the scheduling problem
Dynamic job arrival pattern
Produce the scheduled jobs
Add the newly arrived jobs and reschedule them
It will increase computational time and is not economical
Failure rate of machines and uncertainty in the processing times also
complicate the problem
Simulation or heuristic methods are employed to solve such problems
n jobs, one machine
Simplest sequencing problem
Two types of times for each machine
Waiting time Wi and processing time ti
Criterion: minimize the mean flow time of the jobs
Example
Processing times of the jobs are given. Find the optimal sequence to
minimize the mean flow time
J1 7
J2 6
J3 8
J4 5
Mean Lateness
Maximum Lateness of the jobs
Mean weighted flow time Example
Assume the weight in previous example are 7, 5, 10 and 3 for jobs 1, 2,
3 and 4 respectively. Find the sequence that minimizes mean weighted
flow time.
Solution
Example
Job Processing time Priority
1 10 8
2 5 3
3 8 5
4 7 7
5 5 6
6 4 1
7 8 2
Job sequencing and operation
scheduling
n jobs two machines
n jobs must be processed by two machine centers M1, followed by M2.
The processing times of all jobs on m1 and M2 are known and
deterministic. It is required to find optimal sequence that minimizes the
makespan for n jobs
Johnson developed an algorithm that can be used to find an optimal
sequence.
Lower limits
The lower limit can be obtained as follows
𝑛
𝐿1 = 𝑡𝑖,𝑀1 + 𝑡𝑛,𝑀2
𝑖=1
𝐿2 = 𝑡𝑖,𝑀1 +𝑡𝑖,𝑀2
𝑖=1
𝐿 = max{𝐿1, 𝐿2}
Steps of Johnson’s Algorithm
1. List all the procession times of all the jobs on machines M1 and M2
2. Scan through all procession times of all the jobs. Locate the minimum
processing time
3. If the minimum processing time is on M1, place the corresponding
job first (as early as possible) in the sequence. If it is on M2, place the
job last (as late as possible) in the sequence.
4. Eliminate the assigned jobs and repeat the step 2 and 3 until all the
jobs are sequenced
5. A tie between two processing times is broken arbitrarily because it
can not affect the minimum elapsed time to complete all the jobs
Example
The drilling and riveting times for six jobs are given below. For every
job, a hole is drilled first followed by riveting. Find the optimum
sequence that minimizes the makespan for all the jobs
JOB DRILLING RIVETING
J1 4 11
J2 7 7
J3 3 10
J4 12 8
J5 11 10
J6 9 13
J3
J1 4 11
J2 7 7
J4 12 8
J5 11 10
J6 9 13
J3 J1
JOB DRILLING RIVETING
J2 7 7
J4 12 8
J5 11 10
J6 9 13
J3 J1 J2
J4 12 8
J5 11 10
J6 9 13
J3 J1 J2 J4
J5 11 10
J6 9 13
J3 J1 J2 J6 J5 J4
J5 11 10
J6 9 13
Calculate Makespan?
Using two formulas
Find second sequence
n jobs three machines-Johnsons Algorithm
Johnson’s algorithm can be applied for n jobs three machines M1, M2,
and M3. passing is not allowed.
Either of the two conditions hold
min ti1 ≥ max ti2 min ti3 ≥ max ti2
The problem is reformulated by constructing two dummy machines
M1’ and M2’to replace three existing machines
Processing time on M1’ is ti1 + ti2 Processing
time on M2’ is ti2 + ti3
Example
Find the optimal sequence of following jobs
Job M1 M2 M3 Job M1’ M2’
1 5 3 9 1 8 12
2 7 2 5 2 9 7
3 4 3 7 3 7 10
4 8 4 3 4 12 7
5 6 2 2 5 8 4
6 7 0 8 6 7 8
Example
P1 C A E F D B
Time 2 3 4 5 6 1
P1 B A E F C D
Time 3 2 5 3 2 3
Solution
Branch & Bound Algorithm
Sequencing of n jobs on two machines
𝑇𝐼𝑀𝐸𝑀3 𝐽𝑟 + 𝑡𝑖3
𝑗𝑟ҧ
Where
𝑡𝑖𝑗 = 𝑝𝑟𝑜𝑐𝑒𝑠𝑠𝑖𝑛𝑔 𝑡𝑖𝑚𝑒 𝑜𝑓 𝑗𝑜𝑏 𝑖 𝑜𝑛 𝑚𝑎𝑐ℎ𝑖𝑛𝑒 𝑗 𝑖 = 1,2, … . . , 𝑛 𝑎𝑛𝑑 𝑗 = 1,2,3
𝐽𝑟ҧ = 𝑠𝑒𝑡 𝑜𝑓 𝑛 − 𝑟 𝑗𝑜𝑏𝑠 𝑡ℎ𝑎𝑡 ℎ𝑎𝑣𝑒 𝑛𝑜𝑡 𝑏𝑒𝑒𝑛 𝑎𝑠𝑠𝑖𝑔𝑛𝑒𝑑 𝑎𝑝𝑜𝑠𝑖𝑡𝑖𝑜𝑛 𝑖𝑛 𝑠𝑒𝑞𝑢𝑒𝑛𝑐𝑒 𝐽𝑟
LB(P)=LB(𝐽𝑟) = 𝑙𝑜𝑤𝑒𝑟 𝑛𝑜𝑢𝑛𝑑 𝑜𝑛 𝑡ℎ𝑒 𝑚𝑎𝑘𝑒𝑠𝑝𝑎𝑛 𝑓𝑜𝑟 𝑎𝑛𝑦 𝑛𝑜𝑑𝑒 𝑡ℎ𝑎𝑡 𝑒𝑚𝑎𝑛𝑎𝑡𝑒𝑠 𝑓𝑟𝑜𝑚 𝑛𝑜𝑑𝑒 𝑃
Job Sequencing and Operations
Scheduling
n Jobs, M machines
Introduction
This problem is a typical static flow shop sequencing problem where n
jobs must be processed by set of M machines.
All the jobs are processed at the initiation of scheduling time period and
no new jobs arrive during the period.
Jobs are not allowed to pass each other. All the jobs maintain the same
position in the sequence.
Objective is to sequence n jobs so that jobs are completed in a minimum
span of time.
There are no general solutions for problems where M>3 Heuristic
methods may obtain near optimal solutions.
Campbell et al. Algorithm
This algorithm generates a series of sums for each job like the two sets
of sums generated in n job three machines. With M machines, M-1 two
column sets of job times can be developed and can be solved using
Johnson’s Algorithm for n jobs, two machines.
Example
Find the best sequence, processing times are given
Job M1 M2 M3 M4
1 5 6 4 5
2 4 7 3 5
3 9 5 5 3
4 6 8 4 1
Solution
First set of machines
M1 and M4
Second set of machines
M12 and M34
Third set of machines
M123 and M234
Apply Johnson’s Algorithm for n jobs two machines
Find sequences
Lower Bounds
𝑛
𝑛
𝐿2 =𝑡1,𝑀1 +𝑡𝑖,𝑀2 +𝑡𝑛,𝑀3 +𝑡𝑛,𝑀4
𝑖=1
Stinson-Smith Algorithm
Algorithm for static flow shop problem for n jobs, M machines.