Interior-point in fmincon without inequality constraints

1 回表示 (過去 30 日間)
Andreas
Andreas 2011 年 8 月 13 日
Dear all,
The MATLAB documentation recommends the interior-point algorithm for fmincon above the other three possibilities.
I wonder: is this still true if my problem has only equality constraints? Without inequality constraints there is no "interior" of anything...
Regards Andreas

採用された回答

Steve Grikschat
Steve Grikschat 2011 年 9 月 7 日
You're correct, without inequalities, the interior point algorithm is a fairly straightforward algorithm. In the case where your problem only has equalities, the trust-region-reflective algorithm can be advantageous. Note, however, that you must provide analytical derivatives in order to use it.
The interior-point algorithm implementation has other features that add robustness: e.g. Hessian approximation options, ability to effectively use sparsity in the problem, ability to work with ultra-large problems via CG solves, etc. Therefore, it's usually worth trying as a first step.

その他の回答 (0 件)

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by