Question 5

OCR B (MEI) Further Maths June 2024 Modelling with algorithms (Y413-01)AS15 marks

On the specification

(a)
AL1, L2–L18 Modelling with Algorithms (Y413): Linear programmingN1–N13 Modelling with Algorithms (Y413): Networks
(b)
AL1, L2–L18 Modelling with Algorithms (Y413): Linear programmingN1–N13 Modelling with Algorithms (Y413): Networks
(c)
N1–N13 Modelling with Algorithms (Y413): Networks
(d)(i)
N1–N13 Modelling with Algorithms (Y413): Networks
(d)(ii)
N1–N13 Modelling with Algorithms (Y413): Networks
(e)
A1–A11 Modelling with Algorithms (Y413): Algorithms
(f)(i)
N1–N13 Modelling with Algorithms (Y413): Networks
(f)(ii)
N1–N13 Modelling with Algorithms (Y413): Networks
Question text

5 The objective function for a LP formulation to find the shortest path from A to G in a network with seven vertices, A, B,…, G is given below. Minimise 5AB + 13AC + 8AD + 6BC + 6CB + 14BF + 14FB + 12BE + 12EB + 6DE + 6ED + 6CF + 6FC + 2EF + 2FE + 22DG + 11EG + 7FG (a) Explain why both BC and CB appear in the objective function. [1] One of the constraints of the LP formulation is AD + ED - DE - DG = 0 (b) Explain the purpose of this constraint in the LP formulation. [1] (c) Using the vertices given in the Printed Answer Booklet draw a network with 12 arcs to represent the information given in the above objective function. [2] (d) (i) Apply Dijkstra’s algorithm to the network drawn in part (c), to find the weight of the shortest path from A to G. [5] (ii) Write down the shortest path from A to G. [1] (e) A computer takes 0.014 seconds to solve a shortest path problem on a network with seven vertices using Dijkstra’s algorithm. Approximately how long, in seconds, will it take the same computer to solve a shortest path problem on a network with seven hundred vertices using Dijkstra’s algorithm? [2] (f) (i) Apply Prim’s algorithm, starting at A, to find the minimum spanning tree for the network drawn in part (c). You must, as part of your solution, state the order in which the arcs were included in the tree. [2] (ii) State the weight of the minimum spanning tree. [1]