GA for binary variables

12 views (last 30 days)
Jean Thomas
Jean Thomas on 29 Apr 2015
Answered: Alan Weiss on 30 Apr 2015
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,

Answers (1)

Alan Weiss
Alan Weiss on 30 Apr 2015
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!