Generalized Hamiltonian equations for convex problems of Lagrange.