Next: Easy Graph Problems
Up: Dynamic Programming
Previous: Dynamic Program for Approximate
- Formulate answer as recurrence relation or recursive algorithm.
- Show
that number of values of recurrence are bounded by a polynomial function.
- Specify order of evaluation for recurrence so have partial results when
you need them.
Dynamic programming works particularly well for optimization problems with
inherent left to right ordering among elements. The resulting global
optimum often much better than solution found with heuristics. And once
understood, dynamic programming is usually easier to work algorithm out
from scratch than to look up algorithm.
Nitin Sharma
Wed Oct 8 17:46:14 PDT 1997