OCR Further Discrete 2023 June — Question 6 14 marks

Exam BoardOCR
ModuleFurther Discrete (Further Discrete)
Year2023
SessionJune
Marks14
PaperDownload PDF ↗
Mark schemeDownload PDF ↗
TopicShortest Path
TypeRoute inspection starting and ending at same vertex
DifficultyStandard +0.3 This is a multi-part question covering standard route inspection and TSP algorithms with straightforward application. Part (a) is trivial inspection of the matrix, (b) requires routine Chinese Postman algorithm on a small network with clear odd vertices, (c) is a minor variation, and (d-e) apply standard nearest neighbour and lower bound techniques. All parts follow textbook procedures without requiring novel insight or complex reasoning, making it slightly easier than average.
Spec7.04c Travelling salesman upper bound: nearest neighbour method7.04e Route inspection: Chinese postman, pairing odd nodes

6 A graph is shown in Fig. 1.1.
The graph is weighted to form the network represented by the weighted matrix in Fig. 1.2. The weights represent distances in km.
A dash (-) means that there is no direct arc between that pair of vertices. \begin{figure}[h]
\captionsetup{labelformat=empty} \caption{Fig. 1.1} \includegraphics[alt={},max width=\textwidth]{c4755464-aa15-4720-8f33-5eb7169f4a20-6_439_728_557_248}
\end{figure} \begin{table}[h]
\captionsetup{labelformat=empty} \caption{Fig. 1.2}
ABCDEF
A-5328-
B5-3476
C33-165
D241---
E876--6
F-65-6-
\end{table} The shortest path from D to F has total weight 6.
  1. Write down a path from D to F of total weight 6. The total weight of the 12 arcs in the network is 56.
  2. Use the route inspection algorithm to calculate the total weight of the least weight route that covers every arc at least once, starting at vertex A.
  3. Determine the total weight of the least weight route that covers every arc at least once, starting at vertex B but finishing at any vertex. Sasha wants to find a continuous route through every vertex, starting and finishing at vertex A, with the least total weight.
    1. Use an appropriate algorithm to find a lower bound for the total weight of Sasha's route.
    2. Use the Nearest Neighbour Algorithm, starting at vertex A, to find an upper bound for the total weight of Sasha's route. Sasha decides to use the route \(A - B - F - E - C - D - A\).
  4. Comment on the suitability of this route as a solution to Sasha's problem.

