All revision notes topics

Route inspection and travelling salespersonAQA A-Level Further Maths: Revision notes

Section 1

Route inspection: the problem

In a route inspection problem (the Chinese postman problem) every arc of a network must be traversed at least once, and the route returns to its start, with least total length. The degree of a node is the number of arcs meeting it, and the number of odd nodes is always even.

  • All nodes even: the network is Eulerian; a closed route using each arc exactly once exists, so the length is the total weight.
  • Exactly two odd nodes: the network is semi-Eulerian; a route using each arc once starts at one odd node and finishes at the other.
  • Otherwise some arcs must be repeated.
Key termsEuleriansemi-Eulerianodd node
Common mistake

Forgetting that you must find the shortest path between odd nodes through the network, which may pass through other nodes, not only the direct arc.

Section 2

Solving route inspection problems

To find the shortest closed route:

  1. Find the total weight of all arcs and the odd nodes.
  2. Pair up the odd nodes in every possible way: 2 odd nodes have 1 pairing, 4 have 3 pairings, 6 have 15.
  3. For each pairing, find the shortest path between the nodes in each pair, and add them.
  4. Choose the pairing of least total. Those paths are repeated.
  5. Length = total weight + least pairing. Example: odd nodes BB and EE with shortest path B,C,E=12B,C,E=12 in a network of total 53 give 53+12=6553+12=65. Start and finish at different nodes: the start and finish must be two odd nodes, and only the shortest path between the other odd nodes is repeated. With four odd nodes, repeat the smallest shortest distance between a pair of odd nodes and start and finish at the other two.
Key termspairingrepeated path
Exam tip

Write down all the shortest distances between odd nodes first, then add them in each pairing.

Section 3

The travelling salesperson problem and upper bounds

The travelling salesperson problem (TSP) asks for the shortest route that visits every node and returns to the start. In the classical problem each node is visited exactly once and the network is complete (every pair joined). Any tour that visits each node once and returns gives an upper bound for the shortest tour. Nearest neighbour algorithm: start at a node; repeatedly go to the nearest unvisited node; finally return to the start. Example (depots AA to EE): from AA: ACAC 5, CBCB 11, BEBE 4, EDED 15, DADA 6 gives an upper bound of 4141. The shortest tour may be shorter (here it is 37), so nearest neighbour only gives an upper bound.

Key termstourupper boundnearest neighbour algorithm
Common mistake

Saying nearest neighbour gives the shortest tour. It gives a tour, hence an upper bound only.

Section 4

Lower bounds: the deleted vertex method

To find a lower bound for the shortest tour:

  1. Delete one vertex and its arcs.
  2. Find the minimum spanning tree of the remaining vertices.
  3. Add the two shortest arcs from the deleted vertex. This works because the optimal tour minus the deleted vertex is a path (a spanning tree), at least as heavy as the MST, and the tour uses two arcs at the deleted vertex, each at least as long as the two shortest. Example: delete BB: MST of A,C,D,EA,C,D,E is 5+6+13=245+6+13=24; two shortest arcs at BB are 4+8=124+8=12; lower bound 3636. Different deleted vertices give different bounds; the largest is the best. Together with the upper bound: 36≤shortest tour≤4136\le\text{shortest tour}\le41. If the bounds are equal, that tour is optimal.
Key termslower bounddeleted vertex method
Common mistake

Adding only one arc from the deleted vertex, or the longest arcs. The two shortest arcs are added.

Section 5

The practical travelling salesperson problem

In the practical problem the network need not be complete and nodes may be visited more than once. To convert it to a classical problem, replace each arc by the shortest distance between the nodes (using other nodes if needed) to form a complete network, solve it, then interpret the result back in the original network. Example: roads ABAB 4, BCBC 3, CDCD 5, DADA 6, BDBD 9. Shortest distances: BD=8BD=8 via CC and AC=7AC=7 via BB. The shortest tour is A,B,C,D,AA,B,C,D,A with length 18 km. Where a shortest distance passes through another node, that node is visited again in the practical route.

Key termspractical problemclassical problem
Exam tip

Build the table of shortest distances first, then every tour check uses it.

Section 6

Evaluating and refining network models

A network model is a simplification, and you may be asked to evaluate, modify and refine it. Questions to ask:

  • Are the weights realistic? Replace distances with times or costs if speeds differ, or add stopping times at nodes.
  • Are the arcs two-way? One-way streets need a directed network.
  • Does the answer meet real constraints (time windows, vehicle capacity, finishing point)? Adjust the model, for example by splitting the job between several vehicles.
  • Is the route necessary? In route inspection, repeated arcs are driven but not inspected, and the inspector may not need to return to the start, which removes a repeated path.
  • Is the solution the optimum or only a bound? Nearest neighbour is not optimal, so test improvements. Always check the final answer makes sense in context.
Key termsmodelrefine
Exam tip

In an evaluation answer, name the assumption, say why it may fail, and say how you would change the model.

That's the notes covered.

Carry on to the next subtopic.

Exam questions on Route inspection and travelling salesperson

  1. A network has six nodes AA to FF. The arcs and their weights, in km, are ABAB 6, ACAC 5, BCBC 4, BDBD 7, CDCD 3, CECE 8, DEDE 6, DFDF 9 and EFEF 5. The total weight of all the arcs is 53 km.
    The route may now start and finish at different nodes. State where it should start and finish and the length of the shortest such route that traverses every arc at least once.2 marks
  2. A van starts at depot AA, must visit each of depots BB, CC, DD and EE exactly once and return to AA. The distances in km between each pair of depots are ABAB 8, ACAC 5, ADAD 6, AEAE 14, BCBC 11, BDBD 9, BEBE 4, CDCD 12, CECE 13 and DEDE 15.
    Delete vertex BB instead, to find a lower bound. Use it, with your answer to part (a), to write down an interval for the length of the shortest tour.2 marks
  3. A courier based at AA must deliver parcels to BB, CC and DD and return to AA, visiting each at least once. The roads, with lengths in km, are ABAB 4, BCBC 3, CDCD 5, DADA 6 and BDBD 9.
    Show that the shortest distance from BB to DD is 8 km, and find the shortest distance from AA to CC.3 marks
See the full worksheet

Written by the Exaim team, led by Shaun Daswani (Head of Upper Secondary, Improve ME Institute; MSc Financial Mathematics, Imperial College London; BSc, UCL) and Jason Daswani (operational lead, Improve ME Institute; LSE).