The attachment is a matlab code which tries to do some optimization work.
However, the errors has occurred as below,
Converged to an infeasible point.
fmincon stopped because the size of the current step is less than
the value of the step size tolerance but constraints are not
satisfied to within the value of the constraint tolerance.
<stopping criteria details>
Optimization stopped because the relative changes in all elements of x are
less than options.StepTolerance = 1.000000e-10, but the relative maximum constraint
violation, 1.000000e+00, exceeds options.ConstraintTolerance = 1.000000e-06.
I wonder how to fix this problem? or any other tools rather than fmincon are better to do this work?
thanks a lot!
Best Answer