フィルターのクリア

How to implement an equality and inequality constraint

2 ビュー (過去 30 日間)
Saifullah Khalid
Saifullah Khalid 2019 年 9 月 28 日
コメント済み: Saifullah Khalid 2019 年 9 月 29 日
I want to implemet a constraint, in GA, given as , where is the decision variable and is a consatnt. Any help woul be appreciated.

採用された回答

John D'Errico
John D'Errico 2019 年 9 月 28 日
編集済み: John D'Errico 2019 年 9 月 28 日
You said both an equality AND an inequality constraint in the subject. But then you showed only the inequality.
The inequality is trivial.
A = ones(1,N);
B = E_Total;
  1 件のコメント
Saifullah Khalid
Saifullah Khalid 2019 年 9 月 29 日
Thank you very much. Next, I want to generate random data () that follows this constrainst. where is a constant. Can you please help on this.

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

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