How to check the FMINCON feasibility correctly
9 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Santiago Pulido Guerrero
el 4 de Nov. de 2021
Comentada: Santiago Pulido Guerrero
el 5 de Nov. de 2021
Dear all,
I havee been working with the fmincon function and I have a question regarding the feasibility. First, when the display of the iteration is activated a table appears in the command window. One of its columns referes to the feasibility. Can someone please clarify what does that value mean? it alway oscillates from low to very large values. But I do not know if the large value is better or not. Since, I am also considering the flags and it never shows that the problem is infeasible even when whose values oscillate. I am minimizing a function with quadratic and linear constraints.
Thanks in advance for your help,
0 comentarios
Respuestas (1)
Alan Weiss
el 4 de Nov. de 2021
Feasibility: Maximum constraint violation, where satisfied inequality constraints count as 0
Generally, a nonlinear inequality constraint function is feasible at x if . If a constraint value is positive, well, that means that the point is infeasible.
The "flags" apply only at the end of the optimization. After the optimization is finished, if the maximum constraint violation is low enough relative to the initial value, then the final point is declared feasible.
Does that help?
Alan Weiss
MATLAB mathematical toolbox documentation
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!