Edexcel FD2 AS 2020 June — Question 2 9 marks

Exam BoardEdexcel
ModuleFD2 AS (Further Decision 2 AS)
Year2020
SessionJune
Marks9
PaperDownload PDF ↗
Mark schemeDownload PDF ↗
TopicMatchings and Allocation
TypeHungarian algorithm with restrictions
DifficultyStandard +0.3 This is a standard Hungarian algorithm application with one restriction (C cannot do Q). Part (a) tests understanding that the algorithm solves minimization problems (requiring negation/subtraction from maximum), part (b) is routine table modification, and part (c) is mechanical execution of the algorithm. The restriction is handled trivially by leaving a cell blank. This is slightly easier than average because it's a direct application of a taught algorithm with clear steps, though the maximization-to-minimization conversion and systematic execution require care.
Spec7.03k Sorting: quick sort

2. Four workers, A, B, C and D, are each to be assigned to one of four tasks, P, Q, R and S. Each worker must be assigned to one task, and each task must be done by exactly one worker. Worker C cannot be assigned to task Q. The amount, in pounds, that each worker would earn when assigned to each task is shown in the table below.
\cline { 2 - 5 } \multicolumn{1}{c|}{}PQRS
A72985984
B67876886
C70-6279
D78936481
The Hungarian algorithm is to be used to find the maximum total amount that can be earned by the four workers.
  1. Explain how the table should be modified so that the Hungarian algorithm may be applied.
  2. Modify the table so that the Hungarian algorithm may be applied.
  3. Reducing rows first, use the Hungarian algorithm to obtain an allocation that maximises the total earnings. You should explain how any initial row and column reductions were made and also how you determined if the table was optimal at each stage.

Question 2:
Part (a)
AnswerMarks Guidance
AnswerMark Guidance
Subtract each entry from a constant (e.g. 98) to convert from maximisation to minimisationB1
Add an appropriate large value to cell CQ (e.g. twice the largest value) to make CQ unattractiveB1
Part (b)
AnswerMarks Guidance
AnswerMark Guidance
Reduced matrix e.g. \(\begin{pmatrix} & P & Q & R & S \\ A & 26 & 0 & 39 & 14 \\ B & 31 & 11 & 30 & 12 \\ C & 28 & 78 & 36 & 19 \\ D & 20 & 5 & 34 & 17 \end{pmatrix}\)B1 Cao
Part (c)
AnswerMarks Guidance
AnswerMark Guidance
No reduction for row A; reduce row B by 11, row C by 19, row D by 5; reduce column P by 9 and column R by 17, no reduction in columns Q and SB1
Row and column reduction giving correct intermediate matricesM1
Augment by 1; giving correct matrixM1
Augment by 5; giving correct matrixM1
Four lines required to cover zeros; solution is optimalB1
\(A-Q,\ B-S,\ C-R,\ D-P\)A1
## Question 2:

### Part (a)
| Answer | Mark | Guidance |
|--------|------|----------|
| Subtract each entry from a constant (e.g. 98) to convert from maximisation to minimisation | B1 | |
| Add an appropriate large value to cell CQ (e.g. twice the largest value) to make CQ unattractive | B1 | |

### Part (b)
| Answer | Mark | Guidance |
|--------|------|----------|
| Reduced matrix e.g. $\begin{pmatrix} & P & Q & R & S \\ A & 26 & 0 & 39 & 14 \\ B & 31 & 11 & 30 & 12 \\ C & 28 & 78 & 36 & 19 \\ D & 20 & 5 & 34 & 17 \end{pmatrix}$ | B1 | Cao |

### Part (c)
| Answer | Mark | Guidance |
|--------|------|----------|
| No reduction for row A; reduce row B by 11, row C by 19, row D by 5; reduce column P by 9 and column R by 17, no reduction in columns Q and S | B1 | |
| Row and column reduction giving correct intermediate matrices | M1 | |
| Augment by 1; giving correct matrix | M1 | |
| Augment by 5; giving correct matrix | M1 | |
| Four lines required to cover zeros; solution is optimal | B1 | |
| $A-Q,\ B-S,\ C-R,\ D-P$ | A1 | |
2. Four workers, A, B, C and D, are each to be assigned to one of four tasks, P, Q, R and S.

Each worker must be assigned to one task, and each task must be done by exactly one worker.

Worker C cannot be assigned to task Q.

The amount, in pounds, that each worker would earn when assigned to each task is shown in the table below.

\begin{center}
\begin{tabular}{ | c | c | c | c | c | }
\cline { 2 - 5 }
\multicolumn{1}{c|}{} & P & Q & R & S \\
\hline
A & 72 & 98 & 59 & 84 \\
\hline
B & 67 & 87 & 68 & 86 \\
\hline
C & 70 & - & 62 & 79 \\
\hline
D & 78 & 93 & 64 & 81 \\
\hline
\end{tabular}
\end{center}

The Hungarian algorithm is to be used to find the maximum total amount that can be earned by the four workers.
\begin{enumerate}[label=(\alph*)]
\item Explain how the table should be modified so that the Hungarian algorithm may be applied.
\item Modify the table so that the Hungarian algorithm may be applied.
\item Reducing rows first, use the Hungarian algorithm to obtain an allocation that maximises the total earnings. You should explain how any initial row and column reductions were made and also how you determined if the table was optimal at each stage.
\end{enumerate}

\hfill \mbox{\textit{Edexcel FD2 AS 2020 Q2 [9]}}