フィルターのクリア

Real Coded Genetic Algorithm

1 回表示 (過去 30 日間)
Johan Johan
Johan Johan 2018 年 6 月 13 日
回答済み: Alan Weiss 2018 年 6 月 13 日
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.

採用された回答

Alan Weiss
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 件)

カテゴリ

Help Center および File ExchangeGenetic Algorithm についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by