4. (a) Explain the difference between the classical and the practical travelling salesperson problems.
The table below shows the distances, in km, between seven museums, A, B, C, D, E, F and G.
| A | B | C | D | E | F | G |
| A | - | 25 | 31 | 28 | 35 | 30 | 32 |
| B | 25 | - | 34 | 24 | 27 | 32 | 39 |
| C | 31 | 34 | - | 40 | 35 | 27 | 29 |
| D | 28 | 24 | 40 | - | 37 | 35 | 36 |
| E | 35 | 27 | 35 | 37 | - | 28 | 31 |
| F | 30 | 32 | 27 | 35 | 28 | - | 33 |
| G | 32 | 39 | 29 | 36 | 31 | 33 | - |
Fran must visit each museum. She will start and finish at A and wishes to minimise the total distance travelled.
(b) Starting at A, use the nearest neighbour algorithm to obtain an upper bound for the length of Fran's route. Make your method clear.
Starting at D, a second upper bound of 203 km was found.
(c) State whether this is a better upper bound than the answer to (b), giving a reason for your answer.
A reduced network is formed by deleting \(G\) and all the arcs that are directly joined to \(G\).
(d) (i) Use Prim's algorithm, starting at A, to construct a minimum spanning tree for the reduced network. You must clearly state the order in which you select the arcs of your tree.
(ii) Hence calculate a lower bound for the length of Fran's route.
By deleting A, a second lower bound was found to be 188 km .
(e) State whether this is a better lower bound than the answer to (d)(ii), giving a reason for your answer.
(f) Using only the results from (c) and (e), write down the smallest interval that you can be confident contains the length of Fran's optimal route.