Fitness limit check in genetic algorithm

조회 수: 6 (최근 30일)
yuese zheng
yuese zheng 2015년 7월 21일
댓글: yuese zheng 2015년 7월 23일
Hello I would just like to make sure the Fitness Limit is actually the value of the fitness function(objective function handle) , so unless GA produced a value smaller than that, the program won't stop, is that correct? The function tolerance doesn't really work for me due to the nature of my problem. My objective function is evaluating the difference between two sets of data, and I'm setting it to be <0.2 for the fitness limit for the stopping criteria. If I use function tolerance it lands on local minima and stops before it actually finds global min (if it has any).any better suggestions? Thank you.

답변 (1개)

Nitin Khola
Nitin Khola 2015년 7월 23일
I am assuming you are using the Optimization app. As per my understanding, you wish to confirm if Fitness Limit is a stopping criterion which is based on the value of fitness function.
Yes, the algorithm stops when the value of the fitness function ( synonymous with objective function ) for the best point in the current population is less than or equal to Fitness limit as mentioned in the following documentation:
Further, you can also refer to the following documentation for more information on "Global vs. Local Minima Using ga":
  댓글 수: 1
yuese zheng
yuese zheng 2015년 7월 23일
thank you for your response. Yes I am using the optimization app. I looked over the global vs local minima using GA, and am wondering what the difference is between "initial range" and the lower bound and upper bound I have set up.
I am also a little confused over the initial population. I have 9 variables, so the default is 200 initial population. Does this mean there are 200 sets of 9 variables generated randomly as long as they are within range? If so, how does it determine which one to pick and go to the next generation?

댓글을 달려면 로그인하십시오.

카테고리

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