Nonlinear output constraints handling for production optimization of oil reservoirs