tournament selection for ga algorithm

Hi all,
I am using a the ga (genetic algorithm) to optimize a function with non linear constraints. I want to use the penalty function instead of the augmented Lagrangian to handle the non-linear constraints. I have read in the doc that the penalty function uses the "selection tournament" function. I would like to get a but more information about how this "selection tournament" function works: - How does it select the two results to be compared ? - Why does it sometimes not keep the population constant ? ( I usually start with a population of 50 but very quickly after the third or the fourth generation my population has drastically decreased ) - Does it still uses crossover or mutation ?
Many thanks, Etienne

回答(0 个)

类别

帮助中心File Exchange 中查找有关 Just for fun 的更多信息

产品

版本

R2018a

标签

Community Treasure Hunt

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

Start Hunting!

Translated by