Introduction to Dynamic Programming

Dynamic programming is similar to linear programming. Both seek to solve the problem of optimising some quantity – often profit must be maximised. It involves identifying stages and all possible stages and actions within a project. Decisions are made at each stage that optimise the desired quantity, with calculations being carried out that follow from the optimal value from the previous stage.

Calculations out carried out backwards, from the end of the project to the beginning.

Stages, states, actions (along the the arcs) and values on the arcs may be presented in a table. Notice we are working from the right.