GA for binary variables

Could please any one helps me on how I can define the variables type in genetic algorithm, as I am considering an optimization problem of binary variables. also please i would like to know how i can tune the parameters of GA; like size of population, number of generation, ... etc.
please if any one can show me an example of GA code for binary variables.
thank you in advance,

回答(1 个)

Alan Weiss
Alan Weiss 2015-4-30

0 个投票

Alan Weiss
MATLAB mathematical toolbox documentation

类别

Community Treasure Hunt

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

Start Hunting!

Translated by