Structure preserving integrators for solving (non-)linear quadratic optimal control problems with applications to describe the flight of a quadrotor | Publicación