lambda in fmincon Interior-Point Algorithm with Analytic Hessian
조회 수: 2 (최근 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!