SMS dit: Applications of nonlinear programming to optimization and control