How to get Lagrange multipliers when using GlobalSearch?

1 view (last 30 days)
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?

Answers (1)

Alan Weiss
Alan Weiss on 17 Mar 2020
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

Products


Release

R2019a

Community Treasure Hunt

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

Start Hunting!