J.M. Sanz-Serna, Symplectic Runge-Kutta schemes for adjoint equations, automatic differentiation, optimal control and more, SIAM Review, 58(2016), 3-33.
390_sirev58-1_003