Filter löschen
Filter löschen

genetic algorithm doesn't stop when it should

3 Ansichten (letzte 30 Tage)
Anthony
Anthony am 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

Antworten (0)

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by