Why is fmincon slower in comparison to other solvers?

14 visualizaciones (últimos 30 días)
SandeepKumar R
SandeepKumar R el 20 de Ag. de 2019
Comentada: Ali Aghaeifar el 15 de Ag. de 2021
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 comentario
Ali Aghaeifar
Ali Aghaeifar el 15 de Ag. de 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?

Iniciar sesión para comentar.

Respuestas (1)

SaiDileep Kola
SaiDileep Kola el 27 de Sept. de 2019
That might be one of the reasons, however you may try Nondefault option of Algorithm as ‘sqp’, which can be sometimes faster.
More info can be found here.

Categorías

Más información sobre Solver Outputs and Iterative Display en Help Center y File Exchange.

Productos


Versión

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by