A2 June 2025 Q2

EdexcelCurrent spec9 marksAllocation

2. Five workers, A, B, C, D and E, are available to complete four tasks, P, Q, R and S.

Each worker can be assigned to at most one task, and each task must be done by at most one worker.

Worker B cannot be assigned to task R.

The time, in minutes, that each worker takes to complete each task is shown in the table below.

PQRS
A25324328
B4137–38
C43353739
D40333741
E37384340

The Hungarian algorithm is to be used to find an allocation that minimises the total time to complete all four tasks.

(a) Explain how the table should be modified so that the Hungarian algorithm can be applied. (2)
(b) Use the Hungarian algorithm to obtain an allocation that minimises the total time. (6)
(c) Calculate the least total time to complete all four tasks. (1)