BREAKING
Imaginary number feels seen, refuses to be real★Matrices multiplied in wrong order, student loses faith★Proof by induction ends, nobody knows why it worked★
  1. Home
  2. A Level
  3. Further Mathematics
  4. OCR
  5. Travelling salesman problem

OCR A Level Further Maths

Topic questions Decision mathematics Travelling salesman problem

Travelling salesman problem

5 questions · 69 marks · about 1.5 hours

Travelling salesman problem questions

OCR H245 Travelling salesman problem 5 questions

Discrete Mathematics June 2025, Question 1 8 marks

A coach operator offers sightseeing tours of a city. The sightseeing tour starts and ends at stop A, and there are tourist attractions at B, C, D, E, F and G. The table below shows the distances in metres that the coach must travel between each of the seven stops.

ABCDEFG
A–120100230260150200
B120–180210200250280
C100180–235190170270
D230210235–170185210
E260200190170–210270
F150250170185210–195
G200280270210270195–

The coach operator wants to find a route which starts and ends at A, visiting every tourist attraction once.

(a)

State the standard network problem that they must solve.

[1]
Reveal mark scheme Mark scheme for question 1(a)
(b)

Use the nearest neighbour method to find an upper bound for the length of the coach

operator’s route starting at A.

[2]
Reveal mark scheme Mark scheme for question 1(b)
(c)

Beginning by removing stop A to reduce the network, use an algorithm to determine a lower

bound for the length of the coach operator’s route.

[4]
Reveal mark scheme Mark scheme for question 1(c)
(d)

By referring to your lower bound, comment on the length of the route found by the nearest

neighbour method.

[1]
Reveal mark scheme Mark scheme for question 1(d)

Discrete Mathematics June 2024, Question 5 18 marks

(a)

Write down a way in which the nearest neighbour method can fail to solve the problem of

finding a least weight cycle through all the vertices of a network.

[1]
Reveal mark scheme Mark scheme for question 5(a)
(b)

Explain why, when trying to find a least weight cycle through all the vertices of a network, an

ad hoc method may be preferable to an algorithmic approach.

[1]
Reveal mark scheme Mark scheme for question 5(b)
(c)

The distance matrix below represents a network connecting six viewpoints A, B, C, D, E and F. The distance matrix shows the direct distances between each pair of viewpoints where a direct route exists. The distances are measured in km. A blank shows that there is no direct route between the two viewpoints.

Figure for question 5

Draw the network on the vertices given in the Printed Answer Booklet.

[2]
Reveal mark scheme Mark scheme for question 5(c)
(d)

Apply the nearest neighbour method, starting from A.

[2]
Reveal mark scheme Mark scheme for question 5(d)
(e)

A hiker wants to travel between the six viewpoints, starting and finishing at A. The hiker must visit every viewpoint at least once, but may visit a viewpoint more than once.

Show that the hiker does not need to travel as far as 50 km.

[2]
Reveal mark scheme Mark scheme for question 5(e)
(f)

Use an appropriate algorithm to find the shortest distance from F to each of the other

viewpoints.

[5]
Reveal mark scheme Mark scheme for question 5(f)
(g)

Complete the table in the Printed Answer Book to show the shortest distance between each

pair of viewpoints.

[2]
Reveal mark scheme Mark scheme for question 5(g)
(h)

Use your answer to part (g) to find a lower bound for the distance the hiker must travel by

initially deleting vertex A.

[3]
Reveal mark scheme Mark scheme for question 5(h)

Discrete Mathematics June 2023, Question 6 14 marks

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.

Fig. 1.1
Fig. 1.2

Figure for question 6

The shortest path from D to F has total weight 6.

(a)

Write down a path from D to F of total weight 6.

[1]
Reveal mark scheme Mark scheme for question 6(a)
(b)

The total weight of the 12 arcs in the network is 56.

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]
Reveal mark scheme Mark scheme for question 6(b)
(c)

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.

[2]
Reveal mark scheme Mark scheme for question 6(c)
(d)(i)

Sasha wants to find a continuous route through every vertex, starting and finishing at vertex A, with the least total weight.

Use an appropriate algorithm to find a lower bound for the total weight of Sasha’s route.

[4]
Reveal mark scheme Mark scheme for question 6(d)(i)
(d)(ii)

Use the Nearest Neighbour Algorithm, starting at vertex A, to find an upper bound for

the total weight of Sasha’s route.

[2]
Reveal mark scheme Mark scheme for question 6(d)(ii)
(e)

Sasha decides to use the route A - B - F - E - C - D - A.

Comment on the suitability of this route as a solution to Sasha’s problem.

[2]
Reveal mark scheme Mark scheme for question 6(e)

Discrete Mathematics June 2022, Question 7 12 marks

A building has 7 CCTV cameras, A to G, at the junctions of some of the corridors.

