Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

Convergence problems using fmincon with bounds

4 visualizaciones (últimos 30 días)
Thomas
Thomas el 9 de Mzo. de 2018
Cerrada: MATLAB Answer Bot el 20 de Ag. de 2021
I'm using fmincon with linear and nonlinear equality and unequality constraints. The solution of the problem is bound to certain intervals which I implemented using the linear unequality constraints. I thought it would be better to use lower and upper bounds instead, but when I substitute the linear constraints representing the bounds by lower and upper bounds, fmincon requires much more iterations to solve the problem.
Why is the convergence so much slower when using bounds instead of linear constraints? Is there maybe an option which could help to speed up the convergence time?
Thank you!
Edit:
All values need to be positive. I just realized that using the lower bounds to constrain x to positive values increases the convergence speed dramatically. However, usuage of other bounds will slower the convergence again.

Respuestas (0)

La pregunta está cerrada.

Community Treasure Hunt

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

Start Hunting!

Translated by