Info
Questa domanda è chiusa. Riaprila per modificarla o per rispondere.
Convergence problems using fmincon with bounds
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
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.
0 Commenti
Risposte (0)
Questa domanda è chiusa.
Vedere anche
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!