The cameras at the junctions and the lengths of the 11 corridors between them, in metres, are shown in the table below.

Figure for question 7
(a)

Model this information as a network.

[1]
Reveal mark scheme Mark scheme for question 7(a)
(b)

Use an appropriate algorithm to calculate the minimum distance from A to each of the other

vertices.

[3]
Reveal mark scheme Mark scheme for question 7(b)
(c)

The run‑time of an algorithm for finding this minimum distance is proportional to the total number of comparisons used. For a network with n vertices, the worst case is when the algorithm is applied to a network based on the complete graph Kn.

In each pass

• A vertex is made permanent and the temporary label at all adjacent vertices that are not yet permanent are updated. This uses 1 comparison for every such vertex (adjacent to the permanent label) that previously already had a temporary label.

• The best temporary labels at all vertices that do not yet have permanent labels are then compared to determine the next vertex to become permanent. If there are k such vertices this involves k - 1 comparisons.

By considering the number of comparisons of each type in each iteration, show that the algorithm uses a total of 6 comparisons when it is applied to a network based on the complete

graph K4.

[2]
Reveal mark scheme Mark scheme for question 7(c)
(d)

You are given that the total number of comparisons used when the algorithm is applied to a network based on Kn is (n - 1)(n - 2).

A computer takes 0.03 seconds to apply this algorithm on a network based on K7.

Calculate, to 1 decimal place, how many seconds it will take the computer to apply the

algorithm to a network based on K70.

[2]
Reveal mark scheme Mark scheme for question 7(d)
(e)(i)

The manager wants to construct a tour (a closed route) that passes each camera.

Find a lower bound for the length of this tour by initially deleting D.

[2]
Reveal mark scheme Mark scheme for question 7(e)(i)
(e)(ii)

Find an upper bound for the length of this tour by using the nearest neighbour algorithm

starting from D.

[1]
Reveal mark scheme Mark scheme for question 7(e)(ii)
(e)(iii)

Deduce the length of the shortest possible tour. Briefly explain your reasoning.

[1]
Reveal mark scheme Mark scheme for question 7(e)(iii)

Discrete Mathematics November 2020, Question 5 17 marks

The manager of a farm shop wants to pave routes on the farm so that, after visiting the shop, customers can visit the animals in fields A, B, C, D and E. The table shows the cost, in £, of making a paved path between each pair of fields. A river means that it is not possible to make a paved path between C and E.

A, BA, CA, DA, EB, CB, DB, EC, DC, ED, E
300500900700200600400500–100
Reveal mark scheme Mark scheme for question 5
(a)

Determine the minimum cost of connecting the fields.

[2]
Reveal mark scheme Mark scheme for question 5(a)
(b)(i)

By applying the lower bound algorithm to each vertex in turn, determine a best lower bound for P, the minimum cost of making a circular tour (cycle) of paved paths that visits

each field once.

[4]
Reveal mark scheme Mark scheme for question 5(b)(i)
(b)(ii)

By applying the nearest neighbour algorithm, starting at each vertex in turn, find a best

upper bound for P. You do not need to attempt any route improvements.

[4]
Reveal mark scheme Mark scheme for question 5(b)(ii)
(b)(iii)

Give the order in which the fields are visited in a circular tour of paved paths that

corresponds to the best upper bound found in part (b)(ii).

[2]
Reveal mark scheme Mark scheme for question 5(b)(iii)
(c)

Give a practical reason why the total cost of paving for the project might be more than the best

upper bound found in part (b)(ii).

[1]
Reveal mark scheme Mark scheme for question 5(c)
(d)

It becomes possible to use an existing bridge to make a paved route between C and E. Using this bridge, there is a new indirect route from A to D that costs less than £900 to pave.

When this bridge is used, what can be determined about the minimum cost of

(d)(i)

paving the route between C and E

[2]
Reveal mark scheme Mark scheme for question 5(d)(i)
(d)(ii)

connecting all the fields?

[2]
Reveal mark scheme Mark scheme for question 5(d)(ii)

Report a problem with a question on this page
What is wrong?

Goes to whoever maintains the question split. No account needed and nothing is published on this page.

Memes

Certified Further Maths memes. Peer-reviewed by nobody.

Laugh now. Cry in the exam hall later. Then come back and do a past paper.

Prove it by induction
Write ‘clearly’ and move on
Me on the final ‘show that’
Using the formula booklet
Proving it by induction
Writing ‘by symmetry’ to skip half the work
Writing ‘trivially’ and daring the examiner
Further enlightenment, ranked

Mum 💖

how's further maths going?? 🥰

my answers are all complex rn

keep it simple love 💖

📱 Screen time this week · Spotify4h 59m

The answer was i. Nobody knows why

Further Maths starter pack

Calculator that does matricesProof that’s 3 pages longArgand diagram doodlesThis website
Collect all four. Prove it.