MATLAB: Fmicon constraint violation issue

fmincon

Hi all,
I am running an optimization using fmicon, when it runs I get this message
"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, 4.592712e-02, exceeds options.ConstraintTolerance = 1.000000e-06."
any ideas how to fix it?
thanks
Nikolas

Best Answer

  • For a general question such as this, here is the general documentation:
    If you want more specific advice, then you need to give more details.
    Alan Weiss
    MATLAB mathematical toolbox documentation