3 Five lecturers were given the following scores when matched against criteria for teaching five courses in a college.
| Course 1 | Course 2 | Course 3 | Course 4 | Course 5 |
| Ron | 13 | 13 | 9 | 10 | 13 |
| Sam | 13 | 14 | 12 | 17 | 15 |
| Tom | 16 | 10 | 8 | 14 | 14 |
| Una | 11 | 14 | 12 | 16 | 10 |
| Viv | 12 | 14 | 14 | 13 | 15 |
Each lecturer is to be allocated to exactly one of the courses so as to maximise the total score of the five lecturers.
- Explain why the Hungarian algorithm may be used if each number, \(x\), in the table is replaced by \(17 - x\).
- Form a new table by subtracting each number in the table above from 17. Hence show that, by reducing rows first and then columns, the resulting table of values is as below.
| 0 | 0 | 3 | 3 | 0 |
| 4 | 3 | 4 | 0 | 2 |
| 0 | 6 | 7 | 2 | 2 |
| 5 | 2 | 3 | 0 | 6 |
| 3 | 1 | 0 | 2 | 0 |
- Show that the zeros in the table in part (b) can be covered with two horizontal and two vertical lines. Hence use the Hungarian algorithm to reduce the table to a form where five lines are needed to cover the zeros.
- Hence find the possible allocations of courses to the five lecturers so that the total score is maximised.
- State the value of the maximum total score.