Why does fmincon not provide hessian option for sqp algorithm?

7 ビュー (過去 30 日間)
Chaitanya Awasthi
Chaitanya Awasthi 2021 年 4 月 12 日
コメント済み: Chaitanya Awasthi 2021 年 4 月 12 日
I know the hessian option is available for solvers such as the interior-point method. Also, providing a hessian is generally a faster (and more accurate) way to solve a problem than computing it via finite differences. Why then this choice?

採用された回答

Matt J
Matt J 2021 年 4 月 12 日
編集済み: Matt J 2021 年 4 月 12 日
The SQP algorithm does not compute the Hessian via finite differences. It does, however, require a positive definite approximation of the Hessian (of the Lagrangian) and has some special steps to obtain that. If SQP permitted the user to supply a pre-calculated Hessian matrix, the matrix would need to be analyzed by the code and modified somehow to ensure positive definiteness.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSolver Outputs and Iterative Display についてさらに検索

製品


リリース

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by