Effacer les filtres
Effacer les filtres

genetic algorithm doesn't stop when it should

3 vues (au cours des 30 derniers jours)
Anthony
Anthony le 10 Jan 2014
Hi,
I'm using the genetic algorithm (ga function), and set FitnessLimit in gaoptimset, but the algorithm doesn't stop when the fitness function reaches FitnessLimit. I know that because I monitor the fitness value with @gaplotbestf. For instance, FitnessLimit = 0.004. I run the algorithm and see that eventually @gaplotbestf shows that the fitness value is <0.004. The algorithm should stop but it doesn't. Am I missing something? Is there something else that would prevent the algorithm from stopping? Like TolFun value not reached? Thanks
Tony

Réponses (0)

Produits

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by