フィルターのクリア

how to costrain variables for ga optimization

1 回表示 (過去 30 日間)
andrea84
andrea84 2013 年 1 月 31 日
Hello, I'm perfoming an optimization using the gamultiobj but I'm not able to force my variables to follow the inequalityies :
x1<x2
x3<x4
x5<x6
  1 件のコメント
Matt J
Matt J 2013 年 1 月 31 日
編集済み: Matt J 2013 年 1 月 31 日
What A,b, Aeq, beq did you generate?

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

採用された回答

Shashank Prasanna
Shashank Prasanna 2013 年 2 月 1 日
A = [1 -1 0 0 0 0 ]
[0 0 1 -1 0 0 ]
[0 0 0 0 1 -1 ]
b = zeros(6,1);
Please read this link to understand why:
  1 件のコメント
andrea84
andrea84 2013 年 2 月 1 日
Thank you Benji !

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

その他の回答 (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