Info

Questa domanda è chiusa. Riaprila per modificarla o per rispondere.

Convergence problems using fmincon with bounds

1 visualizzazione (ultimi 30 giorni)
Thomas
Thomas il 9 Mar 2018
Chiuso: MATLAB Answer Bot il 20 Ago 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.

Risposte (0)

Questa domanda è chiusa.

Community Treasure Hunt

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

Start Hunting!

Translated by