2021 Graph Theory Test
2021 Graph Theory Test
Unless otherwise stated in the question, all numerical answers should be given exactly or correct to three
significant figures.
1. A series of 7 wind farms are to be constructed and the estimated cost in thousands of Euros, of
laying electrical cables between the different wind farms is shown in the graph below.
c. Based upon the steady state matrix which machine would you expect to need servicing
first, second, third and last? [2]
3. Consider the graph G represented in the following
diagram.
b. Use Kruskal’s algorithm to find a minimum spanning tree for G, stating its total weight.
Indicate clearly the order in which the edges are added. [4]
c. Find the minimum time it takes Mr José to patrol the resort if he has to walk along every
road at least once, starting and ending at A. State clearly which roads need to be repeated.
[7]
4. The cost adjacency matrix below represents the distance in kilometres, along routes between bus
stations.
It is decided to electrify some of the routes, so that it will be possible to travel from any station to
any other station solely on electrified routes. In order to achieve this with a minimal total length of
electrified routes, Prim’s algorithm for a minimal spanning tree is used, starting at vertex A.
AB AC CD DE.
c. Using your answer to part (b), find the number of different ways to travel from and return to
city A in exactly 6 flights. [2]
d. State whether or not it is possible to travel from and return to city A in exactly 6 flights,
having visited each of the other 5 cities exactly once. Justify your answer. [2]
The following table shows the least cost to travel between the cities.
A travelling salesman has to visit each of the cities, starting and finishing at city A.
f. Use the nearest neighbour algorithm to find an upper bound for the cost of the trip. [3]
g. By deleting vertex A, use the deleted vertex algorithm to find a lower bound for the cost of
the trip. [4]