Optimization results in GA
조회 수: 2 (최근 30일)
이전 댓글 표시
I have performed some optimization in using GA under the Optimization Toolbox and have found out my results to be of certain values. They are all well and good.
I would like to have the values given by GA in a rounded solid integer number like 15 or 18 or 55 instead of 15.45656 or 18.23453 04 55.17483 and so on...
I had went through the IntCon parameter but the results i get after using IntCon is unusable. I am optimizing well over 1000 variables (Double vector) and would prefer GA gives me nice numbers rather than decimals which i later need to round myself and which might not necessarily be optimal.
Do i have any other option to try out?
댓글 수: 0
답변 (2개)
Alan Weiss
2014년 3월 5일
It is possible that your version of MATLAB is older than R2011b when mixed integer GA was introduced. If so, you can try to use these suggestions for programming your own integer GA solver.
However, if you have R2011b or later, then I do not understand how you can get non-integer solutions when using the IntCon argument.
Alan Weiss
MATLAB mathematical toolbox documentation
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Problem-Based Optimization Setup에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!