Best penalty lower than best individual in genetic algorithm

2 vues (au cours des 30 derniers jours)
Jorge Mallo
Jorge Mallo le 21 Mar 2016
Commenté : Alan Weiss le 29 Août 2016
Hi,
I am doing an optimization with the generic algorithm, using some integer parameters. The best penalty I get for many generations is lower (~ -5 million) than the fitness function of the best individual (~ -4 million).
Can you help me interpret this? I thought that the penalty value was the fitness function for feasible individuals and the fitness function of the population plus some penalty for non feasible individuals, so my understanding was that the fitness function of the best individual would be lower than any best penalty of the entire optimization.
Thanks

Réponse acceptée

Alan Weiss
Alan Weiss le 21 Mar 2016
I believe that your interpretation of the meaning of the penalty function is correct, so I, too, am puzzled by what you report.
If you can reproduce your problem, I suggest that you contact technical support, and possibly file a bug report.
Alan Weiss
MATLAB mathematical toolbox documentation
  4 commentaires
hanane ensam
hanane ensam le 26 Août 2016
Hello, please, could you give me the interpretation of the graph (penalty value in function of generation) and the exact definition of penalty value
Alan Weiss
Alan Weiss le 29 Août 2016
Alan Weiss
MATLAB mathematical toolbox documentation

Connectez-vous pour commenter.

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by