WDM11Topic 1.33 questions
The route inspection problem and the travelling salesperson problem.
Specification points for this topic are coming soon.
Get a plain-language explanation, a worked example and the usual mistake.
Sign in to get a plain-language explanation of any specification point.
Original practice questions written in the style of the exam.
A road inspector must travel along every road in the network below at least once, starting and finishing at . Road lengths are in km.
| Road | AB | AC | AD | BC | BE | CD | CE | CF | DF |
|---|---|---|---|---|---|---|---|---|---|
| Length | 6 | 9 | 7 | 5 | 8 | 4 | 3 | 10 | 6 |
Use the route inspection algorithm to find the length of the shortest inspection route. State which roads must be travelled twice.
The table shows the travel times, in minutes, between five towns.
| A | B | C | D | E | |
|---|---|---|---|---|---|
| A | – | 27 | 23 | 26 | 22 |
| B | 27 | – | 10 | 28 | 16 |
| C | 23 | 10 | – | 29 | 19 |
| D | 26 | 28 | 29 | – | 18 |
| E | 22 | 16 | 19 | 18 | – |
(a) Use the nearest neighbour algorithm, starting at , to find an upper bound for the travelling salesperson problem.
(b) By deleting and finding a minimum spanning tree for the remaining towns, find a lower bound.
(c) Write down an interval within which the optimal tour length must lie.