Predictive And Prescriptive Trees For Optimization And Control Problems