impera Open Impera

A levels Further Mathematics · Decision mathematics

Critical path analysis

1Activity networks

A project is broken into activities with durations and precedences (activities that must finish first). These are shown in a precedence table and drawn as an activity network.

In the activity on arc method, activities are arcs (arrows) and the nodes are events (moments when activities finish and start).

A dummy activity (a dashed arrow with duration 0) is used to show a dependence correctly, or to keep each activity uniquely defined by its start and end events.

Worked example

A precedence table

  1. A 3 (none), B 4 (none), C 2 (A), D 4 (A), E 6 (B, C), F 3 (D), G 2 (E, F).
  2. E cannot start until both B and C are finished.

Activity on arc. Each node shows early | late event time. The critical path A, C, E, G (red) takes 13 days.

Check yourself

What is a dummy activity?

  • The longest activity in the whole project

  • An arc of zero duration used to show a precedence correctly

  • An activity that can be skipped if time is short

  • An activity that has no successors after it

Show the answer

An arc of zero duration used to show a precedence correctly

Drawn as a dashed arrow.

2Early event times

The early event time of a node is the earliest time all activities leading into it can be finished. Work forwards through the network:

$$\text{early time} = \max(\text{early time of previous node} + \text{duration})$$

Worked example

Forward pass

  1. Start: 0. A finishes at 3, B at 4.
  2. C finishes at $3 + 2 = 5$; D at $3 + 4 = 7$.
  3. E starts at $\max(4, 5) = 5$ and finishes at 11. F finishes at $7 + 3 = 10$.
  4. G starts at $\max(11, 10) = 11$ and finishes at 13.
  5. Minimum project time: 13.
Check yourself

How is the early event time found at a node with several incoming activities?

  • Take the maximum of (early time + duration) over the incoming activities

  • Take the average of the incoming early times

  • Add together all the durations of the incoming activities at that node

  • Take the minimum of (early time + duration) over the incoming activities

Show the answer

Take the maximum of (early time + duration) over the incoming activities

Everything entering must be finished.

3Late event times

The late event time of a node is the latest time it can occur without delaying the project. Work backwards from the end:

$$\text{late time} = \min(\text{late time of next node} - \text{duration})$$

Worked example

Backward pass

  1. End: 13. G must start by $13 - 2 = 11$.
  2. E must start by $11 - 6 = 5$; F by $11 - 3 = 8$.
  3. D must start by $8 - 4 = 4$; C by $5 - 2 = 3$; B by $5 - 4 = 1$.
  4. A must finish by $\min(3, 4) = 3$, so start by 0.
Check yourself

How is the late event time found at a node with several outgoing activities?

  • Take the minimum of (late time − duration)

  • It is always zero at these nodes

  • Take the maximum of (late time − duration)

  • Subtract all the outgoing durations together

Show the answer

Take the minimum of (late time − duration)

The tightest following activity decides.

4Critical activities and float

An activity is critical if any delay to it delays the whole project. On a critical path, early and late times are equal at every node.

The total float of an activity is the spare time it has:

$$\text{float} = \text{late finish} - \text{early start} - \text{duration}$$

Worked example

Floats

  1. Critical path: A, C, E, G ($3 + 2 + 6 + 2 = 13$).
  2. Float of B $= 5 - 0 - 4 = 1$.
  3. Float of D $= 8 - 3 - 4 = 1$; float of F $= 11 - 7 - 3 = 1$.

Critical activities have zero float.

Check yourself

What is the float of a critical activity?

  • 0

  • Its duration

  • 1

  • The project time

Show the answer

0

No spare time at all.

5Gantt charts

A Gantt (cascade) chart shows each activity as a bar starting at its early start time, with its float shown as a dotted extension.

  • Critical activities are drawn as a single unbroken line along the top.
  • At any time, you can read off which activities must be happening and which may be happening.
Worked example

Reading a Gantt chart

  1. At time 6, E must be happening (it is critical, from 5 to 11).
  2. D may be happening (early 3 to 7, with float up to 8).
Check yourself

On a Gantt chart, how is float shown?

  • It is not shown on a Gantt chart

  • As a gap before the activity bar

  • As a red bar beside the activity

  • As a dotted extension after the activity bar

Show the answer

As a dotted extension after the activity bar

The activity can slide into it.

6Workers and resource levelling

The lower bound for the number of workers needed to finish in the minimum time is

$$\left\lceil \frac{\text{sum of all durations}}{\text{critical path length}} \right\rceil$$

Worked example

How many workers?

  1. Sum of durations $= 3 + 4 + 2 + 4 + 6 + 3 + 2 = 24$.
  2. Lower bound $= \lceil 24 \div 13 \rceil = \lceil 1.85 \rceil = 2$ workers.
  3. A scheduling diagram then assigns activities to workers. At each step, give a free worker the available activity with the least float (critical first).

Resource histograms show how many workers are busy at each moment. Using float to move activities so that the number of workers is as even as possible is called resource levelling.

Check yourself

Activity durations total 50 and the critical path is 18. What is the lower bound for workers?

  • 2

  • 3

  • 4

  • 2.78

Show the answer

3

Round 2.78 up.

Now test yourself

This lesson has a 8-question quiz and 5 exam-style questions with mark schemes in Impera. Free, with your progress saved.

Practise in Impera