Decision Mathematics 1 June 2017, Question 1 10 marks
Define the terms
bipartite graph,
Reveal mark scheme
alternating path.
At a hotel, six guests, A, B, C, D, E and F, are to be allocated to six rooms, 1, 2, 3, 4, 5 and 6. Each room needs to be allocated to exactly one guest. A bipartite graph showing their possible allocations is given in Figure 1. An initial matching is given in Figure 2.
Reveal mark scheme
Starting from the initial matching given in Figure 2, apply the maximum matching algorithm to find an alternating path from F to 5. Hence find an improved matching. You must list the alternating path that you use and state your improved matching.
Guest C now has room 5 added to his possible allocations.
Reveal mark scheme
Starting with the improved matching found in (b), apply the maximum matching algorithm to obtain a complete matching. You must list the alternating path that you use and state your complete matching.
Reveal mark scheme