Please suggest how to solve this optimization problem
16 ビュー (過去 30 日間)
古いコメントを表示
Parikshit Sharma
2018 年 4 月 16 日
回答済み: Parikshit Sharma
2018 年 4 月 17 日
Can you please suggest me how to solve this optimization problem ?
OBJECTIVE FUNCTION:
Minimize x(3)
Subject to:
1/factorial x(1) < x(3)
1/factorial x(2) < x(3)
x(1) + x(2) < 100
x(1) and x(2) are integers and > 0
please do reply,Thanking you in advance!!
2 件のコメント
採用された回答
Walter Roberson
2018 年 4 月 16 日
x1 is 49, x2 is 50, x3 is 1/factorial(49) * (1+eps)
7 件のコメント
Walter Roberson
2018 年 4 月 16 日
Crossover function:
If you move x3 around then floor or round or ceiling to get an integer value and verify it is at least 1.
Walter Roberson
2018 年 4 月 16 日
Mutation function: use randi for generating for x1 or x2. Use a floating point generator for x3. You will need to decide on the range to generate over.
その他の回答 (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!
