AQA D2 2007 June — Question 2 12 marks

Exam BoardAQA
ModuleD2 (Decision Mathematics 2)
Year2007
SessionJune
Marks12
PaperDownload PDF ↗
Mark schemeDownload PDF ↗
TopicMatchings and Allocation
TypeHungarian algorithm for minimisation
DifficultyModerate -0.8 This is a standard algorithmic question testing the Hungarian algorithm with clear step-by-step instructions. Part (a) is pure mechanical calculation (row/column reduction), part (b) follows the standard covering procedure, and parts (c)-(d) require reading off the solution. While it has multiple parts (7 marks total), each step is routine application of a learned algorithm with no problem-solving insight required, making it easier than average A-level questions.
Spec7.04a Shortest path: Dijkstra's algorithm7.04b Minimum spanning tree: Prim's and Kruskal's algorithms

2 The daily costs, in pounds, for five managers A, B, C, D and E to travel to five different centres are recorded in the table below.
ABCDE
Centre 110118125
Centre 21151167
Centre 31287114
Centre 410914106
Centre 599789
Using the Hungarian algorithm, each of the five managers is to be allocated to a different centre so that the overall total travel cost is minimised.
  1. By reducing the rows first and then the columns, show that the new table of values is
    36360
    40602
    64360
    23830
    02002
  2. Show that the zeros in the table in part (a) can be covered with three lines and use adjustments to produce a table where five lines are required to cover the zeros.
  3. Hence find the two possible ways of allocating the five managers to the five centres with the least possible total travel cost.
  4. Find the value of this minimum daily total travel cost.

Question 2:
Part (a)
AnswerMarks Guidance
AnswerMarks Guidance
Row reduction: subtract row minima (5,5,4,9,7)M1
Correct row-reduced tableA1
Column reduction: subtract column minima (0,0,0,0,0) giving stated tableA1 3 marks total
Part (b)
AnswerMarks Guidance
AnswerMarks Guidance
Zeros covered by 3 lines (e.g. col B, col D, row 5)B1 M1
Minimum uncovered element identified (= 2)A1
Correct adjusted table producedA1 A1 5 marks total
Part (c)
AnswerMarks Guidance
AnswerMarks Guidance
Allocation 1: A→Centre3, B→Centre2, C→Centre5, D→Centre1(?), E→Centre4M1 A1
Allocation 2: alternative valid allocation statedA1 3 marks total
Part (d)
AnswerMarks Guidance
AnswerMarks Guidance
Minimum total cost = £37B1 1 mark
# Question 2:

## Part (a)
| Answer | Marks | Guidance |
|--------|-------|----------|
| Row reduction: subtract row minima (5,5,4,9,7) | M1 | |
| Correct row-reduced table | A1 | |
| Column reduction: subtract column minima (0,0,0,0,0) giving stated table | A1 | 3 marks total |

## Part (b)
| Answer | Marks | Guidance |
|--------|-------|----------|
| Zeros covered by 3 lines (e.g. col B, col D, row 5) | B1 M1 | |
| Minimum uncovered element identified (= 2) | A1 | |
| Correct adjusted table produced | A1 A1 | 5 marks total |

## Part (c)
| Answer | Marks | Guidance |
|--------|-------|----------|
| Allocation 1: A→Centre3, B→Centre2, C→Centre5, D→Centre1(?), E→Centre4 | M1 A1 | |
| Allocation 2: alternative valid allocation stated | A1 | 3 marks total |

## Part (d)
| Answer | Marks | Guidance |
|--------|-------|----------|
| Minimum total cost = £37 | B1 | 1 mark |

---
2 The daily costs, in pounds, for five managers A, B, C, D and E to travel to five different centres are recorded in the table below.

\begin{center}
\begin{tabular}{|l|l|l|l|l|l|}
\hline
 & A & B & C & D & E \\
\hline
Centre 1 & 10 & 11 & 8 & 12 & 5 \\
\hline
Centre 2 & 11 & 5 & 11 & 6 & 7 \\
\hline
Centre 3 & 12 & 8 & 7 & 11 & 4 \\
\hline
Centre 4 & 10 & 9 & 14 & 10 & 6 \\
\hline
Centre 5 & 9 & 9 & 7 & 8 & 9 \\
\hline
\end{tabular}
\end{center}

Using the Hungarian algorithm, each of the five managers is to be allocated to a different centre so that the overall total travel cost is minimised.
\begin{enumerate}[label=(\alph*)]
\item By reducing the rows first and then the columns, show that the new table of values is

\begin{center}
\begin{tabular}{ | l | l | l | l | l | }
\hline
3 & 6 & 3 & 6 & 0 \\
\hline
4 & 0 & 6 & 0 & 2 \\
\hline
6 & 4 & 3 & 6 & 0 \\
\hline
2 & 3 & 8 & 3 & 0 \\
\hline
0 & 2 & 0 & 0 & 2 \\
\hline
\end{tabular}
\end{center}
\item Show that the zeros in the table in part (a) can be covered with three lines and use adjustments to produce a table where five lines are required to cover the zeros.
\item Hence find the two possible ways of allocating the five managers to the five centres with the least possible total travel cost.
\item Find the value of this minimum daily total travel cost.
\end{enumerate}

\hfill \mbox{\textit{AQA D2 2007 Q2 [12]}}