both real and integer variables ga optimization
이전 댓글 표시
How can i perform an optimization with the gamultiobj function using both real and integer variables ?
채택된 답변
추가 답변 (1개)
Alan Weiss
2013년 2월 11일
0 개 추천
As Benji said, you cannot perform mixed integer optimization automatically in GA unless you have MATLAB R2011b or later. However, you can write custom population functions for this purpose; see this explanation. You might also want to see this example on mapping integer variables to a finite set of choices.
Good luck,
Alan Weiss
MATLAB mathematical toolbox documentation
카테고리
도움말 센터 및 File Exchange에서 Solver Outputs and Iterative Display에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!