Question 6:
AnswerMarks Guidance
6(a) D – C – F
[1]1.1 Allow DC, CF but not path reversed
6(b) B, C, D and F have odd degree
Path starts and ends at A
Pair odd vertices
BC = 3 BD = 4 BF = 6
DF = 6 CF = 5 CD = 1
Min total = 7
56 + 7
AnswerMarks
Total weight = 63B1
M1
A1
AnswerMarks
[3]3.1a
1.1
AnswerMarks
1.1Seen or implied from working
Any one pairing seen (e.g. BF, CD) with correct weights or total
(e.g. 7)
63 from correct use of route inspection algorithm
AnswerMarks Guidance
6(c) B has odd degree so end at another odd
vertex (C, D or F)
CD = 1 CF = 5 DF = 6
Least = 1
56 + 1
AnswerMarks
Total weight = 57M1
A12.1
1.1Arcs joining odd degree vertices, excluding B
CD = 1 is the minimum or shortest or least
57 from valid working seen
SCB1 for 57 without enough evidence for M1
Alternative method
From (b) starting and finishing at B is 63
Delete an arc from B to one of C, D, F
BC = 3, BD = 4, BF = 6
AnswerMarks Guidance
Greatest = 6M1 Arcs joining B to another odd degree vertex
BF = 6 is the maximum or longest or greatest
63 – 6 = 57
AnswerMarks Guidance
Total weight = 57A1 ft 57 from valid working seen, or ft (their 63) – 6
[2]
Alternative method
From (b) starting and finishing at B is 63
Delete an arc from B to one of C, D, F
BC = 3, BD = 4, BF = 6
M1
Arcs joining B to another odd degree vertex
BF = 6 is the maximum or longest or greatest
AnswerMarks Guidance
6(d) (i)
Remove vertex A and arcs incident on A
DC = 1
CB = 3
CF = 5
CE = 6 (or FE = 6)
B
F C
E D
MST with A removed has weight 15
AD = 2, AC = 3
2 + 3 + 15
AnswerMarks
Lower bound = 20M1
A1
M1
A1
AnswerMarks
[4]3.1a
1.1
3.4
AnswerMarks
1.1Using Prim or Kruskal to construct a tree on 5 or 6 vertices
May be implied by any tree through 5 or 6 vertices that does not
use any of AF, DE, DF (labelled diagram or arcs written or
identified)
For reference:
Finding total weight of MST with a vertex removed (o.e. such as
sum seen 1+3+5+6)
[B = 14, C = 18, D = 17, E = 11, F = 12]
Two least weight arcs from (their) removed vertex
May be implied from weights or total weight of these two
[B = 7, C = 4, D = 3, E = 12, F = 11]
A lower bound = 20 (or using their removed vertex)
[B = 21, C = 22, D = 20, E = 23, F = 23]
AnswerMarks
(ii)A – D – C – B – F – E – A
2 + 1 + 3 + 6 + 6 + 8
AnswerMarks
Upper bound = 26M1
A1
AnswerMarks
[2]3.4
1.1Nearest neighbour from A written as a cycle or arcs listed in order
Allow not closed
Upper bound = 26
SC B1 final answer 26 without achieving M1
AnswerMarks Guidance
6(e) This is a solution between LB and UB
There may be a better solution but it is not
worth spending time checking every
possibility
AnswerMarks
.B1
B1
AnswerMarks
[2]3.2b
2.2bThe given route is a solution and could be optimal
Allow ‘this is upper bound’ or ‘(visits every vertex and) weight is
26’ or ‘(solution with) weight 26’
Practical reason why it may be good enough
Question 6:
6 | (a) | D – C – F | B1
[1] | 1.1 | Allow DC, CF but not path reversed
6 | (b) | B, C, D and F have odd degree
Path starts and ends at A
Pair odd vertices
BC = 3 BD = 4 BF = 6
DF = 6 CF = 5 CD = 1
Min total = 7
56 + 7
Total weight = 63 | B1
M1
A1
[3] | 3.1a
1.1
1.1 | Seen or implied from working
Any one pairing seen (e.g. BF, CD) with correct weights or total
(e.g. 7)
63 from correct use of route inspection algorithm
6 | (c) | B has odd degree so end at another odd
vertex (C, D or F)
CD = 1 CF = 5 DF = 6
Least = 1
56 + 1
Total weight = 57 | M1
A1 | 2.1
1.1 | Arcs joining odd degree vertices, excluding B
CD = 1 is the minimum or shortest or least
57 from valid working seen
SCB1 for 57 without enough evidence for M1
Alternative method
From (b) starting and finishing at B is 63
Delete an arc from B to one of C, D, F
BC = 3, BD = 4, BF = 6
Greatest = 6 | M1 | Arcs joining B to another odd degree vertex
BF = 6 is the maximum or longest or greatest
63 – 6 = 57
Total weight = 57 | A1 ft | 57 from valid working seen, or ft (their 63) – 6
[2]
Alternative method
From (b) starting and finishing at B is 63
Delete an arc from B to one of C, D, F
BC = 3, BD = 4, BF = 6
M1
Arcs joining B to another odd degree vertex
BF = 6 is the maximum or longest or greatest
6 | (d) | (i) | e.g.
Remove vertex A and arcs incident on A
DC = 1
CB = 3
CF = 5
CE = 6 (or FE = 6)
B
F C
E D
MST with A removed has weight 15
AD = 2, AC = 3
2 + 3 + 15
Lower bound = 20 | M1
A1
M1
A1
[4] | 3.1a
1.1
3.4
1.1 | Using Prim or Kruskal to construct a tree on 5 or 6 vertices
May be implied by any tree through 5 or 6 vertices that does not
use any of AF, DE, DF (labelled diagram or arcs written or
identified)
For reference:
Finding total weight of MST with a vertex removed (o.e. such as
sum seen 1+3+5+6)
[B = 14, C = 18, D = 17, E = 11, F = 12]
Two least weight arcs from (their) removed vertex
May be implied from weights or total weight of these two
[B = 7, C = 4, D = 3, E = 12, F = 11]
A lower bound = 20 (or using their removed vertex)
[B = 21, C = 22, D = 20, E = 23, F = 23]
(ii) | A – D – C – B – F – E – A
2 + 1 + 3 + 6 + 6 + 8
Upper bound = 26 | M1
A1
[2] | 3.4
1.1 | Nearest neighbour from A written as a cycle or arcs listed in order
Allow not closed
Upper bound = 26
SC B1 final answer 26 without achieving M1
6 | (e) | This is a solution between LB and UB
There may be a better solution but it is not
worth spending time checking every
possibility
. | B1
B1
[2] | 3.2b
2.2b | The given route is a solution and could be optimal
Allow ‘this is upper bound’ or ‘(visits every vertex and) weight is
26’ or ‘(solution with) weight 26’
Practical reason why it may be good enough
6 A graph is shown in Fig. 1.1.\\
The graph is weighted to form the network represented by the weighted matrix in Fig. 1.2. The weights represent distances in km.\\
A dash (-) means that there is no direct arc between that pair of vertices.

\begin{figure}[h]
\begin{center}
\captionsetup{labelformat=empty}
\caption{Fig. 1.1}
  \includegraphics[alt={},max width=\textwidth]{c4755464-aa15-4720-8f33-5eb7169f4a20-6_439_728_557_248}
\end{center}
\end{figure}

\begin{table}[h]
\begin{center}
\captionsetup{labelformat=empty}
\caption{Fig. 1.2}
\begin{tabular}{ l c c c c c c }
 & A & B & C & D & E & F \\
A & - & 5 & 3 & 2 & 8 & - \\
B & 5 & - & 3 & 4 & 7 & 6 \\
C & 3 & 3 & - & 1 & 6 & 5 \\
D & 2 & 4 & 1 & - & - & - \\
E & 8 & 7 & 6 & - & - & 6 \\
F & - & 6 & 5 & - & 6 & - \\
\end{tabular}
\end{center}
\end{table}

The shortest path from D to F has total weight 6.
\begin{enumerate}[label=(\alph*)]
\item Write down a path from D to F of total weight 6.

The total weight of the 12 arcs in the network is 56.
\item Use the route inspection algorithm to calculate the total weight of the least weight route that covers every arc at least once, starting at vertex A.
\item Determine the total weight of the least weight route that covers every arc at least once, starting at vertex B but finishing at any vertex.

Sasha wants to find a continuous route through every vertex, starting and finishing at vertex A, with the least total weight.
\item \begin{enumerate}[label=(\roman*)]
\item Use an appropriate algorithm to find a lower bound for the total weight of Sasha's route.
\item Use the Nearest Neighbour Algorithm, starting at vertex A, to find an upper bound for the total weight of Sasha's route.

Sasha decides to use the route $A - B - F - E - C - D - A$.
\end{enumerate}\item Comment on the suitability of this route as a solution to Sasha's problem.
\end{enumerate}

\hfill \mbox{\textit{OCR Further Discrete 2023 Q6 [14]}}