Optimization under Commitment and Discretion, the Recursive