fmincon, MaxFunctionEvaluations and out of memory
4 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
When I increasing manually the "MaxFunctionEvaluations" in fmincon, optimization stopped because of "out of memory". How can I fix it?
1 commentaire
Walter Roberson
le 30 Mai 2019
I would not tend to expect that unless your objective function is saving data to memory, or in certain cases involving OutputFcn or PlotFcn ?
Réponses (1)
Hessam Fathipour
le 1 Juin 2019
Modifié(e) : Hessam Fathipour
le 1 Juin 2019
1 commentaire
Walter Roberson
le 1 Juin 2019
Modifié(e) : Walter Roberson
le 1 Juin 2019
Are you using OutputFcn or PlotFcn or saving data to persistent memory or global variables?
Are you using a lot of input variables? Possibly enough that without the increasing in function evaluations, it cannot estimate the gradient even once, so increasing the maximum function evaluations might be permitting it to proceed further than it would otherwise?
Voir également
Catégories
En savoir plus sur Systems of Nonlinear Equations dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!