GA optimization problem, terminate before stall limit
8 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
The solution can be seen to be improving but it terminates before the generation or stall limit. Can find a better solution manually by trial and error.
0 commentaires
Réponse acceptée
Alan Weiss
le 14 Jan 2015
You can set larger values for various stopping criteria, such as Generations or StallGenLimit. Or you could do yourself a favor and try using patternsearch instead of ga. patternsearch is usually faster and more reliable, and is easier to tune. If you need to start from a wide variety of initial points, and you have finite bounds on all components, try
x0 = lb + rand(size(lb)).*(ub - lb);
Alan Weiss
MATLAB mathematical toolbox documentation
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Genetic Algorithm 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!