AS June 2025 Q1

EdexcelCurrent spec9 marksAllocation

1. Five workers, A, B, C, D and E, are each to be assigned to one of five tasks, J, K, L, M and N. Each task must be assigned to exactly one worker and each worker must do exactly one task.

Worker C cannot do task L and worker D cannot do task K.

The profit, in pounds, that each worker will make while assigned to each task is shown in the table below.

JKLMN
A3833403532
B2624272523
C3329–3027
D36–413733
E3227312925

The Hungarian algorithm is to be used to find the maximum total profit that can be earned by the five workers.

(a) Explain how the contents of the table must be modified to allow the algorithm to be used. (2)
(b) Reducing rows first, use the Hungarian algorithm to obtain the maximum total profit. You should explain how any initial row and column reductions are made and also how you determine if the table is optimal at each stage. (7)