Equations -- Theory of Generalized Convexity -- Calculus of Variations and the Optimal