Scheduling Models
Scheduling Models
Scheduling Models
Project
Scheduling
Models
1
5.1 Introduction
• A project is a collection of tasks that must be
completed in minimum time or at minimal cost.
• Objectives of Project Scheduling
– Completing the project as early as possible by
determining the earliest start and finish of each activity.
– Calculating the likelihood a project will be completed
within a certain time period.
– Finding the minimum cost schedule needed to complete
the project by a certain date.
2
5.1 Introduction
• A project is a collection of tasks that must be
completed in minimum time or at minimal cost.
• Objectives of Project Scheduling
– Investigating the results of possible delays in activity’s
completion time.
– Progress control.
– Smoothing out resource allocation over the duration of
the project.
3
Task Designate
• Tasks are called “activities.”
– Estimated completion time (and sometimes costs)
are associated with each activity.
– Activity completion time is related to the amount of
resources committed to it.
– The degree of activity details depends on the
application and the level of specificity of data.
4
5.2 Identifying the Activities of a
Project
• To determine optimal schedules we need to
– Identify all the project’s activities.
– Determine the precedence relations among activities.
• Based on this information we can develop managerial
tools for project control.
5
Identifying Activities, Example
6
KLONE COMPUTERS, INC
9
KLONE COMPUTERS, INC
11
KLONE COMPUTERS, INC. - Continued
• Management at KLONE would like to schedule the activities
so that the project is completed in minimal time.
• Management wishes to know:
– The earliest and latest start times for each activity which will not
alter the earliest completion time of the project.
– The earliest finish times for each activity which will not alter this
date.
– Activities with rigid schedule and activities that have slack in their
schedules.
12
Earliest Start Time / Earliest Finish
Time
• Make a forward pass through the network as follows:
110,124
0,90 90,115 115,129 129,149 177
149,177
A
A FF G
G D
D HH 194
90 25 14 20 28
EARLIEST FINISH
120,165
90,120 194
149,194
II JJ
30 45
14
Latest start time / Latest finish time
• Make a backward pass through the network as follows:
– Evaluate all the activities that immediately precede the finish node.
• The latest finish for such an activity is LF = minimal project completion
time.
• The latest start for such an activity is LS = LF - activity duration.
– Evaluate the LF of all the nodes for which LS of all the immediate
successors has been determined.
• LF = Min LS of all its immediate successors.
• LS = LF - Activity duration.
– Repeat this process backward until all nodes have been evaluated.
15
Latest Start / Latest Finish –
Backward Pass
149,170
105,110 173,194
90,105
B C 110,115 E
95,110 B C E
15 5 21
17
Slack Times
Slack Time = LS - ES = LF - EF
18
Slack time in the Klonepalm 2000 Project
Activity LS - ES Slack
A 0 -0 0
B 95 - 90 5
C 110 - 105 5
D 119 - 119 0 Critical
Criticalactivities
activities
E 173 - 149 24
must
mustbe
berigidly
rigidly
F 90 - 90 0
G 115 - 115 0 scheduled
scheduled
H 166 - 149 17
I 119 - 90 29
J 149 - 149 0
19
The Critical Path
• The critical path is a set of activities that have no slack,
connecting the START node with the FINISH node.
149,194
90,120
149,194
119,149
I J
I J
45
30 21
Possible Delays
• We observe two different types of delays:
– Single delays.
– Multiple delays.
FINISH
A F G D H
90 25 14 20 28
Activity E and I are each delayed 15 days.
THE PROJECT COMPLETION TIME IS NOT
DELAYED I J
ES=90 30 45
DELAYED START=90+15 =105
LS =119 24
90
105
90
115
A
15 129
B 5 194
149
C 20
D 194
Gantt chart demonstration of 21
E the (no) effects on the project 25 Activity E
F completion time when delaying
14
activity “I” and “E” by 15 days.
G 28
H
30
I Activity I 45
J
25
Multiple delays of non critical activities:
Case 2: Activities are on the same path,
separated by critical activities.
ES=90 ES=149
DELAYED START =94 DELAYED START=149+15 =164
LS =95 LS =173
B C E
15 5 21
FINISH
A F G D H
90 25 14 20 28
Activity B is delayed 4 days, activity E is delayed 15 days
THE PROJECT COMPLETION TIME IS NOT DELAYED
I J
30 45 26
Multiple delays of non critical activities:
Case 2: Activities are on the same path,
no critical activities separating them.
ES= 90 3 DAYS DELAY
DELAYED START =94 IN THE ENTIRE
DELAYED START= PROJECT
DELAYED FINISH =
109 + 4 =113;
94+15=109
B C LS =110 E
15 5 21
FINISH
A F G D H
90 25 14 20 28
Activity B is delayed 4 days; Activity C is delayed 4 days.
• Objective function
– Complete the project in minimum time.
• Constraints
– For each arc L M a constraint states that the start time
of M must not occur before the finish time of its immediate
predecessor, L.
28
A Linear Programming Approach
Minimize X(FIN)
29
A Linear Programming Approach
Minimize X(FIN)
ST C
X(FIN) XE + 21 5
X(FIN) XH + 28
X(FIN) XJ + 45 F G
XD XG + 14 25
XE XD + 20 XG X C+ 5
XH XD + 20 XG XF+ 25
XJ XD + 20 XI XD+ 90
XJ XI + 30 XF XA+ 90
XC XB+ 15
All X s are
XD nonnegative
XG+ 14
XB XA+ 90 30
A Linear Programming Approach
Minimize XA+XB+…+XJ
This objective function ensures that the optimal X
values are the earliest start times of all the
activities. The project completion time is
minimized.
Maximize XA+XB+…+XJ
S.T. X(FIN) = 194
and all the other constraints as before.
32
5.6 Gantt Charts
33
Here‘s how we build
an Earliest Time Gantt Chart
for KLONEPALM 2000
34
90
105
90 115
A 15 129
B 5 149 194
C 20
D Immediate Estimated 194
Activity Predecessor Completion Time 21
E 25
A None 90
F B A 15
14
C B 5
G 28
D G 20
H E D 21
F A 25 30
I G C,F 14 45
J H D 28
I A 30
J D,I 45
35
Gantt Charts-
Monitoring Project Progress
• Gantt chart can be used as a visual aid for tracking the
progress of project activities.
• Disadvantages
– Gives only one possible schedule (earliest).
– Does not show whether the project is behind schedule.
– Does not demonstrate the effects of delays in any one activity on the
start of another activity, thus on the project completion time.
38
5.7 Resource Leveling and Resource
Allocation
• It is desired that resources are evenly spread out
throughout the life of the project.
• Resource leveling methods (usually heuristics) are
designed to:
– Control resource requirements
– Generate relatively similar usage of resources over time.
39
Resource Leveling – A Heuristic
• A heuristic approach to “level” expenditures
– Assumptions
• Once an activity has started it is worked on continuously until it is completed.
• Costs can be allocated equally throughout an activity duration.
Step 1: Consider the schedule that begins each activity at its ES.
Step 2: Determine which activity has slack at periods of peak
spending.
Step 3: Attempt to reschedule the non-critical activities performed
during these peak periods to periods of less spending, but
within the time period between their ES and LF. 40
Resource Leveling –
KLONE COMPUTERS, Inc. - continued
41
Resource Leveling –
KLONE COMPUTERS, Inc. – cost estimates
Total Total Cost
Cost Time per
Activity Description (x10000) (days) Day
A Prototype model design 2250 90 25
B Purchase of materials 180 15 12
C Manufacture of prototype 90 5 18
D Revision of design 300 20 15
E Initial production run 231 21 11
F Staff training 250 25 10
G Staff input on prototype 70 14 5
H Sales traini ng 392 28 14
I Pre-production advertisement 510 30 17
J Post-production advertisement 1350 45 30
Total cost = 5,623 42
Cumulative Daily Expenditure –
55 Earliest Times vs. Latest Times
50
Earliest Start-Earliest Finish
45 Budget
40
35
Feasible
30 t
g e Budgets
25 u d
l B
20 v e
15 Le
10 Latest Start-Latest Finish
5 Budget
Time
43
20 40 60 80 100 120 140 160 180 200
Daily Expenditure of the ES Schedule
55 55
50
Cost Leveling
II I I I I I
ES = 90 45 LS = 110 H H
45 44
40 39
I E
H
35
30 32 H 30
I
27
25 25 E E
22 I J
20 C
I J
15 J J
J
15
B F
10 A I
F F D
5
G
44
20 40 60 80 100 120 140 160 180 200
Cost Leveling
55 55
50
H H
45 44
40
I E
H H
35
30 32 H 30
I
27
25 25 E E
22 I J
20 C
I J
15 J J
J
15
B F
10 A I
F F D
5
G
45
20 40 60 80 100 120 140 160 180 200
5.8 The Probability Approach to
Project Scheduling
47
The Distribution, Mean, and
Standard Deviation of an Activity
Approximations for the mean and the
standard deviation of activity
completion time are based on the Beta
distribution.
a + 4m + b
= the mean completion time =
6
b -a
= the standard deviation =
6
48
The Project Completion Time Distribution -
Assumptions
49
The Project Completion Time Distribution -
Assumptions
• Assumption 1
– A critical path can be determined by using the mean
completion times for the activities.
– The project mean completion time is determined solely by the
completion time of the activities on the critical path.
• Assumption 2
– The time to complete one activity is independent of the time to
complete any other activity.
• Assumption 3
– There are enough activities on the critical path so that the
distribution of the overall project completion time can be
approximated by the normal distribution.
50
The Project Completion Time
Distribution
The three assumptions imply that the overall project
completion time is normally distributed, the following
parameters:
53
KLONE COMPUTERS –
Finding activities’ mean and variance
A = [76+4(86)+120]/6 = 90
= (120 - 76)/6 = 7.33 A2 = (7.33)2 = 53.78
Activity
A 90 7.33 53.78
B 15 1.00 1.00
C 5 0.33 0.11
D 20 3.00 9.00
E 21 1.00 1.00
F 25 2.33 5.44
G 14 2.00 4.00
H 28 1.33 1.78
I 30 4.67 21.78
54
J 45 3.67 13.44
KLONE COMPUTERS –
Finding mean and variance for the critical
path
55
The Probability Approach –
Probabilistic analysis
• The probability of completion in 194 days =
194
194 - 194
P(X 194) = P(Z ) P(Z 0 ) 0.5
9.255
56
The Probability Approach –
Probabilistic analysis
• An interval in which we are reasonably sure the completion date
lies is z 0.025
.95
• The interval is = 194 1.96(9.255) [175, 213] days.
• The probability that the completion time lies in the interval
[175,213] is 0.95.
57
The Probability Approach –
Probabilistic analysis
• The probability of completion in 180 days =
0.0655
180 194 X
-1.51 0 Z
?0.0418
.4582
194 210 X
0 1.73 Z
59
The Probability Approach –
Probabilistic analysis
• Provide a completion time that has only 1% chance
to be exceeded.
There is 99% chance that the project
is completed in 215.56 days.
.49 0.01
194 X0 X
0 2.33 Z
61
The Probability Approach –
Critical path spreadsheet
CRITICAL PATH ANALYSIS
MEAN 194
STANDARD DEVIATION* 9.255629 * Assumes all critical activities are on one critical path
VARIANCE* 85.66667 If not, enter in gold box, the variance on one critical path of interest.
PROBABILITY COMPLETE BEFORE 180 = 0.065192
62
The Probability Approach –
critical path spreadsheet
CRITICAL PATH ANALYSIS
MEAN A comment – multiple
189
critical paths
STANDARD DEVIATION* 9.0185 * Assumes all critical activities are on one critical path
In the case of multiple critical paths (a not unusual situation),
VARIANCE* 81.33333 If not, enter in gold box, the variance on one critical path of interest.
determine the probabilities for each critical path separately using its
PROBABILITY COMPLETE BEFORE 180 = 0.159152
standard deviation.
Acitivty However,
Node Criticalthe probabilities
of interest
(for
ES example,
EF P(XLS xcannot
LF Slack
Design be determined
A * by each 90 path alone.
7.333333 To find these
53.77778 0 probabilities,
90 0 check 90 0
Materials B * 15 1 1 90 105 90 105 0
Manufacture
whetherC
the *
paths are
5
independent.
0.333333 0.111111 105 110 105 110 0
Design Revision IfDthe paths
* are
20 independent
3 (no
9 common124 activities
144 among 124 the paths),
144 0
Production Run multiply
E the probabilities
21 of 1all the paths:
1 144 165 168 189 24
Staff Training F 14 0.666667 0.444444 90 104 96 110 6
Staff Input
[Pr(Completion
G *
timex)
14
= Pr(Path
2
1x)P(Path
4 110
2x)…Path
124
kx)]
110 124 0
Sales Training IfHthe paths are 28 dependent, the calculations
1.333333 1.777778 144 might
172 become161 very189 17
cumbersome,
Preprod. Advertise I in which
30 case running
4.666667 a computer
21.77778 90 simulation
120 seems
114 to144be 24
Post. Advertise J * 45 3.666667 13.44444 144 189 144 189 0
more practical. 63
5.9 Cost Analysis Using the
Expected Value Approach
64
KLONE COMPUTERS -
Cost analysis using probabilities
• Analysis indicated:
– Completion time within 180 days yields an additional profit
of $1 million.
– Completion time between 180 days and 200 days, yields
an additional profit of $400,000.
– Completion time reduction can be achieved by
additional training.
65
KLONE COMPUTERS -
Cost analysis using probabilities
66
KLONE COMPUTERS -
Cost analysis using probabilities
• Evaluation of spending on sales personnel training.
– This activity (H) is not critical.
– Under the assumption that the project completion time is
determined solely by critical activities, this option
should not be considered further.
68
KLONE COMPUTERS -
Cost analysis using probabilities
Conclusion:
Conclusion: Management
Management should should not
not spend
spend money
money
on
on additional
additional training
training ofof technical
technical personnel.
personnel.
71
5.10 Cost Analyses Using
The Critical Path Method (CPM)
72
Crash time Crash cost
• There are two crucial completion times to consider
for each activity.
– Normal completion time (TN).
– Crash completion time (TC), the minimum possible
completion time.
• The cost spent on an activity varies between
– Normal cost (CN). The activity is completed in TN.
– Crash cost (CC). The activity is completed in TC.
73
Crash time Crash cost –
The Linearity Assumption
Cost ($100) 75
5 10 15 20 25 30 35 40 45
Crash time/ Crash cost -
The Linearity Assumption
MM == E
R
76
Crashing activities –
Meeting a Deadline at Minimum Cost
77
Baja Burrito Restaurants –
Meeting a Deadline at Minimum Cost
Without spending any extra When all the activities are crashed
money, the restaurant will open to the maximum, the restaurant
in 29 weeks at a normal cost of will open in 17 weeks at crash cost
$200,000. of $300,000.
E O
I K
B
A F G J M N
C
H
P
D L
80
Baja Burrito Restaurants –
Marginal costs
R = TN – TC = 5 – 3 = 2
E = CC – CN = 36 – 25 = 11
M = E/R = 11/2 = 5.5
81
Baja Burrito Restaurants –
Heuristic Solution
• Small crashing problems can be solved
heuristically.
83
Baja Burrito Restaurants –
Linear Programming
Min 5.5YA+10YB+2.67YC+4YD+2.8YE+6YF+6.67YG+10YH+
5.33YI+12YJ+4YK+5.33YL+1.5YN+4YO+5.33YP
84
Linear Programming
Min 5.5YA+10YB+2.67YC+4YD+2.8YE+6YF+6.67YG+10YH+
5.33YI+12YJ+4YK+5.33YL+1.5YN+4YO+5.33YP
ST
X (FIN ) 19 YA 2.0
Meet the deadline YB 0.5
YC 1.5
YD 1.0 Maximum
time-reduction
YE 2.5
constraints
YF 0.5
YG 1.5
YH 0.5
……..
85
Linear Programming
Min 5.5YA+10YB+2.67YC+4YD+2.8YE+6YF+6.67YG+10YH+
5.33YI+12YJ+4YK+5.33YL+1.5YN+4YO+5.33YP
XBXA+(5 – YA)
Baja Burrito Restaurants – -YA
Network presentation
A A
E O XA XA+5-YA XA+5
I K BBBBB
B XXBXBXBX
BB
A F G J M N
C
Activity can
H start only after all the
D L
P Predecessors are
84 completed.
86
Linear Programming
Min 5.5YA+10YB+2.67YC+4YD+2.8YE+6YF+6.67YG+10YH+
5.33YI+12YJ+4YK+5.33YL+1.5YN+4YO+5.33YP
XBXA+(5 – YA)
XCXA+(5 – YA)
Baja Burrito Restaurants –
Network presentation XDXA+(5 – YA)
XeXA+(5 – YA) Activity can
XFXA+(5 – YA) start only after
E O
all the
XBXB+(1 – YB) predecessors
I K
B XFXC+(3 – YC) are completed.
A F G J M N XGXF+(1 – YF)
C ……..
H
P
D L X(FIN)XN+(3 – YN)
84
X(FIN)XO+(4 – YO)
X(FIN)XP+(4 – YP) 87
Baja Burrito Restaurants –
Deadline Spreadsheet
CRASHING ANALYSIS
TOTAL PROJECT COST 248.75 PROJECT NORMAL COST 200
COMPLETION TIME 19 PROJECT CRASH COST 300
Completion Start Finish Amount Cost of
ACTIVITY NODE Time Time Time Crashed Crashing Total Cost
Revisions/Approvals A 3 0 3 2 11 36
Grade Land B 1 3 4 0 0 10
Purchase Materials C 1.5 3 4.5 1.5 4 22
Order Equipment D 2 3 5 0 0 8
Order Furniture E 4 12.5 16.5 0 0 8
Concrete Floor F 0.5 4.5 5 0.5 3 15
Erect Frame G 4 5 9 0 7.87637E-11 20
Install Electrical H 2 9 11 0 0 12
Install Plumbing I 2.5 9 11.5 1.5 8 21
Install Drywall/Roof J 2 11.5 13.5 0 0 10
Bathrooms K 2 13 15 0 0 8
Install Equipment L 1.5 13.5 15 1.5 8 22
Finish/Paint Inside M 1.5 15 16.5 1.5 8 18
Tile Floors N 2.5 16.5 19 0.5 0.75 6.75
Install Furniture O 2.5 16.5 19 1.5 6 14
Finish/Paint Outside P 4 13.5 17.5 0 0 18
88
Baja Burrito Restaurants –
Operating within a fixed budget
• Baja Burrito has the policy of not funding more than 12.5%
above the “normal cost” projection.
89
Baja Burrito Restaurants –
Operating within a fixed budget
The crash funds become a constraint
Minimize X(FIN)
Minimize
5.5YA + 10YB + 2.67YC + 4YD + 2.8YE + 6YF + 6.67YG + 10YH + 5.33YI +
12YJ + 4YK + 5.33Y L+ 1.5YN + 4YO + 5.33YP
The completion time becomes the objective function
X(FIN) 19
5.5YA + 10YB + 2.67YC + 4YD + 2.8YE + 6YF + 6.67YG + 10YH + 5.33YI + 12YJ
+ 4YK + 5.33Y L+ 1.5YN + 4YO + 5.33YP 25
93
Monitoring Project progress
• For each work package determine:
– Work Package Forecasted Weekly cost =
Budgeted Total Cost for Work Package
Expected Completion Time for Work Package (weeks)
94
Monitoring Project progress
• Completion Time Analysis
Use the expected remaining completion time estimates,
to revise the project completion time.
Cost overrun =
[Actual Expenditures to Date] - [Value of Work to Date].
95
Monitoring Project Progress –
Corrective Actions
96
Monitoring Project Progress –
Corrective Actions
activities.
Finish
(1-p)(original expected completion time)=(1-0.25)(20)=15
27.8+9=36.8.8
I
F 9
7.8
20+7.8=27.8
103