Clear Filters
Clear Filters

lambda in fmincon Interior-Point Algorithm with Analytic Hessian

2 views (last 30 days)
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!

Answers (2)

Matt J
Matt J on 4 Jun 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 on 4 Jun 2024
Moved: Torsten on 4 Jun 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!