selection of parameters by genetic algorithm
1 回表示 (過去 30 日間)
古いコメントを表示
Hi to all, I have been studying on a optimization problem. My aim is selecting of parameters and assiging them to some other parameters. More detailly, I have 16 material properties, and I should select 8 properties from these 16 parameters each time and assing them to the strucutre. This process will continue until obtaining the best 8 couple. I have done to assign 8 parameters to the strucuture. However, ı am stuck at selection of 8 parameters and looping this process by genetic algorithm (ga).Thank you.
0 件のコメント
採用された回答
Alan Weiss
2021 年 2 月 16 日
I think that you should use Mixed Integer ga Optimization. Create a binary variable x with 16 components. Create the linear constraints
A = [ones(1,16);-ones(1,16)];
b = [8.5;-7.5];
which mean sum(x) <= 8.5 and -sum(x) <= -7.5 or equivalently sum(x) >= 7.5. This should keep the sum of elements in x at exactly 8.
Good luck,
Alan Weiss
MATLAB mathematical toolbox documentation
0 件のコメント
その他の回答 (1 件)
参考
カテゴリ
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!