How to implement an equality and inequality constraint
6 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Saifullah Khalid
am 28 Sep. 2019
Kommentiert: Saifullah Khalid
am 29 Sep. 2019
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 Kommentare
Akzeptierte Antwort
John D'Errico
am 28 Sep. 2019
Bearbeitet: John D'Errico
am 28 Sep. 2019
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;
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Genetic Algorithm finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!