49K30 - Calculus of variations and optimal control; optimization :: Necessary conditions and sufficient conditions for optimality :: Optimal solutions belonging to restricted classes