Question 5
OCR A Further Maths June 2024 Discrete mathematics (Y544-01)A level18 marks
On the specification
- (a)
- 7.04 Network Algorithms
- (b)
- 7.03 Algorithms
- (c)
- 7.02 Graphs and Networks
- (d)
- 7.04 Network Algorithms
- (e)
- 7.04 Network Algorithms
- (f)
- 7.04 Network Algorithms
- (g)
- 7.04 Network Algorithms
- (h)
- 7.04 Network Algorithms
Question text
5 (a) Write down a way in which the nearest neighbour method can fail to solve the problem of finding a least weight cycle through all the vertices of a network. [1] (b) Explain why, when trying to find a least weight cycle through all the vertices of a network, an ad hoc method may be preferable to an algorithmic approach. [1] The distance matrix below represents a network connecting six viewpoints A, B, C, D, E and F. The distance matrix shows the direct distances between each pair of viewpoints where a direct route exists. The distances are measured in km. A blank shows that there is no direct route between the two viewpoints. A B C D E F A 6 4 B 6 5 2 9 C 5 15 7 6 D 4 2 15 5 E 9 7 5 F 6 (c) Draw the network on the vertices given in the Printed Answer Booklet. [2] (d) Apply the nearest neighbour method, starting from A. [2] A hiker wants to travel between the six viewpoints, starting and finishing at A. The hiker must visit every viewpoint at least once, but may visit a viewpoint more than once. (e) Show that the hiker does not need to travel as far as 50 km. [2] (f) Use an appropriate algorithm to find the shortest distance from F to each of the other viewpoints. [5] (g) Complete the table in the Printed Answer Book to show the shortest distance between each pair of viewpoints. [2] (h) Use your answer to part (g) to find a lower bound for the distance the hiker must travel by initially deleting vertex A. [3]