Hi again, I have trouble carrying out this optimization procedure. I know that I should use penalty functions when I have a constrained problem. Does MATLAB implement any penalty? Is there any example on this method?!
The documentation deals with nonlinear inequality constraints.The underlying algorithm for the nonlinear constraint solver uses penalty functions, but you don't have to do anything special, such as write your own penalty.