Using MATLAB GA package for a experimental problem
이전 댓글 표시
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
Walter Roberson
2016년 12월 22일
What happens when you attempt to call your objective function?
David Barry
2016년 12월 22일
Please upload your code and error message
Seyedmohamad Moosavi
2016년 12월 23일
편집: Seyedmohamad Moosavi
2016년 12월 23일
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Genetic Algorithm에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!