Sub topic 2
Finding the Critical Path
Assume you can read a simple activity network or Gantt chart and know basic project terms such as duration, dependency, scope, cost, and resources. This chapter uses basic arithmetic to find the critical path and the float of activities.
What the critical path means
A schedule network shows activities, their durations, and their dependencies. A dependency is a relationship that says when one activity can start compared with another.
The critical path is the longest connected path through the schedule network. Its total duration determines the shortest possible project duration when no activity is delayed.
An activity on the critical path has no scheduling flexibility. If it takes one extra day, the project usually finishes one day later. A project can have more than one critical path if two or more paths have the same longest duration.
Consider this network:
There are two complete paths:
- A → B → D = 3 + 5 + 3 = 11 days
- A → C → D = 3 + 4 + 3 = 10 days
The critical path is A → B → D, and the project duration is 11 days.
Finding the path with a forward pass
A forward pass calculates the earliest start and earliest finish for each activity. The earliest start is the soonest an activity can begin. The earliest finish is its earliest start plus its duration.
Use these rules:
- An activity with no predecessors has an earliest start of zero.
- For an activity with predecessors, its earliest start is the largest earliest finish among those predecessors.
- Earliest finish equals earliest start plus duration.
- The largest final earliest finish is the project duration.
The maximum matters because an activity cannot start until all of its predecessors finish. If one predecessor finishes on day 8 and another on day 10, the next activity starts on day 10.
activities = {
"A": {"duration": 3, "predecessors": []},
"B": {"duration": 5, "predecessors": ["A"]},
"C": {"duration": 4, "predecessors": ["A"]},
"D": {"duration": 3, "predecessors": ["B", "C"]},
}
earliest_finish = {}
for name, activity in activities.items():
earliest_start = max(
(earliest_finish[p] for p in activity["predecessors"]),
default=0,
)
earliest_finish[name] = earliest_start + activity["duration"]
print(
f"{name}: start {earliest_start}, "
f"finish {earliest_finish[name]}"
)
print("Project duration:", max(earliest_finish.values()), "days")The program prints a project duration of 11 days. It assumes that the activities are listed in dependency order. A larger scheduling program must sort activities before performing the pass.
Float and near-critical paths
Float, also called slack, is the amount of time an activity can be delayed without delaying a specified milestone or the project finish.
In the example, path A → C → D takes 10 days, while the project takes 11 days. This path has one day of path float. Activity C can usually slip by one day before it affects the project finish. Activity B cannot slip because A → B → D is already 11 days.
A near-critical path has little float. It deserves close monitoring because a small delay can make it critical. If activity C is delayed by two days, the second path becomes 12 days long and replaces the original critical path.
When analyzing a real schedule, calculate float for individual activities as well as complete paths. Shared activities can affect more than one path. For example, delaying A delays both paths, even though only one path is currently critical.
Why the critical path matters for compression
Schedule compression shortens the project without removing required scope. Only activities that currently control the project finish can shorten the project immediately. Shortening a noncritical activity may consume its float without changing the project duration.
This rule guides two common techniques:
- Crashing adds resources or cost to shorten selected critical activities.
- Fast-tracking overlaps activities that were planned in sequence.
Before choosing either technique, identify every critical and near-critical path. A change that shortens one path may expose another path as the new controller of the finish date.
Exercise
In a network, path X takes 14 days and path Y takes 12 days. Which path is critical, and how much float does path Y have?
Show answer
Path X is critical because it is the longest path. Path Y has 2 days of float.