3.
\begin{figure}[h]
\includegraphics[alt={},max width=\textwidth]{27296f39-bd03-47ff-9a5e-c2212d0c68ed-04_876_1166_219_452}
\captionsetup{labelformat=empty}
\caption{Figure 2}
\end{figure}
The network in Figure 2 shows the distances, in miles, between ten towns, \(\mathrm { A } , \mathrm { B } , \mathrm { C } , \mathrm { H }\), \(\mathrm { L } , \mathrm { M } , \mathrm { P } , \mathrm { S } , \mathrm { W }\) and Y .
- Use Kruskal's algorithm to find a minimum spanning tree for the network. You should list the arcs in the order in which you consider them. In each case, state whether you are adding the arc to your minimum spanning tree.
(3)
| A | B | C | H | L | M | P | S | W | Y |
| A | - | 6 | 18 | 15 | 54 | 29 | 16 | 26 | 29 | 74 |
| B | 6 | - | 22 | 21 | 60 | 35 | 10 | 32 | 33 | 80 |
| C | 18 | 22 | - | 17 | 59 | 31 | 12 | 44 | 11 | 80 |
| H | 15 | 21 | 17 | - | 42 | 14 | 29 | 41 | 28 | 63 |
| L | 54 | 60 | 59 | 42 | - | 40 | 70 | 28 | 61 | 21 |
| M | 29 | 35 | 31 | 14 | 40 | - | 43 | 55 | 21 | 61 |
| P | 16 | 10 | 12 | 29 | 70 | 43 | - | 42 | 23 | 90 |
| S | 26 | 32 | 44 | 41 | 28 | 55 | 42 | - | 55 | 48 |
| W | 29 | 33 | 11 | 28 | 61 | 21 | 23 | 55 | - | 82 |
| Y | 74 | 80 | 80 | 63 | 21 | 61 | 90 | 48 | 82 | - |
The table shows the shortest distances, in miles, between the ten towns. - Use Prim's algorithm on the table, starting at A, to find the minimum spanning tree for this network. You must clearly state the order in which you select the arcs of your tree.
- State the weight of the minimum spanning tree found in (b).
Sharon needs to visit all of the towns, starting and finishing in the same town, and wishes to minimise the total distance she travels.
- Use your answer to (c) to calculate an initial upper bound for the length of Sharon's route.
- Use the nearest neighbour algorithm on the table, starting at W , to find an upper bound for the length of Sharon's route. Write down the route which gives this upper bound.
Using the nearest neighbour algorithm, starting at Y , an upper bound of length 212 miles was found.
- State the best upper bound that can be obtained by using this information and your answers from (d) and (e). Give the reason for your answer.
- By deleting W and all of its arcs, find a lower bound for the length of Sharon's route.
Sharon decides to take the route found in (e).
- Interpret this route in terms of the actual towns visited.