How can I manipulate single variable in Integer programming?
Afficher commentaires plus anciens
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)?
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Solver Outputs and Iterative Display dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!