A symplectic pseudospectral method for nonlinear optimal control problems with inequality constraints. (May 2017)