Why does my optimization exceed the value I specified for the "MaxIter" property within the Optimization Toolbox?
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Why does my optimization exceed the value I specified for the "MaxIter" property within the Optimization Toolbox?
For example, I specified the "MaxIter" property of my options argument to be 100; however, my optimization performs 101 iterations.
Risposta accettata
MathWorks Support Team
il 27 Giu 2009
The functions within the Optimization Toolbox and the Genetic Algorithms and Direct Search Toolbox terminate when the number of iterations "exceed" the value for the "MaxIter" property of the options argument. Therefore, the optimization functions will perform "MaxIter"+1 iterations, unless other exit criteria are met before this occurs.
0 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Genetic Algorithm in Help Center e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!