Sub topic 2
Crashing: trading cost for time
This chapter assumes you can read an activity network, identify the critical path, and add durations along a path. It also assumes you know what a schedule baseline is.
Crashing: trading cost for time
Crashing shortens an activity by adding resources, such as overtime, extra crews, or expedited materials. The project finishes sooner, but it costs more. Crashing only shortens the project when the activity is on the critical path. Shortening an activity with float does not change the finish date.
Crash cost slope and crash limits
The crash cost slope is the extra cost per day saved:
slope = (crash cost − normal cost) / (normal duration − crash duration)
For example, an activity costs 1,000 at its normal duration of 5 days. Crashing it to 3 days costs 1,500. The slope is (1,500 − 1,000) / (5 − 3) = 250 per day.
Each activity also has a crash limit, the shortest duration it can reach. Past that point, more resources do not help.
Crash limit rule
Crash the cheapest critical activity first, and stop at its crash limit.
Crashing step by step, one day at a time
- Find the critical path and the current duration.
- List the critical activities that still have room above their crash limits.
- Pick the one with the lowest slope and shorten it by one day.
- Recalculate the network. Repeat until you reach the target or run out of options.
activities = {
"A": {"dur": 3, "min": 2, "slope": 500, "preds": []},
"B": {"dur": 5, "min": 3, "slope": 400, "preds": ["A"]},
"C": {"dur": 4, "min": 3, "slope": 300, "preds": ["A"]},
"D": {"dur": 3, "min": 2, "slope": 600, "preds": ["B", "C"]},
}
def project_duration(durs):
finish = {}
for name, a in activities.items():
start = max((finish[p] for p in a["preds"]), default=0)
finish[name] = start + durs[name]
return max(finish.values())
durs = {n: a["dur"] for n, a in activities.items()}
target, spent = 9, 0
while project_duration(durs) > target:
now = project_duration(durs)
options = [(a["slope"], n) for n, a in activities.items()
if durs[n] > a["min"]
and project_duration({**durs, n: durs[n] - 1}) < now]
if not options:
break
slope, n = min(options)
durs[n] -= 1
spent += slope
print(f"crash {n}: {now} -> {project_duration(durs)} days, +{slope}")
print(f"duration {project_duration(durs)} days, crash cost {spent}")The output shows B and then A crashed, for a total cost of 900.
Dependency types and leads
Finish-to-start (FS) is the most common dependency. A successor starts after its predecessor finishes. Crashing works on FS links. Fast-tracking changes them.
| Type | Meaning |
|---|---|
| Finish-to-start | Successor starts after predecessor finishes |
| Start-to-start | Successor starts after predecessor starts |
| Lead | Successor starts early, before predecessor finishes (negative lag) |
| Lag | Successor waits extra time after predecessor finishes |
A lead of 3 days on an FS link lets the successor start 3 days before its predecessor ends.
Exercise
Activity X is critical with a normal duration of 6 days, a crash duration of 4 days, and a normal cost of 2,000. Crashing it to 4 days costs 2,800. What is the crash cost slope?
Show answer
(2,800 − 2,000) / (6 − 4) = 800 / 2 = 400 per day.