CH 5
CH 5
Network models
Compiled by Asmamaw T. (PhD)
1
Introduction
• Network models consists of a set of circles, or nodes, and
lines, which are referred to as either arcs or branches, that
connect some nodes to other nodes
• Networks are important tools of management science
PERT CPM
PERT(Program Evaluation and CPM (Critical Path Method)
Review Technique) -Developed by El Du Pont for
- Developed by the US Navy with Chemical Plant Shutdown
Booz Hamilton Lockheed on the Project- about same time as
Polaris Missile/Submarine PERT
program 1958
PERT was developed by the US Navy for the planning and control
of the Polaris missile program and the emphasis was on
completing the program in the shortest possible time. In
addition PERT had the ability to cope with uncertain activity
completion times (e.g. for a particular activity the most likely
completion time is 4 weeks but it could be anywhere between 3
weeks and 8 weeks).
4
PERT and CPM
• PERT and CPM are the two most widely used techniques for
6
PERT and CPM
In CPM activities are shown as a network of precedence
relationships using activity-on-node network construction
– Single estimate of activity time
– Deterministic activity times
7
PERT and CPM
8
Gantt Chart
• The Gantt Chart is a popular tool for planning and
scheduling simple projects
• It enables managers to initially schedule project
activities and, then, to monitor progress over time by
comparing planned progress to actual progress
• Even though Gantt Chart is simple to use, it may
delay the project completion time as activities could
not start until the preceding activity was completed.
9
Gantt Chart
Advantages Limitations
- Gantt charts are quite commonly used. - Do not clearly indicate details regarding
- They provide an easy graphical the progress of activities
representation of when activities - Do not give a clear indication of
(might) take place. interrelationship between the separate
activities 10
• Some objectives of project scheduling include:
– Completing the project as early as possible by determining an earliest
start and finish time for each of the activities
– Determining the likelihood a project will be completed within a
certain time period
– Finding a minimum cost schedule that completes the project by a
certain date
– Finding a minimum time to complete a project within budget
restrictions
– Investigating the results of possible delays in one or more of an
activity’s completion time
– Evaluating the costs and benefits of reducing the time of performing
one or more of the activities
11
Network
13
Example of Network – More Complex
14
Definition of terms in a network
• Activity : any portions of project (tasks) which required
by project, uses up resource and consumes
time – may involve labor, paper work,
contractual negotiations, machinery operations
Preceding
successor
Activity
activity
Event
15
Emphasis on Logic in Network Construction
WRONG X
CORRECT
16
Example 1- A simple network
Consider the list of four activities for making a simple product:
17
Network of Four Activities
A D
1 3 4
B C
19
Example 2
Develop the network for a project with following activities and
immediate predecessors:
Activity Immediate
predecessors
A -
B -
C B
D A, C
E C
F C
G D,E,F
Class Activity: Try to do network for the first five (A,B,C,D,E) activities
20
Network of first five activities
A D
1 3 4
E
B
C 5
2
We need to introduce
a dummy activity
21
Network of all the Seven Activities
1 A 3 D 4 G
7
dummy E
B
C 5 F
2 6
1 2 1 Dummy
b 3
b
WRONG X RIGHT
23
WRONG!!! RIGHT!!!
a d a d
1 1
b e b
2 2 4
e
c f c f
3 3
a precedes d
a and b precede e,
b and c precede f (a does not precede f)
24
Scheduling with activity time
Activity Immediate Completion
predecessors Time (week)
A - 5
B - 6
C A 4
D A 3
E A 1
F E 4
G D,F 14
H B,C 12
I G,H 2
Total …… 51
26
Arc with ES and EF time
Activity
2
[ 0,5]
A
5
1
t = expected activity
time
27
Network with ES & EF time
D[5,8] 5
2 3
E[ 1 0]
,
G[1 4
5,6 6
F[
5 ,5]
1 ] 4
0, 2
1
0
7
A[
4
C[5,9]
4 4,26
]
I[2
4
2
1 6
B[0
,6] [ 9,21]
6 H
12
3
Activity
3
[ 5,9 ]
C
[ 8 ,12]
4
2
LF = latest finish time
LS = latest start time
29
Latest Start (LS) and Latest Finish (LF) time
D[5,8] 5
2 3[7,10]
0]
G[1 10,24
E[ 1
14[
1[5 5,6] [ 6, 10]
0, 2 ]
F 6,
5[ 0,5]
,6]
4[
5]
4]
A[
0,
4 2 4, 26]
C[5,9]
I[
4[8,12]
2 4 , 26]
1 6 2[
B[0
6[6 ,6] [ 9, 21]
, 12
H
[ 12,24]
] 12
3
LF-EF = 12 –9 =3
LS-ES = 8 – 5 = 3
LF-ES-t = 12-5-4 = 3
32
Summary of Slack Times
• Activity start time and completion time may be delayed
by deliberate reasons as well as by unforeseen reasons.
• Some of these delays may affect the overall completion
date.
• The effects of these delays can be determined by the slack
time, for each activity.
33
The Critical Path
The activities with 0 slack time form at least one Critical Path of
connected activities, each of which is an immediate predecessor for
another activity on the path from the beginning (time = 0) to the
end (the completion time of the project).
– Critical activities must be rigidly scheduled.
• Any delay in a critical activity will delay the entire project.
– The critical path is the longest in the network
34
Activity schedule for our example
Activity Earliest Latest Earliest Latest Slack Critical
start (ES) start (LS) finish (EF) finish (LF) (LS-ES) path
A 0 0 5 5 0 Yes
B 0 6 6 12 6
C 5 8 9 12 3
D 5 7 8 10 2
E 5 5 6 6 0 Yes
F 6 6 10 10 0 Yes
G 10 10 24 24 0 Yes
H 9 12 21 24 3
I 24 24 26 26 0 Yes
Last EF= The project duration
35
Important Questions
• What is the total time to complete the project?
– 26 weeks if the individual activities are completed on
schedule(Last ES).
• What are the scheduled start and completion times for each
activity?
– ES, EF, LS, LF are given for each activity.
• What activities are critical and must be completed as
scheduled in order to keep the project on time?
– Critical path activities: A, E, F, G, and I.
• How long can non-critical activities be delayed before they
cause a delay in the project’s completion time
– Slack time available for all activities are given. 36
Importance of Float (Slack) and Critical Path
1. Slack or Float shows how much allowance each activity
has, i.e how long it can be delayed without affecting
completion date of project
2. Critical path is a sequence of activities from start to
finish with zero slack. Critical activities are activities
on the critical path.
3. Critical path identifies the minimum time to complete
project
4. If any activity on the critical path is shortened or
extended, project time will be shortened or extended
accordingly
37
Importance of Float (Slack) and Critical Path
5. So, a lot of effort should be put in trying to control
activities along this path, so that project can meet due
date. If any activity is lengthened, be aware that project
will not meet deadline and some action needs to be taken.
6. If can spend resources to speed up some activity, do so
only for critical activities.
7. Don’t waste resources on non-critical activity, it will not
shorten the project time.
8. If resources can be saved by lengthening some activities,
do so for non-critical activities, up to limit of float.
9. Total Float belongs to the path
38
Example (CPM)
39
Detailed Activities
Activity
Activity Description
Description
AA Prototype
Prototypemodel
modeldesign
design
BB Purchase
Purchaseofofmaterials
materials
Manufacturing
Manufacturing CC Manufacture
Manufactureofofprototype
prototypemodel
model
activities
activities DD Revision
Revisionofofdesign
design
EE Initial
Initialproduction
productionrun
run
FF Staff
Stafftraining
training
Training
Trainingactivities
activities GG Staff
Staffinput
inputononprototype
prototypemodels
models
HH Sales
Salestraining
training
II Pre-production
Pre-productionadvertising
advertising
Advertising
Advertisingactivities
activities campaign
campaign
JJ Post-redesign
Post-redesignadvertising
advertising
campaign
campaign 40
Precedence Relations
Starts Completion
Activity after
Immediate Predecessor's) Days
A-Prototype Design NONE 90
Starts
B-Purchase Materials A-Prototype Design 15
After
Starts
C-Manufacture Prototypes B-Purchase Materials 5
After
Starts C-Manufacture Prototypes and
D-Design Revision 20
After G-Staff Input
Starts
E-Initial Production Run D-Design Revision 21
After
Starts
F-Staff Training A-Prototype Design 25
After
Starts C-Manufacture Prototypes and
G-Staff Input 14
After F-Staff Training
Starts
H-Sales Training D-Design Revision 28
After
Starts
I-Pre-Production Advertising
After
A-Prototype Design 30
Starts D-Design Revsion and
J-Post Redesign Advertising 45
41
After I-Pre-Production Advertising
The CPM Network
E
B C
21
15 5
A F G D H
90 25 14 20 28
J
I
45
30
42
Earliest Start and Finish Times
• We enter these as (ES,EF) above each node.
(149,170)
(90,105) (105,110)
E
B C
15
21
5
MAX(110,115)
(0, 90) (90, 115) (115, 129) (129,149) (149,177)
A F G D H
90 25 14 20 28
MAX(120,149)
(149,194)
(90, 120)
J
I
45
30
(149,194)
(119, 149)
46
Possible Delays
• There could be a delay in just one activity.
– Any delay more than the slack time for the activity will delay
the entire project by the difference between the activity delay
and the slack time
• There could be delays in more than one activity.
– If activities are on different paths or on the same path but
separated by a critical activity, each of the delays is evaluated
separately. The project delay = max (these delays –
corresponding slack).
– Activities on the same path which are not separated by a
critical activity share the slack. Both will have the same value
for the slack and any combined delays in these activities that
exceed this common slack results in a project delay equal to
(total activity delay) – (common slack).
– Usually with multiple delays the model is simply re-solved!
47
Examples of Activity Delays
• Activity G is delayed 5 days
– G is on the critical path (has 0 slack) so the project will be delayed
5 days.
• Activity E is delayed 15 days
– E has 24 days of slack so the project will not be delayed
• Activity B is delayed 15 days
– B has 5 days of slack so the project will be delayed 10 days
• Activity E is delayed 30 days and Activity I is delayed 30 days
– E and I are on different paths. E has 24 days of slack which could
cause a 30-24 = 6 day delay; I has 29 days of slack which could
cause 30-29 = 1 day delay. The project is delayed by the
MAX(6,1) = 6 days.
48
Examples of Activity Delays
• Activity B is delayed 4 days and Activity E is delayed 4 days
– B and E are on the same path but are separated by critical
activities (G and D). This is the same as the case above. B
has 5 days slack so delaying it 4 days would not delay the
project; E has 24 days of slack so a 4 day delay will not
delay the project – Net effect– No delay.
• Activity B is delayed 4 days and Activity C is delayed 4 days
– B and C are on the same path with no critical activity in
between. They share the same 5 days of slack. So sense
both are delayed 4 days for a total of 8 days, the project is
delayed 8 – 5 = 3 days.
49
PERT For Dealing With Uncertainty
• So far, times were estimated with relative certainty/confidence
• For many situations, however, this is not possible, e.g Research,
development, new products and projects etc.
• In PERT we use 3 time estimates:
m= most likely time estimate, mode.
a = optimistic time estimate, and
b = pessimistic time estimate
Expected Value (TE) = (a + 4m + b) /6
Variance (V) = ( ( b – a) / 6 ) 2
Std Deviation (δ) = SQRT (V)
50
Example (PERT)
Precedences and Project Activity Times
Immediate Optimistic Most Likely Pessimistic EXP Var S.Dev
a - 10 22 22 20 4 2
b - 20 20 20 20 0 0
c - 4 10 16 10 4 2
d a 2 14 32 15 25 5
e b,c 8 8 20 10 4 2
f b,c 8 14 20 14 4 2
g b,c 4 4 4 4 0 0
h c 2 12 16 11 5.4 2.32
I g,h 6 16 38 18 28.4 5.33
j d,e 2 8 14 8 4 2
51
The complete PERT network
d
2 6
(15,25)
j
(8,4)
a
(20,4) e
(10,4)
f 7
1 3
b (14,4)
(20,0)
g
c
(4,0)
(10,4) i
(18,28.4)
h 5
4
(11,5.4)
52
Critical Path Analysis (PERT)
b 1 0 1
c 4 0 4
d 20 20 0 Yes
e 25 20 5
f 29 20 9
g 21 20 1
h 14 10 4
i 25 24 1
j 35 35 0 Yes
53
The complete PERT Network
EF=20 35
d 6
2
a (15,25) j
(20,4) (8,4)
b e
20 (10,4) 43
(20,0)
1 f 7 Critical Time = 43
3
(14,4)
g
c (4,0)
(10,4) i
(18,28.4)
h 5
4
(11,5.4)
10 24
54
Assume, the Project Manager promised to complete the project in 50 days.
Question: What are the chances of meeting that deadline? (Determine P)
Calculate Z, where
Z = (D-S) / V
Example,
D = 50 (specified date);
S = 20+15+8 =43 (Scheduled date);
V = (4+25+4) =33 (Variance of the critical path);
Z = (50 – 43) / 5.745
= 1.22 standard deviations.
The probability value of Z = 1.22, is 0.888 (Table value);i.e., the chance of
meeting the deadline is 0.888)
1.22
55
Question: What deadline are you 95% sure of meeting? (Determine D)
56
Comparison Between CPM and PERT
CPM PERT
1 Uses network, calculate float or slack,
identify critical path and activities, guides Same as CPM
to monitor and controlling project
2 Uses one value of activity time Requires 3 estimates of activity time
Calculates mean and variance of time
3 Used where times can be estimated with Used where times cannot be estimated
confidence, familiar activities with confidence.
Unfamiliar or new activities
4 Minimizing cost is more important Meeting time target or estimating percent
completion is more important
5 Example: construction projects, building Example: Involving new activities or
one off machines, ships, etc products, research and development etc
57
Benefits of CPM / PERT Network
58
Benefits of CPM / PERT Network
60