Decision Maths: Shortest Paths and Route Inspection - Worksheets, Questions and Revision

12 original exam-style questions - 5 pages of questions with a full mark scheme - free printable PDF.

Download PDFJump to mark scheme (page 6)
« Previous: Decision Maths: Graphs, Trees and Minimum Spanning TreesNext: Decision Maths: Critical Path Analysis and Linear Programming »
Revision Library
revisionlibrary.co.uk
A-Level · AQA

FP.D3 Decision Maths: Shortest Paths and Route Inspection

AQA 7367 · Calculator allowed · about 145 minutes
Total Marks
Name: _______________________________    Date: ____ / ____ / ______
Answer ALL questions. Show all your working.
1
The network below shows the cycle paths connecting five villages: Ashfield (A), Barrowby (B), Cotgrave (C), Denwick (D) and Elsdon (E). The number on each arc is the length of that path, in km: AB = 4, AC = 2, BC = 1, BD = 5, CD = 8, CE = 10, DE = 2.
(a)State one condition on the arc weights of a network that Dijkstra's algorithm requires in order to be guaranteed to find the shortest path.(1)
(b)Use Dijkstra's algorithm, starting at A, to find the shortest path from A to E. Show clearly the order in which each vertex receives its permanent label, and the working values considered at each stage.(5)
(c)Hence state the shortest path from A to E, and its length.(2)
(Total for Question 1 is 8 marks)
2
A network of junctions used by a fleet of delivery vans is modelled by the vertices A, B, C, D, E, F, G. The arcs represent direct roads between junctions, and their weights are journey times, in minutes: AB = 6, AC = 4, AD = 9, BC = 2, BE = 7, CD = 3, CE = 5, CF = 8, DF = 4, EF = 1, EG = 6, FG = 3.
(a)State the rule used to decide which temporarily labelled vertex is made permanent at each stage of Dijkstra's algorithm.(1)
(b)Use Dijkstra's algorithm, starting at A, to find the shortest time from junction A to junction G. Show the order in which each vertex is permanently labelled, and the working values considered.(6)
(c)State the shortest route from A to G, and the time it takes.(2)
(d)State the shortest route from A to F, and the time it takes.(2)
(e)The council is considering closing the direct road CF for resurfacing. Explain, with reference to your working in part (b), whether this would change the shortest route (and its time) from A to G.(2)
(Total for Question 2 is 13 marks)
3
A small network has vertices A, B, C, D. The only arcs are AB = 1, AC = 2, BD = 100, CD = 2 (there is no direct arc between B and C, or between A and D).
(a)State the length of the path A-B-D.(1)
(b)Find the length of the shortest path from A to D, showing your working.(2)
(c)A student suggests that, to find a shortest path, you can simply move at each vertex along whichever available arc has the smallest weight (a 'greedy' rule). Using this network, starting at A, explain why this rule does not guarantee that the shortest path is found.(2)
(Total for Question 3 is 5 marks)
4
A one-way road system linking a supermarket's warehouse (S) to a delivery hub (T) is modelled by a directed network with vertices S, A, B, C, T. Every arc may only be travelled in the direction stated: S to A = 5, S to B = 9, A to B = 2, A to C = 6, B to C = 1, B to T = 7, C to T = 3 (weights are journey times, in minutes; there is no arc in the reverse direction unless separately listed).
(a)Explain why the direction of each arc must be taken into account when applying Dijkstra's algorithm to this network.(1)
(b)Use Dijkstra's algorithm on this directed network, starting at S, to find the shortest time from S to T. Show the order in which each vertex is permanently labelled and the working values considered.(6)
(c)State the shortest route from S to T, and the time it takes.(2)
(d)Verify that the shortest route found in part (c) does not use the direct arc from S to B, and explain what this shows about B's permanent label.(2)
(Total for Question 4 is 11 marks)
5
A telecoms engineer, Priya, must inspect every cable route in the network below at least once. The network has vertices P, Q, R, S, T and arcs (lengths in km): PQ = 3, PR = 4, QR = 2, QS = 5, RS = 6, RT = 7, ST = 1.
(a)Explain why Priya can inspect every cable route exactly once, without repeating any route, if she starts at Q and finishes at S (or starts at S and finishes at Q), and hence state the total length of this inspection route.(3)
(b)Priya is instead required to start and finish her inspection at P. Find the extra distance that she must walk, and hence the length of the shortest closed route, starting and finishing at P, that covers every cable route at least once.(4)
(Total for Question 5 is 7 marks)
6
A parks officer, Connor, needs to check every path in Elmswood Park, shown in the network below, starting and finishing at the main gate (A). The vertices A, B, C, D, E, F represent the path junctions, and the arcs (lengths in metres) are: AB = 4, AC = 6, AD = 5, BC = 3, BE = 7, CD = 2, CF = 8, DE = 4, DF = 6, EF = 5.
(a)Write down the four vertices of odd degree in this network.(1)
(b)Find the length of the shortest path between each of the following pairs of vertices, showing enough working to justify each answer: A and B; A and E; A and F; B and E; B and F; E and F.(5)
(c)Hence list the three possible ways of pairing the four odd vertices A, B, E, F into two pairs, and find the total length of each pairing.(3)
(d)State which pairing gives the minimum extra distance, and hence find the length of the shortest route, starting and finishing at A, that covers every path in the park at least once.(2)
(e)State which two paths Connor must walk along twice during this shortest route.(1)
(Total for Question 6 is 12 marks)
7
When solving a route inspection (Chinese postman) problem, a pair of odd vertices that are not directly joined by an arc must be joined using the shortest path between them in the network, not simply any path. Explain why this is important for finding the shortest possible inspection route.
(Total for Question 7 is 2 marks)
8
Elmswood Park has the same path network as in Question 6: vertices A, B, C, D, E, F with arcs (lengths in m) AB=4, AC=6, AD=5, BC=3, BE=7, CD=2, CF=8, DE=4, DF=6, EF=5. Path AC is now closed for resurfacing, so it is not available for Connor's inspection route.
(a)State the new set of vertices of odd degree in the network once path AC is removed.(1)
(b)Find the length of the shortest path between each of the following pairs, using only the remaining paths: B and C; B and E; B and F; C and E; C and F; E and F.(4)
(c)Hence find the three possible pairings of the odd vertices B, C, E, F into two pairs, and the total length of each. State which pairing is optimal, and find the length of the shortest route, starting and finishing at A, that covers every remaining path at least once.(4)
(Total for Question 8 is 9 marks)
9
A distribution company must plan a route that visits five depots, V, W, X, Y, Z, and returns to its starting point. The distances between each pair of depots (in miles, every pair directly connected) are: VW=12, VX=18, VY=22, VZ=15, WX=10, WY=16, WZ=20, XY=14, XZ=19, YZ=11.
(a)Explain why applying the nearest neighbour algorithm to this network does not necessarily give the shortest possible route (the optimal tour).(2)
(b)By deleting depot V and finding a minimum spanning tree for the remaining network of W, X, Y, Z, find a lower bound for the length of the optimal tour.(5)
(c)Apply the nearest neighbour algorithm, starting at depot V, to find an upper bound for the length of the optimal tour.(3)
(d)Hence state the length of the optimal tour, giving a reason for your answer, and state a route that achieves this length.(3)
(Total for Question 9 is 13 marks)
10
A sales representative must visit five client sites, G, H, I, J, K, and return to the starting site. The distances between each pair of sites (in miles, every pair directly connected) are: GH=9, GI=14, GJ=21, GK=17, HI=8, HJ=13, HK=19, IJ=10, IK=16, JK=7.
(a)Apply the nearest neighbour algorithm, starting at G, to find a tour of all five sites, and state its length.(3)
(b)Apply the nearest neighbour algorithm again, this time starting at J, and state the length of the tour found.(3)
(c)Explain why starting the nearest neighbour algorithm at a different vertex can give a tour of a different length.(2)
(d)By deleting site G and finding a minimum spanning tree for the remaining network of H, I, J, K, find a lower bound for the length of the optimal tour.(4)
(e)State the tightest range within which the length of the optimal tour must lie, using your results from parts (a) to (d).(1)
(Total for Question 10 is 13 marks)
11
This question concerns general properties of algorithms used to estimate the length of an optimal tour in a travelling salesman problem.
(a)State one limitation of using the nearest neighbour algorithm, rather than an exhaustive search, to solve a travelling salesman problem.(1)
(b)State one advantage of using the nearest neighbour algorithm, rather than an exhaustive search of every possible route, for a large network.(1)
(c)Explain why deleting a different vertex before finding a minimum spanning tree can give a different value for the lower bound.(1)
(Total for Question 11 is 3 marks)
12
A driver must plan a tour visiting four towns, Marchford (M), Cavendish (C), Elton (E) and Brindle (B), before returning to the start. The distances between each pair of towns (in miles, every pair directly connected) are: MC=150, MB=320, ME=405, CE=380, CB=245, EB=210.
(a)By deleting town M and finding a minimum spanning tree for the remaining network of C, E, B, find a lower bound for the length of the optimal tour.(4)
(b)Apply the nearest neighbour algorithm, starting at M, to find an upper bound for the length of the optimal tour.(3)
(c)There are only three distinct routes that visit each town once and return to M. List all three routes and find the length of each. Hence state the length of the optimal tour.(4)
(d)Verify that the length of the optimal tour found in part (c) lies within the bounds found in parts (a) and (b).(2)
(Total for Question 12 is 13 marks)
Mark scheme · FP.D3 Decision Maths: Shortest Paths and Route Inspection

Question 1

Question 2

Question 3

Question 4

Question 5

Question 6

Question 7

Question 8

Question 9

Question 10

Question 11

Question 12