22padrinos
(Luis Ledesma)
1
Hi everybody, I have the next question, if I want convert the expression of the comand Maximize
Maximize[{3 x + 4 y, 2 x + y <= 6 && 2 x + 3 y <= 9}, {x,
y}, Integers]
To command LinearProgramming so
LinearProgramming[{3, 4}, {{2, 1}, {2, 3}}, {{6, -1}, {9, -1}}]
I get the error, since they are not the same result, right, is turned the Maximize command, I hope any comment
fkampas
(Frank Kampas)
2
LinearProgramming[ c, m, b] finds a vector x that minimizes the quantity c*x subject to the constraints m.x >= b and x >= 0.
22padrinos
(Luis Ledesma)
3
Hi Frank, I did, see my sample,
LinearProgramming[{-3, -4}, {{2, 1}, {2,
3}}, {{6, -1}, {9, -1}}, 0, Integers]
This is the same result with Maximize command, I will work in this for more time.