lambda in fmincon Interior-Point Algorithm with Analytic Hessian
1 次查看(过去 30 天)
显示 更早的评论
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!
0 个评论
回答(2 个)
Matt J
2024-6-4
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.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Calculus 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!