D2 June 2008 Q4
4.
(a) Explain the difference between a maximin route and a minimax route in dynamic programming. (2)

A maximin route from L to R is to be found through the staged network shown above.
(b) Use dynamic programming to complete a table and hence find a maximin route. (10)
| Scheme | Marks |
|---|---|
| Maximin : we seek a route where the shortest arc used is as great as possible. Minimax : we seek a route where the longest arc used is as small as possible. | B2, 1, 0 |
| (2) |
| Scheme | Marks | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Stage 1: M1 A1 Stage 2: M1 A1 A1 Stage 3: M1 A1ft A1ft Stage 4: A1ft | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Maximin route: LADHR | A1ft | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| (10) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| (12 marks) |
Notes
The printed scheme shows column totals 5 against the table and 5 against the route; the codes listed add up to 10.