9B

Forward and backward scanning

Earliest starting times (EST) by forward scanning, the minimum completion time, and latest starting times (LST) by backward scanning, with the largest-in, smallest-out rules.

Once a project is drawn as a network, two quick sweeps across it tell you almost everything: how soon each job can start, how long the whole project must take, and how late each job could start without holding anything up. The sweeps are called forward and backward scanning.

Forward scanning: earliest starting times

The earliest starting time (EST) at a node is the soonest that the activities leaving it can begin. Start at node 1 with EST $= 0$ and work forwards.

  • For each arrow coming into a node: EST at its tail $+$ its duration.
  • If more than one arrow comes in, take the largest. The next activities can't start until every incoming activity is finished, and the slowest one decides that.

The EST at the finish node is the minimum completion time: the shortest time the whole project can take.

Example 1●

A garden shed is built in these steps (times in days). Arcs: A Clear the site ($1$) from node 1 to 2, B Buy materials ($4$) from 1 to 3, C Pour the slab ($2$) from 2 to 3, D Build the frame ($3$) from 3 to 4, E Fit the roof ($2$) from 4 to 5, F Paint ($2$) from 4 to 6, G Gutters ($1$) from 5 to 6. Find the EST at each node and the minimum completion time.

Node 1: $0$
The project starts at time 0.
Node 2: $0 + 1 = 1$
Only A comes in.
Node 3: B gives $0 + 4 = 4$, C gives $1 + 2 = 3$. EST $= 4$
B and C come in. The frame can't start until both are done, so take the larger.
Node 4: $4 + 3 = 7$
Only D comes in.
Node 5: $7 + 2 = 9$
Only E comes in.
Node 6: F gives $7 + 2 = 9$, G gives $9 + 1 = 10$. EST $= 10$
F and G come in; take the larger.
The shed takes at least $10$ days.
The EST at the finish node is the minimum completion time.

Backward scanning: latest starting times

The latest starting time (LST) at a node is the latest that the activities leaving it can begin without making the project finish late. Start at the finish node, where LST $=$ EST $=$ the minimum completion time, and work backwards.

  • For each arrow going out of a node: LST at its head $-$ its duration.
  • If more than one arrow goes out, take the smallest. Leave it any later than that and at least one of those paths will run late.
Example 2●●

Find the LST at each node of the shed network.

Node 6: $10$
At the finish, the latest time equals the minimum completion time.
Node 5: $10 - 1 = 9$
Only G goes out.
Node 4: E gives $9 - 2 = 7$, F gives $10 - 2 = 8$. LST $= 7$
E and F go out. Take the smaller, so neither path runs late.
Node 3: $7 - 3 = 4$
Only D goes out.
Node 2: $4 - 2 = 2$
Only C goes out.
Node 1: A gives $2 - 1 = 1$, B gives $4 - 4 = 0$. LST $= 0$ ✓
A and B go out; take the smaller. The start node should always come back to 0, which checks your work.
Node$1$$2$$3$$4$$5$$6$
EST$0$$1$$4$$7$$9$$10$
LST$0$$2$$4$$7$$9$$10$

Node 2 is the only node where the two times differ. That gap is spare time, which is the subject of 9C.

InteractiveScan the renovation
Try this

This kitchen renovation has a dummy from node 3 to node 4. Do the forward scan one node at a time: type the EST and press Check. At node 4, remember the dummy counts as an arrow with duration $0$.

Then switch to the backward scan. At node 3, two arrows leave (G and the dummy). Which one decides the LST, and why?

Your turn

For the school video in 9A (A $3$, B $2$, C $1$, D $2$, E $4$; arcs A 1→2, B 2→3, C 2→4, D 3→4, E 4→5), find the EST at every node and the minimum completion time.

Show the working

Node 1: $0$. Node 2: $0 + 3 = 3$. Node 3: $3 + 2 = 5$. Node 4: C gives $3 + 1 = 4$, D gives $5 + 2 = 7$, take $7$. Node 5: $7 + 4 = 11$. Minimum completion time: $11$ days.

Flashcards
Forward scan rule
EST = EST at tail + duration; if several arrows come in, take the largest
Backward scan rule
LST = LST at head − duration; if several arrows go out, take the smallest
Minimum completion time
The EST at the finish node
Practice
  1. In a forward scan, two arrows enter a node, giving $9$ and $12$. The EST at the node is:

  2. In a backward scan, two arrows leave a node, giving $6$ and $4$. The LST at the node is:

  3. School video network: A ($3$) from node 1 to 2, B ($2$) from 2 to 3, C ($1$) from 2 to 4, D ($2$) from 3 to 4, E ($4$) from 4 to 5. Find the EST at node 4.

  4. For the same network, find the minimum completion time in days.

  5. For the same network, find the LST at node 2.

  6. Café network: K ($2$) from node 1 to 2, L ($5$) from 1 to 3, a dummy from 2 to 3, M ($6$) from 2 to 4, N ($3$) from 3 to 4. Find the EST at node 3.

  7. For the café network, find the minimum completion time in days.

  8. Exam style: In the shed network from Example 1, buying materials (B) now takes only $2$ days. Find the new minimum completion time.

  9. Exam style: In the original shed network, painting (F) now takes $4$ days. Find the new minimum completion time.

Formula sheet