Gravar e-mail: GENERAL NECESSARY CONDITIONS FOR OPTIMIZATION PROBLEMS