Operations Research - Classes 22, 23
Operations Research - Classes 22, 23
Time
Time
Scope
Scope Cost
Cost
relationships
A B C
1 2 4 5
E
D 3
B
A
C e
n
D d
E
Comparison of AON and AOA
NETWORK DIAGRAMS
Activity-on-arrow
NETWORK DIAGRAMS
Some basic rules for Activity –on-arrow:
◦ Tasks are represented as arrows
◦ Nodes represent the start and finish points of tasks
◦ There is only one overall start node
◦ There is only one overall finish node
◦ Two tasks cannot share the same start and end node.
B
A D
2 3
C
Tasks B & C share
the same start and
end node
Dummy Activities
A B D E
1 2 3 5 6
C
A C D E
1 2 3 5 6
B
A - 4
B - 7
C - 8
D A 5
E C 4
F B ,E 4
G C 11
H G, F 4
Solution to Example 2
3
A(4) D(5)
B(7)
F(4) H(4)
1 4 5 6
E(4)
C(8) G(11)
2
Finding the Critical Path
Earliest start time
Earliest Finish time
A D (12) E
Latest Start time (10) (10)
C (8)
Latest Finish time B
(8)
Slack
Critical job / Non-critical job
Find the critical path
Job Predecessors Duration
(days)
A - 15
B - 10
C A, B 10
D A, B 10
E B 5
F D, E 5
G C, F 20
H D, E 10
I G, H 15
Find the critical path
Job Predecessors Duration
(weeks)
A - 4
B - 7
C - 8
D A 5
E C 4
F B ,E 4
G C 11
H G, F 4
Program Evaluation and
Review Technique (PERT)
Assumes each activity duration has a range that
statistically follows a beta distribution
A 5 1 1
B 9 1 1
C 7 1/3 1/9
D 4 1 1
E 8 0 0
F 13 2 4
G 12 3 9
H 6 1 1
I 8 1 1
The critical jobs are A, B, D, F, H and I
Let T denote the project duration. Expected length of
the project is
E (T) = Sum of the expected times of critical jobs
= 5+9+4+13+6+8 = 45 days
Variance of the project duration is
V(T) = Sum of the variances of critical jobs
=1+1+1+4+1+1=9
Standard Deviation of the project duration = 3 days
As per Central Limit Theorem, T is normally distributed
with mean 45 and standard deviation 3
There is a 68% chance that the project duration
will be between 42 and 48 days (one sigma)
Similarly, there is a 99.7% chance that T will lie
within three standard deviations (b/n 36 and 54)
Time-to-market pressures
Unforeseen delays
D(11)
3
Example: Critical Path
9
11
4
E(8)
3 B(6)
3
0 A(3) C(10) F(5) G(6)
0 1 2 5 6 7
14 19 25
D(11) 14 19 25
3
13 18 24
D(11) 13 18 24
3
12 17 23
Action: D(10) 12 17 23
Activity D
3
crashed by
one day 12 Project Duration: 23 days
IMPORTANT: Activity ‘C’ is 12 Direct Cost = Normal cost + Crashing
part of critical path now cost
Direct Cost= 450+20+25 = 495
Indirect Cost = 300
Total Cost = 495 + 300 = 795
Example: Crashing-Iteration 3
8
8
4
E(8)
2 B(6)
2
0 A(2) C(10) F(4) G(6)
0 1 2 5 6 7
12 16 22
D(10) 12 16 22
3
11 15 21
D(9) 11 15 21
3
t3 – t 2 ≥ 0
t4 – t 2 ≥ 4
t1=0 t2=3 t3=3 t4=7
t4 – t 3 ≥ 2
t5 – t 4 ≥ 5 t5=12
LP for Project Management –
Model 1
Given that the project must be completed by time T, we
want to determine how the project activities are to be
expedited such that the total cost of crashing is
minimized
Kij – Normal completion time of activity (i, j)
Lij – Crash completion time with maximum resources
Cij – Cost of shortening the duration of job(i, j) by one
time unit
tij- Actual completion time
(Lij ≤ tij ≤ Kij)
LP for Project Management –
Model 1
Minimize: Z = C
(i , j )
ij (kij tij )
tj ≥ 0
LP for Project Management –
Model 3
Minimize: Z = F (tn – t1) + Cij (kij tij )
(i , j )
B - 5 4 2
C B 3 2 2
D A, C 4 3 3
E A, C 5 3 3
F D 6 3 5
G E 5 2 1
H F, G 5 4 4
Example
Minimize Z = 5(t7-t1)+4(10-t13)+2(5-t12)+2(3-t23)+3(4-t34)+
3(5-t35)+5(6-t46)+1(5-t56)+4(5-t67)
Subject to
t3 – t1 ≥ t13 3≤ t35 ≤ 5
t2 – t1 ≥ t12 3≤ t46 ≤ 6
t3 – t2 ≥ t23 2≤ t56 ≤ 5
t4 – t3 ≥ t34 4≤ t67 ≤ 5
t5 – t3 ≥ t35
t6 – t4 ≥ t46 t1, t2, ……t7 ≥ 0
t6 – t5 ≥ t56
t7 – t6 ≥ t67
7≤ t13 ≤ 10
4≤ t12 ≤ 5
2≤ t23 ≤ 3
3≤ t34 ≤ 4