Filter löschen
Filter löschen

Genetic Algorithm CrossoverFraction and EliteCount

5 Ansichten (letzte 30 Tage)
Stefan M
Stefan M am 4 Jan. 2018
Bearbeitet: Stefan M am 9 Jan. 2018
Hi everyone,
I'm currently trying to solve a binary optimization problem with the GA. I have defined my fitness and constraint function and all variables as integers with bounds [0 1]. Since GA sets a lot of options to default in this setting, there are only a few things to play with:
populationSize, CrossoverFraction, EliteCount
First question: Am I missing any options that could help my optimization?
Second question: If I am setting CrossoverFraction and EliteCount to 0 the optimization should be totally random (only mutation), but in my case the graph looks like this:
Is anyone able to explain what exactly these options do? There are some good examples in the documentation but this is contrary to my understanding.
EDIT: I attached a short script and some input data, so maybe someone is able to reproduce my problem and find any answers. Thanks in advance for your help

Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by