Real Coded Genetic Algorithm
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Johan Johan
am 13 Jun. 2018
Beantwortet: Alan Weiss
am 13 Jun. 2018
What controls to using the real encoding in genetic algorithm
- the variables which using in the problem
- or the initial population
Or there are other reasons.
Thanks in advance.
0 Kommentare
Akzeptierte Antwort
Alan Weiss
am 13 Jun. 2018
I'm sorry, but I do not understand your question. The default data type in ga is real doubles. You can use a custom data type, but then you have to handle all population generation, mutation, crossover, scoring, and constraints yourself. See this example using a custom data type. Or you can use mixed-integer optimization using a specific construct, the IntCon argument.
Alan Weiss
MATLAB mathematical toolbox documentation
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Genetic Algorithm finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!