Title: On the Numerical Solution of Nonlinear and Hybrid Optimal Control Problems