Optimal control theory with general constraints

Abstract We consider an optimal control problem with, possibly time-dependent, constraints on state and control variables, jointly. Using only elementary methods, we derive a sufficient condition for optimality. Although phrased in terms reminiscent of the necessary condition of Pontryagin, the sufficient condition is logically independent, as can be shown by a simple example.