How to implement an equality and inequality constraint
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Saifullah Khalid
el 28 de Sept. de 2019
Comentada: Saifullah Khalid
el 29 de Sept. de 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.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/240296/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/240297/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/240298/image.png)
0 comentarios
Respuesta aceptada
John D'Errico
el 28 de Sept. de 2019
Editada: John D'Errico
el 28 de Sept. de 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;
Más respuestas (0)
Ver también
Categorías
Más información sobre Genetic Algorithm en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!