필터 지우기
필터 지우기

genetic algorithm doesn't stop when it should

조회 수: 3 (최근 30일)
Anthony
Anthony 2014년 1월 10일
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

답변 (0개)

카테고리

Help CenterFile Exchange에서 Genetic Algorithm에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by