Interior-point in fmincon without inequality constraints
1 次查看(过去 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
0 个评论
采纳的回答
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 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!