A class of convex extremal problems with an infinite number of inequality constraints but a finite-dimensional constraint space is investigated, and its solution is proposed by exterior as well as shifted penalty approaches. This idea is applied to finding a ‘ guaranteed optimal solution ’ of a convex continuous optimal control problem with disturbances.