Using MATLAB GA package for a experimental problem
Show older comments
I want to use genetic algorithm toolbox in MATLAB to solve a problem. However, the objective function is not a mathematical equation that I code it and I do not know how to do it. I would like to:
1. initialize GA with a specific population 2. pass the scores of each individual to GA in a matrix format (HERE is the question, how?) 3. GA return me the next generation 4. I do the experiment on the new generation and evaluate them 5. pass the new scores to step 2 continue to reach convergence Thanks for your help!
3 Comments
Walter Roberson
on 22 Dec 2016
What happens when you attempt to call your objective function?
David Barry
on 22 Dec 2016
Please upload your code and error message
Seyedmohamad Moosavi
on 23 Dec 2016
Edited: Seyedmohamad Moosavi
on 23 Dec 2016
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!