Filter löschen
Filter löschen

how to costrain variables for ga optimization

1 Ansicht (letzte 30 Tage)
andrea84
andrea84 am 31 Jan. 2013
Hello, I'm perfoming an optimization using the gamultiobj but I'm not able to force my variables to follow the inequalityies :
x1<x2
x3<x4
x5<x6
  1 Kommentar
Matt J
Matt J am 31 Jan. 2013
Bearbeitet: Matt J am 31 Jan. 2013
What A,b, Aeq, beq did you generate?

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Shashank Prasanna
Shashank Prasanna am 1 Feb. 2013
A = [1 -1 0 0 0 0 ]
[0 0 1 -1 0 0 ]
[0 0 0 0 1 -1 ]
b = zeros(6,1);
Please read this link to understand why:

Weitere Antworten (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by