Forward and backward scanning
Work out when every task in a project can and must begin with forward and backward scanning in Year 12 VCE General Mathematics. A crew setting up a stage for a Melbourne festival, or a builder renovating a house in Daylesford, needs to know the soonest each job can begin and how long it can safely wait.
You will scan forwards through an activity network to find the earliest starting time of every activity and the minimum completion time, then scan backwards to find each latest starting time, taking care with dashed dummy activities. You will practise with tables, networks and clock times, ready to find the critical path and float times next.
Theory
When can each job in a project start? This Year 12 General Mathematics guide for students in Victoria shows how a forward scan gives the earliest starting time (EST) of every activity and the minimum completion time, and how a backward scan gives the latest starting time (LST), including networks with dummy activities.
Once a project is drawn as an activity network, two passes through it show when each activity can start. The earliest starting time (EST) of an activity is the soonest it can begin, once all of its immediate predecessors are finished. The latest starting time (LST) is the latest it can begin without making the whole project finish later.
A forward scan works from the start event to the finish event and finds every EST. Activities leaving the start event have an EST of \(0\). The forward scan also gives the minimum completion time, the shortest time in which the whole project can be finished.
A backward scan works from the finish back to the start and finds every LST, beginning with the minimum completion time. A dummy activity takes no time, but it still passes on a dependency in both scans, so read the immediate predecessors off the network first.
| Activity | Duration (days) | EST | LST |
|---|---|---|---|
| \(A\) | \(3\) | \(0\) | \(0\) |
| \(B\) | \(5\) | \(3\) | \(3\) |
| \(C\) | \(2\) | \(3\) | \(5\) |
| \(D\) | \(4\) | \(5\) | \(7\) |
| \(E\) | \(3\) | \(8\) | \(8\) |
| \(F\) | \(2\) | \(11\) | \(11\) |
Forward scan. For an activity with no immediate predecessor, EST \(= 0\). Otherwise:
Backward scan. For an activity that nothing follows:
Otherwise:
Forward scan (EST)
- Write down each activity's immediate predecessors, following any dummies back.
- Give every activity that leaves the start event an EST of \(0\).
- Work towards the finish. For each activity, add EST + duration for each of its immediate predecessors and take the largest.
- The largest EST + duration of the finishing activities is the minimum completion time.
Backward scan (LST)
- For each activity that ends at the finish event, LST \(=\) minimum completion time \(-\) duration.
- Work back towards the start. For each activity, find the smallest LST of the activities that follow it (including any reached through a dummy).
- Subtract the activity's own duration to get its LST.
- Record the results in a table with columns for duration, EST and LST.
First read the immediate predecessors. \(D\) starts at event \(3\), where \(A\) ends, and the dummy carries \(B\) in, so \(D\) needs \(A\) and \(B\). \(C\) needs only \(B\).
| \(\text{EST}(A),\ \text{EST}(B)\) | \(=\) | \(0\) |
| \(\text{EST}(C)\) | \(=\) | \(0 + 2\) |
| \(\) | \(=\) | \(2\) |
| \(\text{EST}(D)\) | \(=\) | \(\text{largest of } \{0 + 5,\ 0 + 2\}\) |
| \(\) | \(=\) | \(\text{largest of } \{5,\ 2\}\) |
| \(\) | \(=\) | \(5\) |
| \(\text{EST}(E)\) | \(=\) | \(2 + 3\) |
| \(\) | \(=\) | \(5\) |
| \(\text{EST}(F)\) | \(=\) | \(\text{largest of } \{5 + 4,\ 5 + 6\}\) |
| \(\) | \(=\) | \(\text{largest of } \{9,\ 11\}\) |
| \(\) | \(=\) | \(11\) |
| \(\text{minimum completion time}\) | \(=\) | \(11 + 2\) |
| \(\) | \(=\) | \(13\) |
The ESTs are \(A\): \(0\), \(B\): \(0\), \(C\): \(2\), \(D\): \(5\), \(E\): \(5\), \(F\): \(11\). The minimum completion time is \(13\) weeks. The dummy means \(D\) must wait for \(B\) as well as \(A\); here \(A\) finishes later (week \(5\), not week \(2\)), so \(A\) sets the EST of \(D\).
Start at the finish and work back. \(B\) is followed by \(C\) and also, through the dummy, by \(D\).
| \(\text{LST}(F)\) | \(=\) | \(13 - 2\) |
| \(\) | \(=\) | \(11\) |
| \(\text{LST}(E)\) | \(=\) | \(11 - 6\) |
| \(\) | \(=\) | \(5\) |
| \(\text{LST}(D)\) | \(=\) | \(11 - 4\) |
| \(\) | \(=\) | \(7\) |
| \(\text{LST}(C)\) | \(=\) | \(5 - 3\) |
| \(\) | \(=\) | \(2\) |
| \(\text{LST}(B)\) | \(=\) | \(\text{smallest of } \{2,\ 7\} - 2\) |
| \(\) | \(=\) | \(2 - 2\) |
| \(\) | \(=\) | \(0\) |
| \(\text{LST}(A)\) | \(=\) | \(7 - 5\) |
| \(\) | \(=\) | \(2\) |
| Activity | Duration (weeks) | EST | LST |
|---|---|---|---|
| \(A\) | \(5\) | \(0\) | \(2\) |
| \(B\) | \(2\) | \(0\) | \(0\) |
| \(C\) | \(3\) | \(2\) | \(2\) |
| \(D\) | \(4\) | \(5\) | \(7\) |
| \(E\) | \(6\) | \(5\) | \(5\) |
| \(F\) | \(2\) | \(11\) | \(11\) |
\(B\) must be finished before both \(C\) (LST \(2\)) and \(D\) (LST \(7\)) can start, so the smaller value \(2\) decides: LST\((B) = 2 - 2 = 0\). \(A\) has LST \(2\), so it could start up to \(2\) weeks late without delaying the project.
| Activity | Immediate predecessor(s) | Duration (days) |
|---|---|---|
| \(A\) | – | \(4\) |
| \(B\) | – | \(3\) |
| \(C\) | A | \(2\) |
| \(D\) | A | \(5\) |
| \(E\) | B | \(4\) |
| \(F\) | C | \(3\) |
| \(G\) | D, E, F | \(2\) |
Forward scan first, then backward from the minimum completion time.
Forward scan:
| \(\text{EST}(A),\ \text{EST}(B)\) | \(=\) | \(0\) |
| \(\text{EST}(C)\) | \(=\) | \(0 + 4\) |
| \(\) | \(=\) | \(4\) |
| \(\text{EST}(D)\) | \(=\) | \(0 + 4\) |
| \(\) | \(=\) | \(4\) |
| \(\text{EST}(E)\) | \(=\) | \(0 + 3\) |
| \(\) | \(=\) | \(3\) |
| \(\text{EST}(F)\) | \(=\) | \(4 + 2\) |
| \(\) | \(=\) | \(6\) |
| \(\text{EST}(G)\) | \(=\) | \(\text{largest of } \{4 + 5,\ 3 + 4,\ 6 + 3\}\) |
| \(\) | \(=\) | \(\text{largest of } \{9,\ 7,\ 9\}\) |
| \(\) | \(=\) | \(9\) |
| \(\text{minimum completion time}\) | \(=\) | \(9 + 2\) |
| \(\) | \(=\) | \(11\) |
Backward scan:
| \(\text{LST}(G)\) | \(=\) | \(11 - 2\) |
| \(\) | \(=\) | \(9\) |
| \(\text{LST}(F)\) | \(=\) | \(9 - 3\) |
| \(\) | \(=\) | \(6\) |
| \(\text{LST}(E)\) | \(=\) | \(9 - 4\) |
| \(\) | \(=\) | \(5\) |
| \(\text{LST}(D)\) | \(=\) | \(9 - 5\) |
| \(\) | \(=\) | \(4\) |
| \(\text{LST}(C)\) | \(=\) | \(6 - 2\) |
| \(\) | \(=\) | \(4\) |
| \(\text{LST}(B)\) | \(=\) | \(5 - 3\) |
| \(\) | \(=\) | \(2\) |
| \(\text{LST}(A)\) | \(=\) | \(\text{smallest of } \{4,\ 4\} - 4\) |
| \(\) | \(=\) | \(4 - 4\) |
| \(\) | \(=\) | \(0\) |
| Activity | Duration (days) | EST | LST |
|---|---|---|---|
| \(A\) | \(4\) | \(0\) | \(0\) |
| \(B\) | \(3\) | \(0\) | \(2\) |
| \(C\) | \(2\) | \(4\) | \(4\) |
| \(D\) | \(5\) | \(4\) | \(4\) |
| \(E\) | \(4\) | \(3\) | \(5\) |
| \(F\) | \(3\) | \(6\) | \(6\) |
| \(G\) | \(2\) | \(9\) | \(9\) |
The minimum completion time is \(11\) days. \(G\) waits for three activities that all finish on day \(9\) or earlier; \(E\) can start as late as day \(5\).
| Activity | Description | Immediate predecessor(s) | Duration (h) |
|---|---|---|---|
| \(A\) | Collect the hire equipment | – | \(2\) |
| \(B\) | Set up the sound system | – | \(3\) |
| \(C\) | Build the stage | A | \(4\) |
| \(D\) | Test the sound on stage | B, C | \(2\) |
| \(E\) | Decorate the stage | C | \(1\) |
| \(F\) | Final walk-through | D, E | \(1\) |
(i) \(D\) needs \(B\) and \(C\) (the dummy carries \(C\) to the event where \(D\) starts); \(E\) needs only \(C\).
| \(\text{EST}(A),\ \text{EST}(B)\) | \(=\) | \(0\) |
| \(\text{EST}(C)\) | \(=\) | \(0 + 2\) |
| \(\) | \(=\) | \(2\) |
| \(\text{EST}(D)\) | \(=\) | \(\text{largest of } \{0 + 3,\ 2 + 4\}\) |
| \(\) | \(=\) | \(\text{largest of } \{3,\ 6\}\) |
| \(\) | \(=\) | \(6\) |
| \(\text{EST}(E)\) | \(=\) | \(2 + 4\) |
| \(\) | \(=\) | \(6\) |
| \(\text{EST}(F)\) | \(=\) | \(\text{largest of } \{6 + 2,\ 6 + 1\}\) |
| \(\) | \(=\) | \(\text{largest of } \{8,\ 7\}\) |
| \(\) | \(=\) | \(8\) |
| \(\text{minimum completion time}\) | \(=\) | \(8 + 1\) |
| \(\) | \(=\) | \(9\) |
| \(\text{LST}(F)\) | \(=\) | \(9 - 1\) |
| \(\) | \(=\) | \(8\) |
| \(\text{LST}(E)\) | \(=\) | \(8 - 1\) |
| \(\) | \(=\) | \(7\) |
| \(\text{LST}(D)\) | \(=\) | \(8 - 2\) |
| \(\) | \(=\) | \(6\) |
| \(\text{LST}(C)\) | \(=\) | \(\text{smallest of } \{6,\ 7\} - 4\) |
| \(\) | \(=\) | \(6 - 4\) |
| \(\) | \(=\) | \(2\) |
| \(\text{LST}(B)\) | \(=\) | \(6 - 3\) |
| \(\) | \(=\) | \(3\) |
| \(\text{LST}(A)\) | \(=\) | \(2 - 2\) |
| \(\) | \(=\) | \(0\) |
| Activity | Duration (h) | EST | LST |
|---|---|---|---|
| \(A\) | \(2\) | \(0\) | \(0\) |
| \(B\) | \(3\) | \(0\) | \(3\) |
| \(C\) | \(4\) | \(2\) | \(2\) |
| \(D\) | \(2\) | \(6\) | \(6\) |
| \(E\) | \(1\) | \(6\) | \(7\) |
| \(F\) | \(1\) | \(8\) | \(8\) |
(ii) The minimum completion time is \(9\) hours after 7:00 am. (iii) LST\((B) = 3\) hours after the start.
| \(\text{finish time}\) | \(=\) | \(7{:}00 \text{ am} + 9 \text{ h}\) |
| \(\) | \(=\) | \(4{:}00 \text{ pm}\) |
| \(\text{latest start of } B\) | \(=\) | \(7{:}00 \text{ am} + 3 \text{ h}\) |
| \(\) | \(=\) | \(10{:}00 \text{ am}\) |
(ii) The set-up can be finished by 4:00 pm. (iii) The sound crew can start as late as 10:00 am, three hours after its earliest start.
Common pitfalls
Frequently asked questions
What is the earliest starting time (EST) of an activity?
It is the soonest the activity can start, once all of its immediate predecessors are finished. Activities with no predecessors have an EST of 0.
What is the latest starting time (LST) of an activity?
It is the latest the activity can start without making the whole project take longer than its minimum completion time.
Why do we take the largest value in a forward scan?
An activity cannot start until every one of its immediate predecessors is finished, so it waits for the one that finishes last: the largest value of EST plus duration.
Why do we take the smallest value in a backward scan?
An activity must be finished before any of the activities that follow it needs to start. The follower with the smallest LST sets the deadline.
How do dummy activities affect forward and backward scanning?
A dummy has zero duration, so it adds nothing to any total. But it passes on a dependency, so the activities joined by a dummy still count as predecessors in the forward scan and as followers in the backward scan.
Can the EST and LST of an activity be equal?
Yes. When they are equal the activity cannot be delayed at all. These activities make up the critical path, which is studied next.