Bookmarks

CPM — critical path method

A schedule calculation technique that identifies the longest chain of dependent tasks in a project — its duration sets the minimum time for the whole job.

Also: critical path, critical path method, project’s critical path

checked 9 Nov

All terms

In a schedule tasks are linked by dependencies: one cannot start until another is finished. The longest such chain — the critical path: its duration is the minimum duration of the project. A delay to any task on the chain pushes out the end of the project, so these are the tasks to keep an eye on first of all.

How it works

  • The calculation needs the list of all the project’s work (usually from a WBS), the duration of each item and the dependencies between them.
  • For each task early and late dates are worked out: the earliest and the latest it can start and finish without pushing out the end of the project.
  • Float — the difference between the late and the early date: how many days a task can slip without harming the deadline.
  • Tasks on the critical path have no float: a one-day slip in any of them pushes the whole project back by a day.
  • Other paths have float — they can be slowed down, and people can be moved from them to the critical tasks.

A worked example

TaskDurationAfter which task
Gather requirements3 days—
Write the API5 daysgathering requirements
Build the interface7 daysgathering requirements
Integration tests2 dayswriting the API
Interface testing2 daysbuilding the interface

Through the API the chain comes to 3 + 5 + 2 = 10 days, through the interface 3 + 7 + 2 = 12 days. The second path is longer, so it is critical: the project cannot finish sooner than in 12 days. The tasks “write the API” and “integration tests” have two days of float; the tasks of the interface chain have none.

Where it is used

The method was developed in the late 1950s by Morgan Walker of DuPont and James Kelley of Remington Rand, and in 1959 they presented it at the joint IRE-AIEE-ACM computer conference. The critical path is calculated in construction, system implementation and product launches: wherever jobs depend on one another and the deadline matters.

The calculation is done by planning tools — Microsoft Project, Primavera P6 and other scheduling tools with a Gantt chart: they highlight the critical chain in colour and track how it changes as the project goes on. Task float and the path itself are recalculated after every change to the plan: a late non-critical task can become critical. In web performance the “critical rendering path” is a different thing: the minimal set of resources needed to display a page for the first time.

Sources

the term is written from these pages

Verified 9 Nov

Not to be confused with

what it is mixed up with and how it differs

  • WBSwork breakdown structure

    A WBS breaks the project down into work items, while the critical path shows which of them determine the deadline.

  • Gantt chart

    A Gantt chart is a way of drawing the schedule; the critical path is marked on it as the chain of tasks with no float.

In depth in the references

where the topic is covered in detail