A2 June 2019 Q3

EdexcelCurrent spec13 marksDynamic Programming

3.

Figure 1: staged directed network from S to T with arcs SA 13, SB x, SC 24, AD 32, AE 29, BD 20, BE 19, BF −17, CF 13, DG −24, DH 18, EH 24, EI 27, FG −25, FI 14, FJ −30, GT 28, HT 19, IT −24, JT 17
Figure 1

In Figure 1 the weight of arc SB is denoted by \(x\) where \(x \geqslant 0\)

(a) Explain why Dijkstra’s algorithm cannot be used on the directed network in Figure 1. (1)

It is given that the minimum weight route from S to T passes through B.

(b) Use dynamic programming to find
(i) the range of possible values of \(x\)
(ii) the minimum weight route from S to T. (12)