fmincon fails when I increase the lower and upper bounds

1 view (last 30 days)
Gekkouga
Gekkouga on 28 Jan 2021
Hi,
I am running an optimisation routine with two variables. The solution converges to an optimal value when I use a very small range for my second variable but when I increase the bounds the solver fails saying, ''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." However, it converged with the same options and step size tolerance when the bounds were small. Can someone explain the reason for this error and how to solve this?
Thanks.

Answers (0)

Products


Release

R2020a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by