Edexcel D2 — Question 2 6 marks

Exam BoardEdexcel
ModuleD2 (Decision Mathematics 2)
Marks6
PaperDownload PDF ↗
Mark schemeDownload PDF ↗
TopicMatchings and Allocation
TypeLinear programming formulation for assignment
DifficultyModerate -0.5 This is a standard transportation problem formulation requiring systematic setup of variables, objective function, and constraints from given data. While it involves multiple variables (9 decision variables) and constraints, it follows a completely routine template with no problem-solving insight needed—students simply apply the standard LP formulation pattern taught in D2.
Spec7.06a LP formulation: variables, constraints, objective function7.06b Slack variables: converting inequalities to equations7.06c Working with constraints: algebra and ad hoc methods

2. A supplier has three warehouses, \(A , B\) and \(C\), at which there are 42,26 and 32 crates of a particular cereal respectively. Three supermarkets, \(D , E\) and \(F\), require 29, 47 and 24 crates of the cereal respectively. The supplier wishes to minimise the cost in meeting the requirements of the supermarkets. The cost, in pounds, of supplying one crate of the cereal from each warehouse to each supermarket is given in the table below.
\cline { 2 - 4 } \multicolumn{1}{c|}{}\(D\)\(E\)\(F\)
\(A\)192213
\(B\)181426
\(C\)271619
Formulate this information as a linear programming problem.
  1. State your decision variables.
  2. Write down the objective function in terms of your decision variables.
  3. Write down the constraints, explaining what each one represents.

Question 2:
Part (a):
AnswerMarks Guidance
AnswerMarks Guidance
\(x_{ij}\) = number of crates sent from warehouse \(i\) to supermarket \(j\), where \(i \in \{A,B,C\}\), \(j \in \{D,E,F\}\)B1 Must define all 9 variables clearly
Part (b):
AnswerMarks Guidance
AnswerMarks Guidance
Minimise \(C = 19x_{AD} + 22x_{AE} + 13x_{AF} + 18x_{BD} + 14x_{BE} + 26x_{BF} + 27x_{CD} + 16x_{CE} + 19x_{CF}\)M1 A1 M1 for correct structure, A1 all coefficients correct
Part (c):
AnswerMarks Guidance
AnswerMarks Guidance
\(x_{AD}+x_{AE}+x_{AF} = 42\) (supply at \(A\))B1 Supply constraints
\(x_{BD}+x_{BE}+x_{BF} = 26\); \(x_{CD}+x_{CE}+x_{CF} = 32\)
\(x_{AD}+x_{BD}+x_{CD} = 29\) (demand at \(D\))B1 Demand constraints
\(x_{AE}+x_{BE}+x_{CE} = 47\); \(x_{AF}+x_{BF}+x_{CF} = 24\)
All \(x_{ij} \geq 0\)B1 Non-negativity
# Question 2:

## Part (a):
| Answer | Marks | Guidance |
|--------|-------|----------|
| $x_{ij}$ = number of crates sent from warehouse $i$ to supermarket $j$, where $i \in \{A,B,C\}$, $j \in \{D,E,F\}$ | B1 | Must define all 9 variables clearly |

## Part (b):
| Answer | Marks | Guidance |
|--------|-------|----------|
| Minimise $C = 19x_{AD} + 22x_{AE} + 13x_{AF} + 18x_{BD} + 14x_{BE} + 26x_{BF} + 27x_{CD} + 16x_{CE} + 19x_{CF}$ | M1 A1 | M1 for correct structure, A1 all coefficients correct |

## Part (c):
| Answer | Marks | Guidance |
|--------|-------|----------|
| $x_{AD}+x_{AE}+x_{AF} = 42$ (supply at $A$) | B1 | Supply constraints |
| $x_{BD}+x_{BE}+x_{BF} = 26$; $x_{CD}+x_{CE}+x_{CF} = 32$ | | |
| $x_{AD}+x_{BD}+x_{CD} = 29$ (demand at $D$) | B1 | Demand constraints |
| $x_{AE}+x_{BE}+x_{CE} = 47$; $x_{AF}+x_{BF}+x_{CF} = 24$ | | |
| All $x_{ij} \geq 0$ | B1 | Non-negativity |

---
2. A supplier has three warehouses, $A , B$ and $C$, at which there are 42,26 and 32 crates of a particular cereal respectively. Three supermarkets, $D , E$ and $F$, require 29, 47 and 24 crates of the cereal respectively.

The supplier wishes to minimise the cost in meeting the requirements of the supermarkets. The cost, in pounds, of supplying one crate of the cereal from each warehouse to each supermarket is given in the table below.

\begin{center}
\begin{tabular}{ | c | c | c | c | }
\cline { 2 - 4 }
\multicolumn{1}{c|}{} & $D$ & $E$ & $F$ \\
\hline
$A$ & 19 & 22 & 13 \\
\hline
$B$ & 18 & 14 & 26 \\
\hline
$C$ & 27 & 16 & 19 \\
\hline
\end{tabular}
\end{center}

Formulate this information as a linear programming problem.
\begin{enumerate}[label=(\alph*)]
\item State your decision variables.
\item Write down the objective function in terms of your decision variables.
\item Write down the constraints, explaining what each one represents.
\end{enumerate}

\hfill \mbox{\textit{Edexcel D2  Q2 [6]}}