DYNAMICPROGRAMMINGANDOPTIMALCONTROL