How to implement an equality and inequality constraint
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Saifullah Khalid
le 28 Sep 2019
Commenté : Saifullah Khalid
le 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 commentaires
Réponse acceptée
John D'Errico
le 28 Sep 2019
Modifié(e) : John D'Errico
le 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;
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Genetic Algorithm dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!