D2 June 2019 Q3

EdexcelOld spec8 marksAllocation

3. Five friends have rented a house that has five bedrooms. They each require their own bedroom. The table below shows how each friend rated the five bedrooms, A, B, C, D and E, where 0 is low and 10 is high.

ABCDE
Frank50734
Gill538101
Harry43790
Imogen63654
Jiao02732

Reducing rows first, use the Hungarian algorithm to obtain an allocation that maximises the total of all the ratings. You must make your method clear and show the table after each stage.