Interior-point in fmincon without inequality constraints
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentare
Akzeptierte Antwort
Steve Grikschat
am 7 Sep. 2011
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.
Weitere Antworten (0)
Siehe auch
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!