필터 지우기
필터 지우기

Simple question about Genetic Algorithm and Direct Search toolbox

조회 수: 2 (최근 30일)
Gun
Gun 2011년 3월 25일
Hello.I have a simple question to ask.I tried the example from Matlab regarding about the rastriginsfcn.m.The problem is I did'nt get the same answer as what the Matlab guide has shown?What is wrong wit it?Is it true that i will keep getting different values?

답변 (1개)

Sandy Patel
Sandy Patel 2011년 3월 25일
There is nothing wrong with it. Yes, ga uses a stochastic search method so it is not uncommon to get different results that satisfies the tolerance condition. A good check is to run the search a few times and see if the results is wildly different. Since it is random, if it returns to the same fit result, then it is a good sign that you got the minimum. Always be careful that you are not just in a local minimum and that the search was just not robust enough.
  댓글 수: 1
Hazem
Hazem 2011년 9월 20일
So how can one check that he is not in local minimum ? and his search is robust enough?

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

카테고리

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