Edexcel FD2 2023 June — Question 6 13 marks

Exam BoardEdexcel
ModuleFD2 (Further Decision 2)
Year2023
SessionJune
Marks13
PaperDownload PDF ↗
Mark schemeDownload PDF ↗
TopicDynamic Programming
TypeDynamic programming resource allocation
DifficultyStandard +0.3 This is a straightforward dynamic programming problem with a clear 4-stage structure, small state space (2-3 options per stage), and routine calculations of income minus costs. The problem requires systematic application of the DP algorithm but no novel insight or complex optimization—easier than average A-level questions.
Spec7.05a Critical path analysis: activity on arc networks7.05b Forward and backward pass: earliest/latest times, critical activities

6. Polly is a motivational speaker who is planning her engagements for the next four weeks. Polly will
  • visit four different countries in these four weeks
  • visit just one country each week
  • leave from her home, S , and return there only after visiting the four countries
  • travel directly from one country to the next
Polly wishes to determine a schedule of four countries to visit.
Table 1 shows the countries Polly could visit each week. \begin{table}[h]
Week1234
Possible countries to visitA or BC, D or EF or GH, I or J
\captionsetup{labelformat=empty} \caption{Table 1}
\end{table} Table 2 shows the speaker fee, in \(\pounds 100\) s, Polly would expect to earn in each country. \begin{table}[h]
CountryABCDEFGHIJ
Earnings in \(\boldsymbol { \pounds } \mathbf { 1 0 0 s }\)47454847494445474948
\captionsetup{labelformat=empty} \caption{Table 2}
\end{table} Table 3 shows the cost, in \(\pounds 100\) s, of travelling between the countries. \begin{table}[h]
ABCDEFGHIJ
S52788
A345
B546
C75
D67
E76
F678
G786
\captionsetup{labelformat=empty} \caption{Table 3}
\end{table} Polly's expected income is the value of the speaker fee minus the cost of travel.
She wants to find a schedule that maximises her total expected income for the four weeks. Use dynamic programming to determine the optimal schedule. Complete the table provided in the answer book and state the maximum expected income.
(13)

Question 6:
AnswerMarks Guidance
Answer/WorkingMark Guidance
Stage 1: State H, action HS→S, value \(47-7=40^*\); State I, action IS→S, value \(49-8=41^*\); State J, action JS→S, value \(48-8=40^*\)B1 3.1a
Stage 2: State F: FH→H \(44-6+40=78^*\); FI→I \(44-7+41=78^*\); FJ→J \(44-8+40=76\). State G: GH→H \(45-7+40=78\); GI→I \(45-8+41=78\); GJ→J \(45-6+40=79^*\)M1, A1, A1 3.1a, 1.1b, 1.1b
Stage 3: State C: CF→F \(48-7+78=119\); CG→G \(48-5+79=122^*\). State D: DF→F \(47-6+78=119^*\); DG→G \(47-7+79=119^*\). State E: EF→F \(49-7+78=120\); EG→G \(49-6+79=122^*\)M1, A1ft, A1 1.1b, 1.1b, 1.1b
Stage 4: State A: AC→C \(47-3+122=166^*\); AD→D \(47-4+119=162\); AE→E \(47-5+122=164\). State B: BC→C \(45-5+122=162^*\); BD→D \(45-4+119=160\); BE→E \(45-6+122=161\)M1, A1ft, A1 1.1b, 1.1b, 1.1b
Stage 5: State S: SA→A \(-5+166=161^*\); SB→B \(-2+162=160\)A1 1.1b
Optimal schedule is SACGJSB1 2.2a
Optimal expected income (£) 16 100B1 3.2a
Question 6:
Stage 1 (working backwards):
AnswerMarks Guidance
AnswerMark Guidance
\(H\): \(-7 = -7^*\), \(I\): \(-8 = -8^*\), \(J\): \(-8 = -8^*\)B1 CAO Stage 1
Stage 2:
AnswerMarks Guidance
AnswerMark Guidance
\(F\): FH \(47-6-7=34^*\), FI \(49-7-8=34^*\), FJ \(48-8-8=32\); \(G\): GH \(47-7-7=33\), GI \(49-8-8=33\), GJ \(48-6-8=34^*\)M1 Second stage completed, at least six rows
Any one state correct with no extra rows for that stateA1
Both states correct with no extra rows for Stage 2A1
Stage 3:
AnswerMarks Guidance
AnswerMark Guidance
\(C\): CF \(44-7+34=71\), CG \(45-5+34=74^*\); \(D\): DF \(44-6+34=72^*\), DG \(45-7+34=72^*\); \(E\): EF \(44-7+34=71\), EG \(45-6+34=73^*\)M1 Third stage completed, at least six rows
Any two states correct, ft optimal values from Stage 2, no extra rowsA1ft
All three states correct for Stage 3, no extra rowsA1
Stage 4:
AnswerMarks Guidance
AnswerMark Guidance
\(A\): AC \(48-3+74=119^*\), AD \(47-4+72=115\), AE \(49-5+73=117\); \(B\): BC \(48-5+74=117^*\), BD \(47-4+72=115\), BE \(49-6+73=116\)M1 Fourth stage completed, at least six rows
Any one state correct, ft optimal values from Stage 3, no extra rowsA1ft
Both states correct, no extra rowsA1
Stage 5:
AnswerMarks Guidance
AnswerMark Guidance
\(S\): SA \(47-5+119=161^*\), SB \(45-2+117=160\)A1 Final state correct, no extra rows
Final answers:
AnswerMarks Guidance
AnswerMark Guidance
Optimal schedule is SACGJSB1 Correct route, dependent on all previous M marks; start/finish at S may not be stated
Optimal expected income £16,100B1 CAO, dependent on all M marks; units not required; but not for 161
## Question 6:

