Sub topic 11
Shortening the Schedule: Crashing and Fast-Tracking
This chapter assumes you can run a forward and backward pass, compute total float, and read the critical path from the zero-float activities. It also assumes you know the example network from earlier chapters: A (3 days), B (2 days), C (4 days) and D (3 days). A leads to B and C, and both B and C lead to D. The critical path is A, C, D, with a length of 10 days. Basic Python helps with the code but is not required.
Why compression starts with the critical path
The critical path sets the minimum project duration. If you shorten an activity that has float, the finish date does not move, and you have spent money or taken on risk for nothing. Compression therefore always starts from the same question: which activities are critical right now?
Two techniques are standard:
- Crashing adds resources to an activity so it takes less time. You pay more for the same scope.
- Fast-tracking changes the logic so that activities that were in sequence now overlap. The scope and resources stay the same, but you take on rework risk.
Both techniques shorten the critical path, and neither one repairs a schedule built on poor estimates. The network and its durations must be sound first. If you have not checked for cycles and missing links, do that before compressing.
Crashing
The crash data you need
For each activity you need three numbers:
- The normal duration.
- The crash duration, which is the shortest time the activity can realistically take. Below that, more people or overtime do not help.
- The crash cost per day, which is the extra cost of each day you remove.
The usual formula for the cost slope is:
cost slope = (crash cost - normal cost) / (normal duration - crash duration)Activities do not crash linearly in practice, but the slope is a reasonable planning figure.
For our example network, suppose the data is:
| Activity | Normal days | Minimum days | Extra cost per day |
|---|---|---|---|
| A | 3 | 2 | 300 |
| B | 2 | 1 | 100 |
| C | 4 | 2 | 500 |
| D | 3 | 2 | 400 |
B is the cheapest activity to crash, but it is not on the critical path. B has 2 days of float, so crashing it shortens nothing.
The crashing procedure
- Compute the critical path.
- Among the critical activities that can still be shortened, pick the one with the lowest cost per day.
- Shorten it by one day (or by a small step) and recalculate the whole network.
- Repeat until you reach the target or no critical activity can be shortened.
Recalculation in step 3 is not optional. Every time you shorten a critical activity, the float of other activities shrinks. A path that had slack may become critical, and your next choice must consider it.
Crashing in code
This program reuses the forward and backward pass logic and applies the procedure above to reach an 8-day target.
tasks = {
"A": {"dur": 3, "min": 2, "cost": 300, "preds": []},
"B": {"dur": 2, "min": 1, "cost": 100, "preds": ["A"]},
"C": {"dur": 4, "min": 2, "cost": 500, "preds": ["A"]},
"D": {"dur": 3, "min": 2, "cost": 400, "preds": ["B", "C"]},
}
def schedule(tasks):
es, ef = {}, {}
for t, d in tasks.items():
es[t] = max((ef[p] for p in d["preds"]), default=0)
ef[t] = es[t] + d["dur"]
end = max(ef.values())
succs = {t: [] for t in tasks}
for t, d in tasks.items():
for p in d["preds"]:
succs[p].append(t)
ls, lf = {}, {}
for t in reversed(list(tasks)):
lf[t] = min((ls[s] for s in succs[t]), default=end)
ls[t] = lf[t] - tasks[t]["dur"]
critical = [t for t in tasks if ls[t] - es[t] == 0]
return end, critical
def crash_to(tasks, target):
extra = 0
end, critical = schedule(tasks)
while end > target:
options = [t for t in critical if tasks[t]["dur"] > tasks[t]["min"]]
if not options:
raise ValueError("cannot reach the target by crashing")
pick = min(options, key=lambda t: tasks[t]["cost"])
tasks[pick]["dur"] -= 1
extra += tasks[pick]["cost"]
end, critical = schedule(tasks)
print(f"crash {pick}: project now {end} days, critical {critical}, extra cost {extra}")
return extra
crash_to(tasks, 8)
# crash A: project now 9 days, critical ['A', 'C', 'D'], extra cost 300
# crash D: project now 8 days, critical ['A', 'C', 'D'], extra cost 700The first step crashes A at 300 per day, because A is the cheapest critical activity. A is then at its minimum of 2 days. The second step must choose between C (500) and D (400), so it picks D. B is never touched, even though it is the cheapest activity overall.
Watching the parallel-path trap
Suppose we crash further. Once A and D are at their minimums, only C remains. Crashing C from 4 to 3 gives a 7-day project, and crashing it again to 2 gives 6 days. At that point A, B, C and D all have zero float, because the path A, B, D is also 6 days long (2 + 2 + 2). Any further reduction needs a day taken from both paths at once. Here C is already at its minimum, so you can crash B but the C path still blocks you. The schedule has hit its floor.
This is the general shape of crashing: early days are cheap and easy, and later days are expensive because they require shortening several paths together.
Cost trade-offs
Crashing raises direct cost, but a shorter project can cut indirect costs such as overhead, rented equipment, or delay penalties. The best duration is often not the shortest. Compare the cumulative crash cost with the indirect cost saved per day. Stop crashing when the next day costs more than it saves.
Fast-tracking
Fast-tracking does not add resources. It overlaps activities that the plan had in sequence. The typical case is finish-to-start: D cannot start until C finishes. If D can in fact begin once C is 75% done, you can express this as a lead.
A lead is a negative lag: it lets the successor start before the predecessor finishes. In our network, give D a 1-day lead on C (written FS-1).
With the lead, D starts on day 6 instead of day 7. The path A, C, D now takes 3 + 4 - 1 + 3 = 9 days. The path A, B, D is not affected by the lead, but it now matters: B finishes on day 5 and D starts on day 6, so B has 1 day of float, down from 2.
Fast-tracking also has limits:
- Rework risk. If C changes after D has started, D may need to be redone. The saved day can turn into lost days.
- Hard logic. Some dependencies are physical. You cannot paint a wall before it is built. Fast-tracking applies mainly to preferential or soft logic, where the order is a choice.
- Coordination cost. Overlapping work needs more communication and often more review.
- Only critical activities help. Overlapping two activities that are not on the critical path changes nothing about the end date.
Comparing the two techniques
| Aspect | Crashing | Fast-tracking |
|---|---|---|
| What changes | Resources assigned to an activity | The dependency logic between activities |
| Main cost | Extra money | Extra risk and rework |
| Scope | Unchanged | Unchanged |
| Works when | An activity can be shortened with more effort | Activities can safely overlap |
| Typical failure | Diminishing returns, or a second critical path | Rework that cancels the saving |
| Reversible | Usually (stop paying) | Hard once work has overlapped |
Many projects use both. A common order is to fast-track first where the logic is soft, because it costs less up front, and then crash the cheapest remaining critical activities.
Edge cases to check after every change
- Another path becomes critical. After any compression, rerun the passes. A near-critical path may now be critical, and the next day of savings must come from both.
- Resource side effects. Crashing means assigning more people. Check that those people are not already needed on a parallel activity. If they are, you have only moved the problem.
- Quality and safety. Compressed work can raise defect rates. A minimum duration in the data should reflect these limits and not only the cost curve.
- Lags and dependency types. A lag between two activities is not crashable by adding people. Waiting for concrete to cure takes the same time regardless of the crew size.
- Risk of the new schedule. A compressed schedule has less float and more near-critical paths. It is more fragile when estimates are wrong. Pair compression with a risk review.
Exercise
In the example network (A 3 days, B 2 days, C 4 days, D 3 days, with A before B and C, and B and C before D), a colleague proposes crashing B from 2 days to 1 day for 100 per day, because B is the cheapest activity. What happens to the project duration, and what should they do instead? Assume the other durations stay at their normal values.
Show answer
The project stays at 10 days. B is not on the critical path: it has 2 days of total float, and the critical path is A, C, D. Shortening B only increases its float to 3 days, so the 100 is wasted. They should crash a critical activity instead. Among A (300 per day), C (500) and D (400), A is cheapest, so crash A by one day for 300 to reach a 9-day project.