MATLAB Answers

0

How can i solve inequality constraints in Genetic Algorithm toolbox?

Taimoor Mohsin さんによって質問されました 2019 年 8 月 6 日
最新アクティビティ Chidvi Modala さんによって 回答されました 2019 年 8 月 13 日
Hello everyone.
Suppose i have three vectors. A, X and B
A vector has 48 rows 25 columns.
X vector has 25 rows 1 column
B vector has 48 rows 1 column.
Now in inequality A*x <=B
so i have now these three vectors but i am not able to use it in linear inequalities constraint window. Please tell me the syntax. How should i write these three vectors in constrain window?
Please see the attached image also.
Thank you everyone.
Ga problem.JPG

  1 件のコメント

Alan Weiss
2019 年 8 月 7 日
I'm not sure that I understand your question. Do you have A and B in your MATLAB workspace? If so, can you try putting A as the entry for the A: entry, and B as the entry for the b: entry?
Alan Weiss
MATLAB mathematical toolbox documentation

サインイン to comment.

1 件の回答

回答者: Chidvi Modala 2019 年 8 月 13 日
 採用された回答

ga solver.PNG
The above image helps in understanding the implementation of Genetic Algorithm Solver. The syntax for each variable is provided in the Examples section of the below link

  0 件のコメント

サインイン to comment.



Translated by