OCR MEI D2 2011 June — Question 2 16 marks

Exam BoardOCR MEI
ModuleD2 (Decision Mathematics 2)
Year2011
SessionJune
Marks16
PaperDownload PDF ↗
Mark schemeDownload PDF ↗
TopicTravelling Salesman
TypeFloyd's Algorithm Application
DifficultyStandard +0.3 This is a standard Floyd's algorithm application with routine TSP bounds calculation. While multi-part, each step follows textbook procedures: Floyd's algorithm is mechanical, TSP bounds use standard nearest neighbour/MST methods, and the discussion questions require only basic understanding of practical applications. Slightly above average due to length and the congestion charge modelling question requiring some thought about directed networks.
Spec7.04a Shortest path: Dijkstra's algorithm7.04c Travelling salesman upper bound: nearest neighbour method7.04d Travelling salesman lower bound: using minimum spanning tree

2 A government has just created a new ministry, the Ministry of Administrative Affairs. The ministry is to have four departments:
the Administration
the Bureaucracy
the Certification Service
the Duplication Section.
Each of these departments is to be established in a separate office on one of four existing sites. The diagram shows the direct journey times in minutes between these four sites. \includegraphics[max width=\textwidth, alt={}, center]{52b8153f-e655-4852-a0f8-6f1c1e9c9170-3_342_403_721_829}
  1. Use Floyd's algorithm to find the shortest journey times between the four office sites.
  2. Draw a network showing your shortest times.
  3. Use appropriate algorithms to find upper and lower bounds for the optimum solution to the Travelling Salesperson Problem in the original network, briefly explaining the steps taken.
  4. A van is to be organised to deliver bundles of paperwork between the departments. Why might the optimum solution to the TSP be useful in planning this, and why might it not be?
  5. Journeys to locations 2 and 3, from locations 1 and 4, are subject to a congestion charge which is equivalent in costing terms to 15 minutes of journey time. What sort of network would be needed to model this?

Question 2:
Part (i)
AnswerMarks Guidance
AnswerMark Guidance
Correct time matrixB1
Correct route matrixB1
Replacing an \(\infty\) by a correct valueM1
Correct values after first iterationA1
Correct after second iterationA1 ft
Correct after third iterationA1 ft
Entries other than row 3 col 1 of route matrix correctA1 ft
Row 3 col 1 of route matrix correctB1 cao
Part (ii)
AnswerMarks Guidance
AnswerMark Guidance
Correct network drawn with edge weightsB1 ft
Part (iii)
AnswerMarks Guidance
AnswerMark Guidance
Upper bound via nearest neighbour, e.g. \(2+2+2+6=12\)M1, A1 mention of nearest neighbour or nearest neighbour computation; allow \(2+2+2+7=13\) etc for working in original network
Lower bound via deleting vertex 1, e.g. \((2+2)+2+4=10\)M1, A1 delete a vertex; needs to be consistent with above
Part (iv)
AnswerMarks Guidance
AnswerMark Guidance
e.g. if requirement is for part loads, delivering to one department en route to another might save timeB1 answer should be valid and refer to specific situation of the DAA
e.g. if requirement is for whole loads then might not be relevantB1
Part (v)
AnswerMarks Guidance
AnswerMark Guidance
A directed networkB1
# Question 2:

## Part (i)

| Answer | Mark | Guidance |
|--------|------|----------|
| Correct time matrix | B1 | |
| Correct route matrix | B1 | |
| Replacing an $\infty$ by a correct value | M1 | |
| Correct values after first iteration | A1 | |
| Correct after second iteration | A1 | ft |
| Correct after third iteration | A1 | ft |
| Entries other than row 3 col 1 of route matrix correct | A1 | ft |
| Row 3 col 1 of route matrix correct | B1 | cao |

## Part (ii)

| Answer | Mark | Guidance |
|--------|------|----------|
| Correct network drawn with edge weights | B1 | ft |

## Part (iii)

| Answer | Mark | Guidance |
|--------|------|----------|
| Upper bound via nearest neighbour, e.g. $2+2+2+6=12$ | M1, A1 | mention of nearest neighbour or nearest neighbour computation; allow $2+2+2+7=13$ etc for working in original network |
| Lower bound via deleting vertex 1, e.g. $(2+2)+2+4=10$ | M1, A1 | delete a vertex; needs to be consistent with above |

## Part (iv)

| Answer | Mark | Guidance |
|--------|------|----------|
| e.g. if requirement is for part loads, delivering to one department en route to another might save time | B1 | answer should be valid and refer to specific situation of the DAA |
| e.g. if requirement is for whole loads then might not be relevant | B1 | |

## Part (v)

| Answer | Mark | Guidance |
|--------|------|----------|
| A directed network | B1 | |

---
2 A government has just created a new ministry, the Ministry of Administrative Affairs. The ministry is to have four departments:\\
the Administration\\
the Bureaucracy\\
the Certification Service\\
the Duplication Section.\\
Each of these departments is to be established in a separate office on one of four existing sites. The diagram shows the direct journey times in minutes between these four sites.\\
\includegraphics[max width=\textwidth, alt={}, center]{52b8153f-e655-4852-a0f8-6f1c1e9c9170-3_342_403_721_829}\\
(i) Use Floyd's algorithm to find the shortest journey times between the four office sites.\\
(ii) Draw a network showing your shortest times.\\
(iii) Use appropriate algorithms to find upper and lower bounds for the optimum solution to the Travelling Salesperson Problem in the original network, briefly explaining the steps taken.\\
(iv) A van is to be organised to deliver bundles of paperwork between the departments. Why might the optimum solution to the TSP be useful in planning this, and why might it not be?\\
(v) Journeys to locations 2 and 3, from locations 1 and 4, are subject to a congestion charge which is equivalent in costing terms to 15 minutes of journey time. What sort of network would be needed to model this?

\hfill \mbox{\textit{OCR MEI D2 2011 Q2 [16]}}