Effacer les filtres
Effacer les filtres

lambda in fmincon Interior-Point Algorithm with Analytic Hessian

2 vues (au cours des 30 derniers jours)
Frank
Frank le 4 Juin 2024
Déplacé(e) : Torsten le 4 Juin 2024
I am trying to use fmincon Interior-Point Algorithm with Analytic Hessian (https://www.mathworks.com/help/optim/ug/fmincon-interior-point-algorithm-with-analytic-hessian.html)
The examplay function is hessinterior which is Hessian of both c(1) and c(2).
My understanding is lambda is Lagrange Multiplier, which should be an output since it is the stationary points of the Lagrangian function. How come it is an input to the function hessinterior?
Thank you very much!

Réponses (2)

Matt J
Matt J le 4 Juin 2024
How come it is an input to the function hessinterior?
Because both x and lambda are computed iteratively. The solver therefore needs to be able to test different choices of Lagrange multipliers.
My understanding is lambda is Lagrange Multiplier, which should be an output
The final lambda is indeed returned as an output.

Torsten
Torsten le 4 Juin 2024
Déplacé(e) : Torsten le 4 Juin 2024
My guess is that the algorithm used is a primal-dual algorithm that also iterates the Lagrange multipliers during the solution process.

Community Treasure Hunt

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

Start Hunting!

Translated by