How does GA create crossover/mutation with constraints ?
Ältere Kommentare anzeigen
Hello. I am currently doing an optimization where polynomial (4 parameters) have to fulfil a constraint of the type (max(poly)-Value) < 0.
To do so, I use the genetic algorithm from matlab.
I have a question though, how is it possible that the ga command uses crossover/mutation functions, but still fulfil that condition ? What will the code exactly do if this condition is not fulfilled ? Skip the fitness evaluation ?
Thank you for your help
Antworten (2)
Alan Weiss
am 23 Mai 2018
0 Stimmen
The nonlinear constraint algorithms are described here. In brief, the algorithm allows nonlinear constraints to be violated, and in subsequent iterations attempts to obtain feasible points.
Alan Weiss
MATLAB mathematical toolbox documentation
Boris Huljak
am 23 Mai 2018
Bearbeitet: Boris Huljak
am 24 Mai 2018
0 Stimmen
Kategorien
Mehr zu Genetic Algorithm finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!