Solve Ax <= b with some unknown values of [b]? but with a relationship between them
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
I am using the solver "intlinprog" to solve an integer linear programming problem with inequality Ax<=b. This is one case I have already solved it. I have another case when some values of [b] vector are unknown, however, there is a relation between them and all u's are either 0 or 1.
Ex: . .
x1+x2+x3+x4+x5+x9 <= u1
x4+x6+x8 <= u2
. .
9 eq's with 9 unknown x's.
u1 and u2.. are unknown constant values but there is a relationship between them, say, u1+u2+u3+u4>3 (if we have 4 u's, one of them is zero and the rest are one).
I want the solver finds the values of u's (=0 or 1) in a way that it minimizes the total objective fn = min {x1+...+x2}. The result should be the values of x and u.
Can we solve such a problem?
Thanks in advance
0 comentarios
Respuestas (1)
Ver también
Categorías
Más información sobre Numerical Integration and Differential Equations en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!