Operations · Simulator 078
Building a house takes nine tasks, and some cannot start until others finish. Change how long each task takes, or rewrite which tasks depend on which. The chart shows the earliest schedule, the critical path that sets the finish date, and how much each other task can slip.
CollegeCollege project management
The critical path method (CPM) makes two passes through the task network.
Forward pass: a task's earliest start ES is the latest earliest finish of the tasks it depends on; its earliest finish is EF = ES + duration. The project length is the largest EF.
Backward pass: starting from the project end, a task's latest finish LF is the smallest latest start of the tasks that depend on it; LS = LF − duration.
slack (total float) = LS − ES
Tasks with zero slack form the critical path: any delay to them delays the whole project. Tasks with slack can slip by that much without moving the finish date, but using up slack can make another path critical. Shortening a critical task helps only until another path becomes just as long.
Dependencies are written one task per line, for example F: C D E means F starts after C, D and E finish. A loop (A after B after A) has no valid schedule and is reported.
Durations are fixed and resources are unlimited: tasks run in parallel whenever their dependencies allow. Real schedules also face uncertainty (PERT) and shared crews (resource levelling).
The landscaper now insists on starting only after Painting is finished (change Landscaping's line to H: G, and Inspection keeps I: G H). What is the new project length, and which tasks are critical?
Landscaping now sits on the main chain: A 4 + B 6 + D 4 + F 5 + G 3 + H 4 + I 1 = 27 days. The critical path is Foundation → Framing → Plumbing → Drywall → Painting → Landscaping → Inspection; Roofing and Electrical still have 1 day of slack.
Forward pass on the default house project: Foundation (A) 0–4, Framing (B) 4–10, then Roofing (C) 10–13, Plumbing (D) 10–14 and Electrical (E) 10–13 in parallel. Drywall (F) waits for all three: 14–19. Painting (G) 19–22, Landscaping (H) 4–8, Inspection (I) 22–23. Project length 23 days.
Backward pass: Inspection must start by 22, so Painting must finish by 22 and start by 19; Drywall must start by 14, so Roofing and Electrical must finish by 14, giving each 1 day of slack.
Landscaping only has to finish before Inspection at 22, so it can start as late as 18: slack 18 − 4 = 14 days.
Critical path: the zero-slack tasks A → B → D → F → G → I, 4 + 6 + 4 + 5 + 3 + 1 = 23 days. Load the default plan and check the slack column.
The longest chain of dependent tasks in a project. Its length is the shortest possible project duration, and any delay to a task on it delays the finish.
How long a task can be delayed without delaying the whole project: latest start minus earliest start. Critical tasks have zero slack.
Only by shortening tasks on the critical path, called crashing, or by running tasks in parallel. Once another path becomes as long, it must be shortened too.