How can i solve inequality constraints in Genetic Algorithm toolbox?
2 次查看(过去 30 天)
显示 更早的评论
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.
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
采纳的回答
Chidvi Modala
2019-8-13
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
You can also refer to https://in.mathworks.com/help/optim/ug/graphical-optimization-tool.html#bumk97t-1
0 个评论
更多回答(0 个)
另请参阅
类别
在 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!