Many optimization problems occur in both theory and practice when one has to optimize an objective function while an infinite number of constraints must be satisfied. The aim of this paper is to describe methods of handling such problems numerically in an effective manner. A number of applications are included.