All worksheets topics

The travelling salesman problemEdexcel International A Level Maths: Subtopic test

10 questions, 27 marks

Edexcel International A Level Maths

The travelling salesman problem

Total 27 marks

Name

Class

Date

  1. 1
    A sales representative must visit four towns PP, QQ, RR and SS, starting and finishing at PP. Every pair of towns is joined by a direct road. The distances in km are PQ=12PQ=12, PR=15PR=15, PS=9PS=9, QR=8QR=8, QS=14QS=14 and RS=11RS=11. Each town is to be visited exactly once.
    (a)
    How many different tours are there, starting and finishing at PP, if a tour and its reverse are counted as the same?
    [1 mark]
    • A22
    • B66
    • C33
    • D2424
    (b)
    Which statement describes the classical travelling salesman problem, as opposed to the practical problem?
    [1 mark]
    • AEach vertex is visited exactly once
    • BA vertex may be visited more than once
    • CNot every vertex needs visiting
    • DThe route need not return to the start
    (c)
    Find the length of the shortest tour for the classical problem.
    [2 marks]

    Total for question 1: 4 marks

  2. 2
    A driver starts at a depot HH, delivers to three shops AA, BB and CC, and returns to HH. The only roads are HA=5HA=5, HB=7HB=7 and HC=4HC=4, with lengths in km. The driver may pass through a junction more than once.
    (a)
    Why can the classical travelling salesman problem not be solved on this network?
    [1 mark]
    • AThe network is not connected
    • BEach shop is joined only to HH, so HH must be revisited
    • CThe distances do not satisfy the triangle inequality
    • DHH is not joined to every shop
    (b)
    What is the length of the shortest route that starts at HH, visits every shop and returns to HH?
    [1 mark]
    • A1616
    • B2424
    • C4848
    • D3232
    (c)
    A fourth shop DD is added, joined only to CC by a road of length 33 km. Find the length of the shortest route that visits all four shops and returns to HH.
    [2 marks]

    Total for question 2: 4 marks

  3. 3
    Four offices WW, XX, YY and ZZ are joined by a complete network of direct links. The lengths in km are WX=20WX=20, WY=35WY=35, WZ=25WZ=25, XY=15XY=15, XZ=30XZ=30 and YZ=10YZ=10.
    (a)
    Show that the triangle inequality is not satisfied by this network.
    [3 marks]
    (b)
    Find the shortest tour that visits each office exactly once, starting and finishing at WW, and give its length.
    [4 marks]

    Total for question 3: 7 marks

  4. 4
    A bus must visit five stops AA, BB, CC, DD and EE, starting and finishing at AA. The only roads, with lengths in km, are AB=4AB=4, BC=5BC=5, CD=6CD=6, DA=7DA=7 and BE=3BE=3. Stop EE is joined to the rest of the network only by BEBE.
    (a)
    (i) Explain why the classical travelling salesman problem has no solution on this network.
    (ii) Find the shortest route that visits every stop and returns to
    AA, in which a stop may be revisited, and give its length.
    [6 marks]
    (b)
    A new road ECEC of length xx km is built. Show that there is now a tour visiting each stop exactly once, and find the values of xx for which this tour is shorter than the route found in (a).
    [6 marks]

    Total for question 4: 12 marks

End of questions

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).