Applied dynamic programming - Bellman, Richard E. (Princeton University press, 1962)