Discrete variables implementation in ga

1 回表示 (過去 30 日間)
udham singh
udham singh 2020 年 6 月 20 日
コメント済み: Shobhit Chaturvedi 2021 年 6 月 17 日
Hello everyone
where can i find these files mentioned in the documentation section for Solving a Mixed Integer Engineering Design Problem Using the Genetic Algorithm (cantileverVolumeWithDisc.m, cantileverConstraintsWithDisc.m and cantileverMapVariables.m.) (https://se.mathworks.com/help/gads/solving-a-mixed-integer-engineering-design-problem-using-the-genetic-algorithm.html#d120e16157) ? or any other example where i can learn how to implement descrete set of variables in ga.
Thank you
Udham

回答 (1 件)

Raunak Gupta
Raunak Gupta 2020 年 6 月 25 日
Hi,
When you open the example in MATLAB using the command (View MATLAB Command) given in the top right pane of the documentation
openExample('globaloptim/steppedCantileverExample')
The working folder will change to where the example is present in the MATLAB installation. There all the files used in the example are present.
Hope it helps!
  1 件のコメント
Shobhit Chaturvedi
Shobhit Chaturvedi 2021 年 6 月 17 日
Thanks Raunak.
Your tip helped me develop logic for solving single objective/multi objective discrete optimisation problems.

サインインしてコメントする。

カテゴリ

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