Best penalty lower than best individual in genetic algorithm
2 views (last 30 days)
Show older comments
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
0 Comments
Accepted Answer
Alan Weiss
on 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 Comments
hanane ensam
on 26 Aug 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
on 29 Aug 2016
Alan Weiss
MATLAB mathematical toolbox documentation
More Answers (0)
See Also
Categories
Find more on Genetic Algorithm in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!