Dynamic programming and stochastic control - Bertsekas, Dimitri P. (Mathematics in science and engineering ;, 1976)