7 The network below shows a system of one-way roads. The number on each edge represents the number of bags for recycling that can be collected by driving along that road.
A collector is to drive from \(A\) to \(I\).
\includegraphics[max width=\textwidth, alt={}, center]{3ba973a1-6a45-4381-b634-e9c4673ef1fb-20_867_1644_552_191}
- Working backwards from \(\boldsymbol { I }\), use dynamic programming to find the maximum number of bags that can be collected when driving from \(A\) to \(I\).
You must complete the table opposite as your solution.
- State the route that the collector should take in order to collect the maximum number of bags.
| Stage | State | From | Value |
| 1 | G | I | |
| H | I | |
| | | |
| 2 | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |