How to get Lagrange multipliers when using GlobalSearch?

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)

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

Asked:

on 16 Mar 2020

Answered:

on 17 Mar 2020

Community Treasure Hunt

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

Start Hunting!