Borrar filtros
Borrar filtros

genetic algorithm doesn't stop when it should

3 visualizaciones (últimos 30 días)
Anthony
Anthony el 10 de En. de 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

Respuestas (0)

Categorías

Más información sobre Genetic Algorithm en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by