Dynamic programming shortest/longest path

A question is this type if and only if it asks to use dynamic programming working backwards through a staged network to find the minimum or maximum total weight path from source to destination.

26 questions · Moderate -0.3

Sort by: Default | Easiest first | Hardest first
OCR D2 Q3
8 marks Moderate -0.3
Arthur is planning a bus journey from town \(A\) to town \(L\). There are various routes he can take but he will have to change buses three times -- at \(B\), \(C\) or \(D\), at \(E\), \(F\), \(G\) or \(H\) and at \(I\), \(J\) or \(K\). \includegraphics{figure_2} Fig. 2 Figure 2 shows the bus routes that Arthur can use. The number on each arc shows the average waiting time, in minutes, for a bus to come on that route. As the forecast is for rain, Arthur wishes to plan his journey so that the total waiting time is as small as possible. Use dynamic programming to find the route that Arthur should use. [8 marks]