| Answer/Working | Mark | Guidance |
|---|---|---|
| Stage 1: State H, action HS→S, value $47-7=40^*$; State I, action IS→S, value $49-8=41^*$; State J, action JS→S, value $48-8=40^*$ | B1 | 3.1a |
| Stage 2: State F: FH→H $44-6+40=78^*$; FI→I $44-7+41=78^*$; FJ→J $44-8+40=76$. State G: GH→H $45-7+40=78$; GI→I $45-8+41=78$; GJ→J $45-6+40=79^*$ | M1, A1, A1 | 3.1a, 1.1b, 1.1b |
| Stage 3: State C: CF→F $48-7+78=119$; CG→G $48-5+79=122^*$. State D: DF→F $47-6+78=119^*$; DG→G $47-7+79=119^*$. State E: EF→F $49-7+78=120$; EG→G $49-6+79=122^*$ | M1, A1ft, A1 | 1.1b, 1.1b, 1.1b |
| Stage 4: State A: AC→C $47-3+122=166^*$; AD→D $47-4+119=162$; AE→E $47-5+122=164$. State B: BC→C $45-5+122=162^*$; BD→D $45-4+119=160$; BE→E $45-6+122=161$ | M1, A1ft, A1 | 1.1b, 1.1b, 1.1b |
| Stage 5: State S: SA→A $-5+166=161^*$; SB→B $-2+162=160$ | A1 | 1.1b |
| Optimal schedule is SACGJS | B1 | 2.2a |
| Optimal expected income (£) 16 100 | B1 | 3.2a |

## Question 6:

**Stage 1 (working backwards):**

| Answer | Mark | Guidance |
|--------|------|----------|
| $H$: $-7 = -7^*$, $I$: $-8 = -8^*$, $J$: $-8 = -8^*$ | B1 | CAO Stage 1 |

**Stage 2:**

| Answer | Mark | Guidance |
|--------|------|----------|
| $F$: FH $47-6-7=34^*$, FI $49-7-8=34^*$, FJ $48-8-8=32$; $G$: GH $47-7-7=33$, GI $49-8-8=33$, GJ $48-6-8=34^*$ | M1 | Second stage completed, at least six rows |
| Any one state correct with no extra rows for that state | A1 | |
| Both states correct with no extra rows for Stage 2 | A1 | |

**Stage 3:**

