fmincon exitflag=0; MaxIter=3000; output.iterations=277
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
fmincon gives me command window warnings that MaxIter is exceeded and returns the correct exitflag. But the returned iteration count is well below MaxIter.
Running MatLab R2014a.
Any idea what is going on?
Rob B.
0 commentaires
Réponse acceptée
Alan Weiss
le 18 Juil 2014
I am not sure what is going on here. Can you show us your options, and the way you called fmincon? I am also interested in seeing ALL of the fmincon output.
Alan Weiss
MATLAB mathematical toolbox documentation
0 commentaires
Plus de réponses (1)
Robert
le 18 Juil 2014
1 commentaire
Alan Weiss
le 27 Juil 2014
There are only 291 iterations, well below the limit, that is true. But the solver stopped because the number of function evaluations, 3004, exceeded the function evaluation limit MaxFunEvals.
Alan Weiss
MATLAB mathematical toolbox documentation
Voir également
Catégories
En savoir plus sur Solver Outputs and Iterative Display dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!