Data set: Workshop renovation (Hard)
Workshop renovation
A renovation has eight tasks, A to H. The table gives each task's duration in days and the tasks that must be fully finished before it can start. A task, once started, is done by one worker without a break; a worker does one task at a time; any worker can do any task.
| Task | Duration (days) | Must follow |
|---|---|---|
| A | 3 | — |
| B | 4 | — |
| C | 2 | A |
| D | 5 | A, B |
| E | 3 | C |
| F | 4 | D, E |
| G | 2 | B |
| H | 5 | G |
With as many workers as needed and the renovation finishing in the minimum time, which tasks can each be delayed by 2 days without delaying the finish?
AC, E and G only
BA, C and E only
CG and H only
DG only
Show answer & solution
Correct answer: C. G and H only
Solution: With enough workers, every task starts as soon as its predecessors finish. Finish days: A 3, B 4, C 5, D 9 (after A and B), E 8, F 13 (after D at 9 and E at 8), G 6, H 11. So the project needs 13 days, along the chain B → D → F (4 + 5 + 4). Working backwards from day 13, the latest finishes are A 4, B 4, C 6, D 9, E 9, F 13, G 8, H 13, so the slacks are A 1, B 0, C 1, D 0, E 1, F 0, G 2, H 2. Only G and H have a slack of 2 days.