In this question you will use graph theory and transition matrices to solve problems about a manager visiting five factories.
Audrey is the quality control manager for a manufacturing company that has five factories, A, B, C, D and E .
She is planning a route to visit each factory once, starting and finishing from her home, H .
She determines the distance between each location, in kilometres, as shown in the table.

Audrey wants to find an upper and lower bound for the shortest total distance travelled on her route.
Starting at H, use the nearest-neighbour algorithm to find an upper bound.
To find a lower bound, Audrey uses the deleted vertex algorithm and deletes vertex H .
Use Prim's algorithm, starting at E , to find the weight of the minimum spanning tree for A, B, C, D and E. You should clearly state the order in which the edges are selected by the algorithm.
Hence, find a lower bound.
After her initial visit to all factories, Audrey now decides she will visit one factory each day. She decides which factory to visit according to the following transition matrix, T.
After visiting factory D , there is a probability of 0.4 that Audrey will visit factory C next.












