Genetic algorithm plots penalty instead of Fitness
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Im using the GA toolbox to solve an unconstrained problem.. however the genetic algorithm is producing the graph of penalty vs generations instead of fitness vs generations.. why do i have this?
0 commentaires
Réponse acceptée
Alan Weiss
le 7 Oct 2019
Perhaps you have some integer constraints.
If not, please show us your options and ga call.
Alan Weiss
MATLAB mathematical toolbox documentation
2 commentaires
Alan Weiss
le 10 Oct 2019
Modifié(e) : Alan Weiss
le 10 Oct 2019
I would guess that you set some options improperly, like EliteCount = 0 or some such thing. Or despite your statement to the contrary, you have a nonlinear constraint. For further help, please report all of your options and give your ga call.
Alan Weiss
MATLAB mathematical toolbox documentation
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Genetic Algorithm dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!