genetic algorithm fintess function
Show older comments
Hi,
I need help with figuring out how to start with my genetic algorithm code for my problem. Especially figuring out the firness/objective function for my problem. The aim to produce two continouos optimised values.
Any help with be appreciated.
4 Comments
Walter Roberson
on 4 Mar 2019
Do you have two competing objectives, or do you have one objective that involves two parameters?
Is there a formula, that if executed with the two best parameters possible, would give exactly 0? Or is there a formula, that if executed with the two best parameters possible, would give a value that was more negative than if the formula was executed with parameters that are not as good?
Ifeatu Ezenwe
on 4 Mar 2019
Walter Roberson
on 4 Mar 2019
Why bother to run that through ga? Why not just say x = FTe and y = FTi ?
You can use the options to configure a FitnessLimit of 0.01 .
Ifeatu Ezenwe
on 4 Mar 2019
Edited: Ifeatu Ezenwe
on 4 Mar 2019
Accepted Answer
More Answers (0)
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!