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?

Antworten (1)

Alan Weiss
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

Produkte

Version

R2019a

Gefragt:

am 16 Mär. 2020

Beantwortet:

am 17 Mär. 2020

Community Treasure Hunt

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

Start Hunting!

Translated by