How to get Lagrange multipliers when using GlobalSearch?
Ältere Kommentare anzeigen
I am using GlobalSearch to find the global solution of my optimisation problem using the fmincon solver, but I want the associated Langrange multipliers that are with this solution. I can not see an option to display them in the output. Is there any way I can do this?
Antworten (1)
Alan Weiss
am 17 Mär. 2020
1 Stimme
Sorry about that. The only way I know is to rerun fmincon starting from the solution point. It won't take long, and will give you the Lagrange multipliers.
Alan Weiss
MATLAB mathematical toolbox documentation
Kategorien
Mehr zu Global or Multiple Starting Point Search finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!