
Fmincon fobj is increasing. All the iteration are feasible.
6 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Luigi Emanuel di Grazia
am 9 Nov. 2020
Kommentiert: Luigi Emanuel di Grazia
am 17 Dez. 2020
Hi to everyone,
I'm trying to solve a non linear opt problem with fmincon.
After some iteration the optimizer keeps going up in terms of fobj value. All the constraints are satisfied.
How is this possible?
Also, I have 2009 variables to optimize, and severals non linear constraints. Is there a different solver to use in order to speed up the convergence? Both
@fobj and @nlcon are at their minimun in terms of time.
Thanks in advance
0 Kommentare
Antworten (1)
Pranav Verma
am 8 Dez. 2020
Hi Luigi,
From your question I understand that the objective function is not converging. I would suggest you to check if you have formulated your problem in the standard format as expected by fmincon.

If your objective function is sum of least squares, I would suggest you to use lsqnonlin instead of fmincon.
Also please refer to the below discussions threads on the similar lines:
In case you want to opt for other solvers, refer to this link which mentions all the solvers which expect non linear constraints.
Thanks
Siehe auch
Kategorien
Mehr zu Get Started with Optimization Toolbox finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!