How to implement an equality and inequality constraint
조회 수: 5 (최근 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!