How to implement an equality and inequality constraint
1 次查看(过去 30 天)
显示 更早的评论
I want to implemet a constraint, in GA, given as , where is the decision variable and is a consatnt. Any help woul be appreciated.
0 个评论
采纳的回答
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;
更多回答(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!