Treating Some Difficulties in Mixed-Integer Nonlinear Optimization