Interior-point in fmincon without inequality constraints

2 次查看(过去 30 天)
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 CenterFile Exchange 中查找有关 Solver 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