All papers

Further Maths B (MEI) · OCR H645 · Modelling with Algorithms (minor option - choose one with a major, or three alone) · November 2020

OCR A Level Further Maths B (MEI) Modelling with Algorithms (minor option - choose one with a major, or three alone) November 2020 question paper Y433

1h 15m 60 marks

OCR H645 · Unit Y433

5 questions
Report a problem
What is wrong?

Goes to whoever maintains the question split. No account needed and nothing is published on this page.

Question 1

12 15 11 9 20 16 8 23 10 7

(a)

Apply the quick sort algorithm to sort the list of numbers into descending order. You should

use the first value as the pivot for each sublist.

[3]

Answer
Mark scheme for question 1(a)
(b)

The values represent masses, measured in kg.

Show the result of applying the first fit decreasing algorithm to pack these masses into bags

that can each hold a maximum of 40 kg.

[2]

Answer
Mark scheme for question 1(b)
(c)

Show the result of applying a full bin strategy to pack these masses into bags that can each

hold a maximum of 40 kg.

[2]

Answer
Mark scheme for question 1(c)

Question 2

The table in Fig. 2 shows the distances, in miles, along the direct roads between ten villages, A to J. A dash (–) indicates that there is no direct road linking the villages.

Figure for question 2
(a)

Apply the tabular form of Prim’s algorithm to the network, starting at vertex D, to find a

minimum spanning tree for the network.

[2]

Answer
Mark scheme for question 2(a)
(b)

State the total length of the arcs in the minimum spanning tree.

[1]

Answer
Mark scheme for question 2(b)
(c)

Use Dijkstra’s algorithm to determine the length of the shortest path from G to J via D.

[5]

Answer
Mark scheme for question 2(c)
(d)

A computer takes 0.25 secs to solve a shortest path problem on a network with 15 vertices using Dijkstra’s algorithm. Approximately how long will it take the computer to solve a

shortest path problem on a network with 300 vertices using Dijkstra’s algorithm?

[2]

Answer
Mark scheme for question 2(d)

Question 3

Figure for question 3
(a)

Add a supersource and a supersink to the network in the Printed Answer Booklet. Give

appropriate weightings and directions to the connecting arcs.

[2]

Answer
Mark scheme for question 3(a)
(b)

Calculate the capacity of the cut α.

[1]

Answer
Mark scheme for question 3(b)
(c)

Explain why the arcs DG and DI cannot simultaneously be full to capacity.

[1]

Answer
Mark scheme for question 3(c)
(d)(i)

An LP formulation is set up to find the maximum flow through the network.

Write down a suitable objective function for the LP formulation.

[1]

Answer
Mark scheme for question 3(d)(i)
(d)(ii)

Write down the constraint required for the LP formulation that ensures that the flow into

vertex I is equal to the flow out of vertex I.

[1]

Answer
Mark scheme for question 3(d)(ii)
(e)

The complete LP was run in an LP solver and it was found that arcs AC, BE, BF, ED, CH, DG, HK, LI and JM (and possibly others) were all saturated and that the flow through DI was 5 gallons per hour.

By completing the diagram in the Printed Answer Booklet, determine the maximum value of

the flow through the network.

[3]

Answer
Mark scheme for question 3(e)
(f)

Use a suitable cut to prove that this is the maximum flow.

[2]

Answer
Mark scheme for question 3(f)

Question 4

Figure for question 4
(a)

Complete the table in the Printed Answer Booklet giving the duration and immediate

predecessors for each activity in the project.

[3]

Answer
Mark scheme for question 4(a)
(b)

Draw an activity network, using activity on arc, to represent the project.

[3]

Answer
Mark scheme for question 4(b)
(c)

Carry out a forward pass and a backward pass through the activity network, showing the early

event time and late event time at each vertex of your network.

[4]

Answer
Mark scheme for question 4(c)
(d)(i)

It is given that activity C has a non-zero independent float.

State the other activity that has a non-zero independent float.

[1]

Answer
Mark scheme for question 4(d)(i)
(d)(ii)

Calculate the corresponding value of this independent float.

[1]

Answer
Mark scheme for question 4(d)(ii)
(d)(iii)

Explain, with regards to any delays for this project, the significance of this activity having

a non-zero independent float.

[1]

Answer
Mark scheme for question 4(d)(iii)

Question 5

Figure for question 5

Fig. 5.1 shows the constraints of a linear programming problem, in which the objective is to maximise a function of the variables x and y.

The feasible region, R, is the unshaded region together with its boundaries. An objective line is also shown and labelled on Fig. 5.1.

(a)

• Complete the initial tableau in the Printed Answer Booklet so that the two-stage simplex method may be used to solve this problem.

• Show how the constraints for the problem have been made into equations using slack variables, surplus variables and artificial variables.

• Show how the rows for the two objective functions are formed.

[10]

Answer
Mark scheme for question 5(a)
(b)

After two iterations of the two-stage simplex method a computer produces the tableau in Fig. 5.2.

Figure for question 5

It is given that the tableau in Fig. 5.2 does not give an optimal solution to the LP problem.

Using the tableau in Fig. 5.2 as the starting point for the second stage,

• reduce the tableau, in the Printed Answer Booklet, so that the second stage can be started,

• carry out one iteration of the second stage of the two-stage simplex method, using an

entry in the s2 column as the pivot element.

[4]

Answer
Mark scheme for question 5(b)
(c)

It is given that an optimal solution to the LP problem is not found after one iteration of the second stage of the two-stage simplex method.

Determine the range of values of k.

[3]

Answer
Mark scheme for question 5(c)
(d)
Question 5, shown as an image

[2]

Answer
Mark scheme for question 5(d)

The paper as printed

643237-question-paper-modelling-with-algorithms

643236-question-paper-modelling-with-algorithms-answer-booklet

Spotted a mistake on this page?Report a problem