On the Numerical Solution of Nonlinear and Hybrid Optimal Control Problems nidottuEnglanti, 2012