Dynamic programming and optimal control - Bertsekas, Dimitri P. 1942-