The critical path and float times
Find the jobs that control how long a project takes with critical path analysis in Year 12 VCE General Mathematics. Whether a builder is finishing a house in Geelong or a council is preparing a food festival in Bendigo, knowing which tasks have spare time and which have none keeps the whole schedule on track.
You will work out the float of each activity from its earliest and latest starting times, pick out the critical path as the longest path through the network, including paths through dummy activities, and state the minimum completion time. You will also judge how much a delay will cost, before learning to crash activities next.
Theory
Which jobs in a project can wait, and which cannot? This Year 12 General Mathematics guide for students in Victoria shows how to calculate the float of each activity, identify the critical path (even through a dummy), find the minimum completion time and decide whether a delay will make the whole project late.
After forward and backward scanning, every activity in a project network has an earliest starting time (EST) and a latest starting time (LST). The difference between them is the activity's float (or slack): how long its start can be put off without making the whole project take longer.
An activity with zero float is a critical activity. It has no spare time, so any delay to it delays the project. The critical activities link up into one or more chains from the start of the network to the finish; each chain is a critical path. A dashed dummy activity takes no time, but a critical path can pass through it, because it carries the finish of one activity on to the start of another.
The minimum completion time of the project is the length of the critical path, the total of its durations. It is the longest path through the network, because the project is not finished until its longest chain of activities is done.
| Activity | Duration (days) | EST | LST | Float |
|---|---|---|---|---|
| \(A\) | \(4\) | \(0\) | \(0\) | \(0\) |
| \(B\) | \(3\) | \(0\) | \(1\) | \(1\) |
| \(C\) | \(5\) | \(4\) | \(6\) | \(2\) |
| \(D\) | \(4\) | \(4\) | \(4\) | \(0\) |
| \(E\) | \(3\) | \(9\) | \(11\) | \(2\) |
| \(F\) | \(6\) | \(8\) | \(8\) | \(0\) |
| \(G\) | \(2\) | \(14\) | \(14\) | \(0\) |
The float of an activity:
An activity is critical when it has no float:
The minimum completion time:
If an activity is delayed:
How to find the critical path, floats and minimum completion time
- Forward scan to find the EST of every activity: the largest of EST \(+\) duration over its immediate predecessors (including those reached through a dummy). The largest EST \(+\) duration of the finishing activities is the minimum completion time.
- Backward scan from the minimum completion time: the LST of an activity is the smallest LST of the activities that follow it, minus its duration.
- Float: for each activity, work out LST \(-\) EST.
- Critical path: the zero-float activities, in order from start to finish. Check that their durations add up to the minimum completion time.
- Delays: a delay no longer than an activity's float changes nothing. A longer delay pushes the finish back by the delay minus the float.
For a small network, check by listing every path from start to finish with its length. A path may pass through a dummy, which adds \(0\). The longest path is the critical path.
| Activity | Duration (weeks) | EST | LST |
|---|---|---|---|
| \(A\) | \(3\) | \(0\) | \(0\) |
| \(B\) | \(5\) | \(3\) | \(7\) |
| \(C\) | \(2\) | \(3\) | \(3\) |
| \(D\) | \(4\) | \(5\) | \(5\) |
| \(E\) | \(3\) | \(9\) | \(12\) |
| \(F\) | \(6\) | \(9\) | \(9\) |
| \(G\) | \(1\) | \(15\) | \(15\) |
(i) Float \(=\) LST \(-\) EST. Only \(B\) and \(E\) have different EST and LST.
| \(\text{float}(B)\) | \(=\) | \(7 - 3\) |
| \(\) | \(=\) | \(4\) |
| \(\text{float}(E)\) | \(=\) | \(12 - 9\) |
| \(\) | \(=\) | \(3\) |
Every other activity has EST \(=\) LST, so its float is \(0\).
| \(\text{(iii) minimum completion time}\) | \(=\) | \(15 + 1\) |
| \(\) | \(=\) | \(16\) |
(i) \(B\) has 4 weeks and \(E\) has 3 weeks of float; all the others have \(0\). (ii) The critical path is \(A\text{-}C\text{-}D\text{-}F\text{-}G\). (iii) The minimum completion time is 16 weeks. Check: \(3 + 2 + 4 + 6 + 1 = 16\).
Follow each chain of arrows from event \(1\) to the last event. The dummy adds \(0\) but joins \(C\) to \(F\).
| \(A\text{-}C\text{-}F\text{-}G\) | \(:\) | \(4 + 5 + 4 + 3 = 16\) |
| \(B\text{-}D\text{-}F\text{-}G\) | \(:\) | \(2 + 6 + 4 + 3 = 15\) |
| \(A\text{-}C\text{-}E\text{-}G\) | \(:\) | \(4 + 5 + 2 + 3 = 14\) |
The longest path is \(A\text{-}C\text{-}F\text{-}G\) (through the dummy), so the minimum completion time is 16 days. \(B\) and \(D\) have \(16 - 15 = 1\) day of float; \(E\) has \(2\). Forgetting the dummy would miss the critical path altogether.
| Activity | Immediate predecessor(s) | Duration (weeks) |
|---|---|---|
| \(A\) | – | \(5\) |
| \(B\) | – | \(3\) |
| \(C\) | A | \(2\) |
| \(D\) | A, B | \(4\) |
| \(E\) | C | \(6\) |
| \(F\) | D | \(3\) |
| \(G\) | D | \(5\) |
| \(H\) | E, F | \(2\) |
Forward scan, backward scan, then float \(=\) LST \(-\) EST.
Forward scan:
| \(\text{EST}(A),\ \text{EST}(B)\) | \(=\) | \(0\) |
| \(\text{EST}(C)\) | \(=\) | \(0 + 5\) |
| \(\) | \(=\) | \(5\) |
| \(\text{EST}(D)\) | \(=\) | \(\text{largest of } \{0 + 5,\ 0 + 3\}\) |
| \(\) | \(=\) | \(\text{largest of } \{5,\ 3\}\) |
| \(\) | \(=\) | \(5\) |
| \(\text{EST}(E)\) | \(=\) | \(5 + 2\) |
| \(\) | \(=\) | \(7\) |
| \(\text{EST}(F)\) | \(=\) | \(5 + 4\) |
| \(\) | \(=\) | \(9\) |
| \(\text{EST}(G)\) | \(=\) | \(5 + 4\) |
| \(\) | \(=\) | \(9\) |
| \(\text{EST}(H)\) | \(=\) | \(\text{largest of } \{7 + 6,\ 9 + 3\}\) |
| \(\) | \(=\) | \(\text{largest of } \{13,\ 12\}\) |
| \(\) | \(=\) | \(13\) |
| \(\text{minimum completion time}\) | \(=\) | \(\text{largest of } \{9 + 5,\ 13 + 2\}\) |
| \(\) | \(=\) | \(\text{largest of } \{14,\ 15\}\) |
| \(\) | \(=\) | \(15\) |
Backward scan:
| \(\text{LST}(H)\) | \(=\) | \(15 - 2\) |
| \(\) | \(=\) | \(13\) |
| \(\text{LST}(G)\) | \(=\) | \(15 - 5\) |
| \(\) | \(=\) | \(10\) |
| \(\text{LST}(F)\) | \(=\) | \(13 - 3\) |
| \(\) | \(=\) | \(10\) |
| \(\text{LST}(E)\) | \(=\) | \(13 - 6\) |
| \(\) | \(=\) | \(7\) |
| \(\text{LST}(D)\) | \(=\) | \(\text{smallest of } \{10,\ 10\} - 4\) |
| \(\) | \(=\) | \(10 - 4\) |
| \(\) | \(=\) | \(6\) |
| \(\text{LST}(C)\) | \(=\) | \(7 - 2\) |
| \(\) | \(=\) | \(5\) |
| \(\text{LST}(B)\) | \(=\) | \(6 - 3\) |
| \(\) | \(=\) | \(3\) |
| \(\text{LST}(A)\) | \(=\) | \(\text{smallest of } \{5,\ 6\} - 5\) |
| \(\) | \(=\) | \(5 - 5\) |
| \(\) | \(=\) | \(0\) |
Floats:
| \(\text{float}(B)\) | \(=\) | \(3 - 0\) |
| \(\) | \(=\) | \(3\) |
| \(\text{float}(D)\) | \(=\) | \(6 - 5\) |
| \(\) | \(=\) | \(1\) |
| \(\text{float}(F)\) | \(=\) | \(10 - 9\) |
| \(\) | \(=\) | \(1\) |
| \(\text{float}(G)\) | \(=\) | \(10 - 9\) |
| \(\) | \(=\) | \(1\) |
| Activity | Duration (weeks) | EST | LST | Float |
|---|---|---|---|---|
| \(A\) | \(5\) | \(0\) | \(0\) | \(0\) |
| \(B\) | \(3\) | \(0\) | \(3\) | \(3\) |
| \(C\) | \(2\) | \(5\) | \(5\) | \(0\) |
| \(D\) | \(4\) | \(5\) | \(6\) | \(1\) |
| \(E\) | \(6\) | \(7\) | \(7\) | \(0\) |
| \(F\) | \(3\) | \(9\) | \(10\) | \(1\) |
| \(G\) | \(5\) | \(9\) | \(10\) | \(1\) |
| \(H\) | \(2\) | \(13\) | \(13\) | \(0\) |
The critical path is \(A\text{-}C\text{-}E\text{-}H\) (red), with length \(5 + 2 + 6 + 2 = 15\). The minimum completion time is 15 weeks. \(D\) needs both \(A\) and \(B\), so the network uses a dummy; \(D\), \(F\) and \(G\) have \(1\) week of float and \(B\) has \(3\).
| Activity | Duration (days) | EST | LST | Float |
|---|---|---|---|---|
| \(A\) | \(3\) | \(0\) | \(0\) | \(0\) |
| \(B\) | \(4\) | \(3\) | \(3\) | \(0\) |
| \(C\) | \(2\) | \(3\) | \(5\) | \(2\) |
| \(D\) | \(5\) | \(7\) | \(7\) | \(0\) |
| \(E\) | \(3\) | \(5\) | \(9\) | \(4\) |
| \(F\) | \(4\) | \(5\) | \(7\) | \(2\) |
| \(G\) | \(2\) | \(12\) | \(12\) | \(0\) |
| \(H\) | \(3\) | \(9\) | \(11\) | \(2\) |
| \(I\) | \(2\) | \(14\) | \(14\) | \(0\) |
(i) The red rows have zero float.
| \(\text{(ii) float}(E)\) | \(=\) | \(9 - 5\) |
| \(\) | \(=\) | \(4\) |
The delay of \(3\) days is no more than the float, so the finish does not change.
| \(\text{(iii) project delay}\) | \(=\) | \(3 - 2\) |
| \(\) | \(=\) | \(1\) |
| \(\text{new completion time}\) | \(=\) | \(16 + 1\) |
| \(\) | \(=\) | \(17\) |
| \(\text{(iv) float left for } H\) | \(=\) | \(2 - 1\) |
| \(\) | \(=\) | \(1\) |
(i) \(A\text{-}B\text{-}D\text{-}G\text{-}I\), 16 days. (ii) No: \(E\) has 4 days of float. (iii) 17 days, and \(A\text{-}C\text{-}F\text{-}H\text{-}I\) becomes the new critical path. (iv) \(F\) and \(H\) lie on the same chain and share its \(2\) days of float, so \(H\) has 1 day left.
Common pitfalls
Frequently asked questions
What is the critical path in a network?
It is a chain of activities from the start to the finish in which every activity has zero float. It is the longest path through the network, and any delay on it delays the whole project.
How do you calculate float time?
Subtract the earliest starting time from the latest starting time: float = LST - EST. It tells you how long an activity's start can be delayed without delaying the project.
What is the minimum completion time of a project?
It is the shortest time in which the whole project can be finished. It equals the length of the critical path, the total of the durations along it.
Can a critical path go through a dummy activity?
Yes. A dummy takes no time, but it links the end of one activity to the start of another, so a critical path can pass through it. It adds 0 to the length of the path.
Can a network have more than one critical path?
Yes. If two or more paths share the longest length, each of them is a critical path, and all of their activities have zero float.
What happens if a non-critical activity is delayed?
If the delay is no more than its float, the project still finishes on time. If the delay is longer, the project is late by the delay minus the float.