OCR D2 2012 June — Question 2 8 marks

Exam BoardOCR
ModuleD2 (Decision Mathematics 2)
Year2012
SessionJune
Marks8
PaperDownload PDF ↗
Mark schemeDownload PDF ↗
TopicMatchings and Allocation
TypeHungarian algorithm for maximisation
DifficultyStandard +0.3 This is a standard textbook application of the Hungarian algorithm with clear step-by-step instructions. Part (i) tests recall of the maximisation modification (subtract from maximum), part (ii) is routine arithmetic verification, and part (iii) follows the standard algorithm procedure. The question requires no problem-solving insight—just methodical application of a learned algorithm.
Spec7.03l Bin packing: next-fit, first-fit, first-fit decreasing, full bin7.03m Packing extensions: 2D/3D packing and knapsack problems

2 The cadets in Blue Team have been set a task that requires them to get inside a guarded building. Every two hours one of them will attempt to get inside the building. Each cadet will have one attempt. The table shows a score for each cadet attempting to get inside the building at each time. The higher the score the more likely the cadet is to succeed. Time
\multirow{6}{*}{Cadet}\multirow[b]{3}{*}{
Gary
Hilary
}
23300130033005300730
\(G\)80711
H92702
IeuanI104935
Jenni\(J\)72612
Ken\(K\)108967
  1. Explain how to modify the table so that the Hungarian algorithm can be used to find the matching for which the total score is maximised.
  2. Show that, after modifying the table and then reducing rows and then columns, the reduced cost matrix becomes:
    23300130033005300730
    \(G\)06034
    \(H\)05154
    \(I\)04032
    \(J\)03022
    \(K\)00000
  3. Complete the application of the Hungarian algorithm, stating how each table was formed. Write down the order in which the cadets should attempt to get into the building to maximise the total score. If the cadets use this solution, which one is least likely to succeed?

2 The cadets in Blue Team have been set a task that requires them to get inside a guarded building. Every two hours one of them will attempt to get inside the building. Each cadet will have one attempt.

The table shows a score for each cadet attempting to get inside the building at each time. The higher the score the more likely the cadet is to succeed.

Time

\begin{center}
\begin{tabular}{|l|l|l|l|l|l|l|l|}
\hline
\multirow{6}{*}{Cadet} & \multirow[b]{3}{*}{\begin{tabular}{l}
Gary \\
Hilary \\
\end{tabular}} & \multicolumn{2}{|r|}{2330} & 0130 & 0330 & 0530 & 0730 \\
\hline
 &  & $G$ & 8 & 0 & 7 & 1 & 1 \\
\hline
 &  & H & 9 & 2 & 7 & 0 & 2 \\
\hline
 & Ieuan & I & 10 & 4 & 9 & 3 & 5 \\
\hline
 & Jenni & $J$ & 7 & 2 & 6 & 1 & 2 \\
\hline
 & Ken & $K$ & 10 & 8 & 9 & 6 & 7 \\
\hline
\end{tabular}
\end{center}

(i) Explain how to modify the table so that the Hungarian algorithm can be used to find the matching for which the total score is maximised.\\
(ii) Show that, after modifying the table and then reducing rows and then columns, the reduced cost matrix becomes:

\begin{center}
\begin{tabular}{ c | c | c | c | c | c }
 & 2330 & 0130 & 0330 & 0530 & 0730 \\
\hline
$G$ & 0 & 6 & 0 & 3 & 4 \\
\hline
$H$ & 0 & 5 & 1 & 5 & 4 \\
\hline
$I$ & 0 & 4 & 0 & 3 & 2 \\
\hline
$J$ & 0 & 3 & 0 & 2 & 2 \\
\hline
$K$ & 0 & 0 & 0 & 0 & 0 \\
\hline
\end{tabular}
\end{center}

(iii) Complete the application of the Hungarian algorithm, stating how each table was formed. Write down the order in which the cadets should attempt to get into the building to maximise the total score. If the cadets use this solution, which one is least likely to succeed?

\hfill \mbox{\textit{OCR D2 2012 Q2 [8]}}