Stav dette: On the numerical solution of nonlinear and hybrid optimal control problems