How can I manipulate single variable in Integer programming?
显示 更早的评论
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)?
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Solver Outputs and Iterative Display 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!