Aeq must have two columns error???
6 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
this is my Aeq and beq:
swtOther_Aeq = [ 1 0 1 0 0 0 1 0 0 0 ]; swtOther_beq = [ 0.22 ];
yet matlab is telling me Aeq needs two columns.
I'm confused as to why. Can someone help me out? Thanks please.
3 Kommentare
Matt J
am 28 Mai 2014
If the variance is a quadratic function of the weights, you should use quadprog instead of fmincon.
Antworten (1)
Siehe auch
Kategorien
Mehr zu Linear Programming and Mixed-Integer Linear Programming 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!