Selection function in genetic algorithm

조회 수: 9 (최근 30일)
Parikshit  Sharma
Parikshit Sharma 2018년 5월 9일
편집: Stephan 2018년 5월 11일
When i specify integer constraint in genetic algorithm a warning which says:
Warning: Problem has integer constraints. The following options will be ignored by GA:
SelectionFcn
so my question is, what selection operator genetic algorithm uses when we specify constraint to be integer constraint?

답변 (1개)

Stephan
Stephan 2018년 5월 10일
편집: Stephan 2018년 5월 10일
Hi,
the SelectionFcn ga uses, will be the binary tournament selection function. All other settings are being overrided when you include integer constraints.
See here for further information:
Best regards
Stephan
  댓글 수: 2
Parikshit  Sharma
Parikshit Sharma 2018년 5월 11일
Thank you for your reply Stephan can you please tell me what is the default tournament size for selection function?
Stephan
Stephan 2018년 5월 11일
편집: Stephan 2018년 5월 11일
Hi,
standard is a tournament size of 4. But in your case the Tournament Size is 2, due to the use of the penalty function used by ga when working with integer constraints:
.
.
which is described below:
.
.
For further Information see link in my answer above and here:
.
Best regards
Stephan

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

카테고리

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