| Answer | Mark | Guidance |
|--------|------|----------|
| $C$: CF $44-7+34=71$, CG $45-5+34=74^*$; $D$: DF $44-6+34=72^*$, DG $45-7+34=72^*$; $E$: EF $44-7+34=71$, EG $45-6+34=73^*$ | M1 | Third stage completed, at least six rows |
| Any two states correct, ft optimal values from Stage 2, no extra rows | A1ft | |
| All three states correct for Stage 3, no extra rows | A1 | |

**Stage 4:**

| Answer | Mark | Guidance |
|--------|------|----------|
| $A$: AC $48-3+74=119^*$, AD $47-4+72=115$, AE $49-5+73=117$; $B$: BC $48-5+74=117^*$, BD $47-4+72=115$, BE $49-6+73=116$ | M1 | Fourth stage completed, at least six rows |
| Any one state correct, ft optimal values from Stage 3, no extra rows | A1ft | |
| Both states correct, no extra rows | A1 | |

**Stage 5:**

| Answer | Mark | Guidance |
|--------|------|----------|
| $S$: SA $47-5+119=161^*$, SB $45-2+117=160$ | A1 | Final state correct, no extra rows |

**Final answers:**

| Answer | Mark | Guidance |
|--------|------|----------|
| Optimal schedule is SACGJS | B1 | Correct route, dependent on all previous M marks; start/finish at S may not be stated |
| Optimal expected income £16,100 | B1 | CAO, dependent on all M marks; units not required; but not for 161 |

---
6. Polly is a motivational speaker who is planning her engagements for the next four weeks.

Polly will

\begin{itemize}
  \item visit four different countries in these four weeks
  \item visit just one country each week
  \item leave from her home, S , and return there only after visiting the four countries
  \item travel directly from one country to the next
\end{itemize}

Polly wishes to determine a schedule of four countries to visit.\\
Table 1 shows the countries Polly could visit each week.

\begin{table}[h]
\begin{center}
\begin{tabular}{ | c | c | c | c | c | }
\hline
Week & 1 & 2 & 3 & 4 \\
\hline
Possible countries to visit & A or B & C, D or E & F or G & H, I or J \\
\hline
\end{tabular}
\captionsetup{labelformat=empty}
\caption{Table 1}
\end{center}
\end{table}

Table 2 shows the speaker fee, in $\pounds 100$ s, Polly would expect to earn in each country.

\begin{table}[h]
\begin{center}
\begin{tabular}{ | c | c | c | c | c | c | c | c | c | c | c | }
\hline
Country & A & B & C & D & E & F & G & H & I & J \\
\hline
Earnings in $\boldsymbol { \pounds } \mathbf { 1 0 0 s }$ & 47 & 45 & 48 & 47 & 49 & 44 & 45 & 47 & 49 & 48 \\
\hline
\end{tabular}
\captionsetup{labelformat=empty}
\caption{Table 2}
\end{center}
\end{table}

Table 3 shows the cost, in $\pounds 100$ s, of travelling between the countries.

\begin{table}[h]
\begin{center}
\begin{tabular}{|l|l|l|l|l|l|l|l|l|l|l|}
\hline
 & A & B & C & D & E & F & G & H & I & J \\
\hline
S & 5 & 2 &  &  &  &  &  & 7 & 8 & 8 \\
\hline
A &  &  & 3 & 4 & 5 &  &  &  &  &  \\
\hline
B &  &  & 5 & 4 & 6 &  &  &  &  &  \\
\hline
C &  &  &  &  &  & 7 & 5 &  &  &  \\
\hline
D &  &  &  &  &  & 6 & 7 &  &  &  \\
\hline
E &  &  &  &  &  & 7 & 6 &  &  &  \\
\hline
F &  &  &  &  &  &  &  & 6 & 7 & 8 \\
\hline
G &  &  &  &  &  &  &  & 7 & 8 & 6 \\
\hline
\end{tabular}
\captionsetup{labelformat=empty}
\caption{Table 3}
\end{center}
\end{table}

Polly's expected income is the value of the speaker fee minus the cost of travel.\\
She wants to find a schedule that maximises her total expected income for the four weeks.

Use dynamic programming to determine the optimal schedule. Complete the table provided in the answer book and state the maximum expected income.\\
(13)\\

\hfill \mbox{\textit{Edexcel FD2 2023 Q6 [13]}}