Real Coded Genetic Algorithm
조회 수: 3 (최근 30일)
이전 댓글 표시
What controls to using the real encoding in genetic algorithm
- the variables which using in the problem
- or the initial population
Or there are other reasons.
Thanks in advance.
댓글 수: 0
채택된 답변
Alan Weiss
2018년 6월 13일
I'm sorry, but I do not understand your question. The default data type in ga is real doubles. You can use a custom data type, but then you have to handle all population generation, mutation, crossover, scoring, and constraints yourself. See this example using a custom data type. Or you can use mixed-integer optimization using a specific construct, the IntCon argument.
Alan Weiss
MATLAB mathematical toolbox documentation
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Genetic Algorithm에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!