All flashcards topics

The travelling salesman problemEdexcel International A Level Maths: Flashcards

Card 1 of 120 of 12 known

Question

What is the travelling salesman problem?

Tap or press Space to reveal

Tap card or press Space to flip

See all 12 cards
What is the travelling salesman problem?
Find a route of minimum length which visits every vertex in an undirected network.
What is a tour?
A walk that visits every vertex and returns to the starting vertex.
What is the classical TSP?
Each vertex is visited exactly once, and the tour returns to the start.
What is the practical TSP?
A vertex may be visited more than once.
What is a complete graph?
A graph in which every pair of vertices is joined by an arc.
State the triangle inequality.
AB≤AC+CBAB\leq AC+CB, where ABAB is the longest side of the triangle ABCABC.
How many different tours does a complete graph on nn vertices have?
(n−1)!2\frac{(n-1)!}{2}, counting a tour and its reverse as the same.
How many tours are there on 44 vertices?
33.
How many tours are there on 55 vertices?
1212.
Why does a vertex with only one arc stop a classical tour?
A tour must enter and leave by the same arc, so the neighbouring vertex is visited twice.
What is the shortest tour of a tree?
Every arc is travelled twice, so twice the total weight.
How do you show the triangle inequality fails?
Find a triangle where the longest side is greater than the sum of the other two.

Exam questions on The travelling salesman problem

  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.
    Find the length of the shortest tour for the classical problem.2 marks
  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 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
  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.
    Show that the triangle inequality is not satisfied by this network.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).