A class of methods for the solution of optimization problems with inequalities