
Selection function in genetic algorithm
9 次查看(过去 30 天)
显示 更早的评论
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?
0 个评论
回答(1 个)
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 个评论
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 Center 和 File Exchange 中查找有关 Genetic Algorithm 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!