MATLAB Answers

How to get Lagrange multipliers when using GlobalSearch?

1 view (last 30 days)
Laura Murray
Laura Murray on 16 Mar 2020
Answered: Alan Weiss on 17 Mar 2020
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?


Sign in to comment.

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


Sign in to comment.

Sign in to answer this question.




Translated by