All papers

Further Maths B (MEI) · OCR H635 · Modelling with Algorithms (optional - choose any two of Y411/Y412/Y413/Y414) · June 2018

OCR GCE AS Level Further Maths B (MEI) Modelling with Algorithms (optional - choose any two of Y411/Y412/Y413/Y414) June 2018 question paper Y413

1h 15m 60 marks

OCR H635 · Unit Y413

6 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

Fig. 1 shows a network. The weights on the arcs are distances.

Figure for question 1
(i)

Apply Dijkstra’s algorithm to the copy of the network in the Printed Answer Booklet to find the shortest path from A to H.

State each of the following.

• the shortest path

• its length

[6]

Answer
Mark scheme for question 1(i)
(ii)

A problem requires a spanning tree that must include the arcs AD and GH.

The arcs AD and GH are chosen first. Apply Kruskal’s algorithm to the ordered list of arcs in the

Printed Answer Booklet to complete the tree. You should draw your tree and give its total length.

[4]

Answer
Mark scheme for question 1(ii)
(iii)

How could you modify the network in Fig. 1 so that Prim’s algorithm would find a spanning tree that

includes arcs AD and GH?

[1]

Answer
Mark scheme for question 1(iii)

Question 2

Fig. 2 represents a system of one-way roads through which traffic flows from a source, S, to a sink, T. The weights on the arcs show the capacities of the roads in cars per minute.

Figure for question 2
(i)

Explain why the maximum possible flow along FG must be less than 23 cars per minute.

[1]

Answer
Mark scheme for question 2(i)
(ii)

(A) The cut maths symbol partitions the vertices into the sets {S, C}, {A, B, D, E, F, G, T}. Calculate the capacity

Question 2, shown as an image

(B) The cut maths symbol partitions the vertices into the sets {S, A, C, F, G}, {B, D, E, T}. Calculate the capacity

[2]

Answer
Mark scheme for question 2(ii)
(iii)

Given that one of maths symbol or maths symbol is a minimum cut, write down the maximum possible flow from S to T.

[1]

Answer
Mark scheme for question 2(iii)
(iv)

On a particular morning

• road GE is closed for repairs,

• roads FB, AD and DE are full to capacity.

Use the diagram in the Printed Answer Booklet to show that the maximum possible flow from part (iii)

is still achievable when GE is not used and FB, AD and DE are full to capacity.

[2]

Answer
Mark scheme for question 2(iv)

Question 3

Figure for question 3
(i)

Sort the following list of six numbers using the above algorithm

12 34 15 23 10 25

You should only show the result at the end of each pass.

[2]

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

The algorithm is now applied to a list of n numbers.

Find, when n = 6,

• the minimum possible number of comparisons needed,

• the maximum possible number of comparisons needed.

[2]

Answer
Mark scheme for question 3(ii)
(iii)

The number of comparisons is used as a measure of the complexity of the above algorithm.

Determine, in the worst case, the complexity of the algorithm in terms of n.

[3]

Answer
Mark scheme for question 3(iii)

Question 4

Figure for question 4
(i)

Explain the purpose of each of the following lines from the LP formulation.

(A) Minimise 18AW + 11AX + … + 18CZ

(B) AW + AX + AY + AZ = 20

[3]

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

The LP is run in an Online LP Solver and the following output is obtained.

OBJECTIVE FUNCTION VALUE

1) 726.0000

VARIABLE VALUE REDUCED COST

AW9.0000000.000000
AX0.0000000.000000
AY0.0000000.000000
AZ11.0000000.000000
BW1.0000000.000000
BX0.00000013.000000
BY12.0000000.000000
BZ0.0000009.000000
CW0.0000002.000000
CX17.0000000.000000
CY0.0000002.000000
CZ0.0000004.000000

The REDUCED COST value indicates by how much more the unit cost needs to be reduced for that particular transportation link to become part of the optimal solution. For example, the unit cost of transporting from B to Z would need to be reduced by at least £900 if BZ was to become part of the solution.

(A) Interpret the output to give a solution to the transportation problem.

(B) State the minimum total cost of delivering all the required stock.

[2]

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

It is later found that the unit cost of transporting goods from supplier B to depot X is only £1500

State the effect this change has on

(A) the objective function in the original LP formulation

(B) the constraints in the original LP formulation.

[2]

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

The modified LP problem (where the unit cost of transporting goods from B to X was reduced to £1500) is run in the same Online LP Solver and the following output is obtained.

OBJECTIVE FUNCTION VALUE

1) 726.0000

VARIABLE VALUE REDUCED COST

AW9.0000000.000000
AX0.0000000.000000
AY0.0000000.000000
AZ11.0000000.000000
BW1.0000000.000000
BX0.0000003.000000
BY12.0000000.000000
BZ0.0000009.000000
CW0.0000002.000000
CX17.0000000.000000
CY0.0000002.000000
CZ0.0000004.000000

In an attempt to cut the minimum total cost of delivering the required stock, supplier C decides to reduce the unit cost of supplying one of the four depots by £150. You can assume that the unit cost of transporting goods from B to X is still only £1500 and that no other supplier is going to cut their unit costs.

(A) Determine which of the four depots should have its transportation costs cut by supplier C to

reduce the minimum total cost of delivery. Give a reason for your answer.

(B) What is the new minimum total cost of delivering all the stock when supplier C makes this

change?

[3]

Answer
Mark scheme for question 4(iv)

Question 5

Fig. 5 shows an activity network for a project. Each activity is represented by an arc. The early event times and late event times are shown at each vertex.

Figure for question 5
(i)

State the minimum completion time for the project.

[1]

Answer
Mark scheme for question 5(i)
(ii)

It is given that

• the project contains two critical paths that both include activity C,

• the total float for activity I is 3.

(A) Complete, as far as possible, the table in the Printed Answer Booklet showing the duration of

each activity. Note that you will not be able to determine the duration for one of the activities.

(B) Explain why one of the activity durations could not be determined in part (ii) (A).

[6]

Answer
Mark scheme for question 5(ii)
(iii)
Figure for question 5 Figure for question 5

[2]

Answer
Mark scheme for question 5(iii)

Question 6

Figure for question 6
(i)

• 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 have been made into equations using slack variables, surplus variables and artificial variables.

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

[7]

Answer
Mark scheme for question 6(i)
(ii)

After one iteration of the two-stage simplex method the tableau in Fig. 6.1 is produced.

Figure for question 6

Explain how the tableau in Fig. 6.1 shows that the first stage has been completed.

[2]

Answer
Mark scheme for question 6(ii)
(iii)

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

• reduce the tableau so that the second stage can be started,

• carry out the first iteration of the second stage of the two-stage simplex method, using an entry in

the s2 column as the pivot element.

[3]

Answer
Mark scheme for question 6(iii)
(iv)

State which variables are now basic after this first iteration of the second stage of the two-stage simplex

method.

[1]

Answer
Mark scheme for question 6(iv)
(v)

The final tableau is shown in Fig. 6.2.

Figure for question 6

Give the maximum value of P, and the corresponding values of x, y and z.

[2]

Answer
Mark scheme for question 6(v)
(vi)
Figure for question 6

[2]

Answer
Mark scheme for question 6(vi)

The paper as printed

535698-question-paper-modelling-with-algorithms

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

Spotted a mistake on this page?Report a problem