Nonlinear optimal control problem are solved by adaptive symplectic peseuspectral method.
The symplectic property of the original continuous Hamiltonian system is preserved.
The proposed method satisfies the first order necessary conditions of optimal control problems.
Jacobian matrix of nonlinear equations is found to be sparse and symmetrice.
Adaptive procedure based on the residual error of dynamic constraints is proposed.