Dynamic programming and the calculus of variations - Dreyfus, Stuart E. (Academic press, 1965)