How can I manipulate single variable in Integer programming?
Show older comments
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)?
Accepted Answer
More Answers (0)
Categories
Find more on Solver Outputs and Iterative Display in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!