How can I manipulate single variable in Integer programming?
Ältere Kommentare anzeigen
I am using bintprog to solve a problem and I could not figure out how to build the equality constrains. For instance I have a 3 x 3 variable matrix x and I want x(1,1)+x(2,1)+x(3,2)=Const. Is there any way to manipulate this variables seperately? I was thinking that I can do that by configuring a matrix A and let A * x = b and one of the items in b will be the one I want but for the rest elements of b is there any way to set them to arbitrary value (so it will not serve as a constrain)?
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Solver Outputs and Iterative Display finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!