Why is fmincon slower in comparison to other solvers?
22 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Hello everyone.
I was solving an optimization problem using fmincon and IPOPT. I found that fmincon takes more time to compute the optimal solution. Is it because fmincon is written in pure MATLAB over IPOPT that is written in C++ ?.
1 Commento
Ali Aghaeifar
il 15 Ago 2021
I reached to this topic while googling an opposit question, I was running a simple optimization and saw fmincon using interior-point algorithm is faster than IPOPT and was wondering why?
Risposte (1)
SaiDileep Kola
il 27 Set 2019
That might be one of the reasons, however you may try Nondefault option of Algorithm as ‘sqp’, which can be sometimes faster.
0 Commenti
Vedere anche
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!