A2 October 2021 Q6

EdexcelCurrent spec12 marksDynamic Programming

6.

Figure 3: staged directed network from S to T with arcs SA 52, SB 48, SC 50, AD 53, AE 52, AF 53, BE 51, BF 50, BG 46, CE 50, CG 47, DH 49, DI 50, EH 51, EJ 46, FH 51, FI 52, FJ 50, GI 53, GJ 51, HT 47, IT 48, JT 49
Figure 3

The staged, directed network in Figure 3 represents a series of roads connecting 12 towns, \(S\), \(A\), \(B\), \(C\), \(D\), \(E\), \(F\), \(G\), \(H\), \(I\), \(J\) and \(T\). The number on each arc shows the distance between these towns, in miles.

Bradley is planning a four-day cycle ride from \(S\) to \(T\).

He plans to leave his home at \(S\). On the first night he will stay at \(A\), \(B\) or \(C\), on the second night he will stay at \(D\), \(E\), \(F\) or \(G\), on the third night he will stay at \(H\), \(I\) or \(J\), and he will arrive at his friend’s house at \(T\) on the fourth day.

Bradley decides that the maximum distance he will cycle on any one day should be as small as possible.

(a) Write down the type of dynamic programming problem that Bradley needs to solve. (1)
(b) Use dynamic programming to complete the table below. (9)
StageStateActionDestinationValue
(c) Hence write down the possible routes that Bradley could take. (2)