Message Boards Message Boards

0
|
2834 Views
|
2 Replies
|
1 Total Likes
View groups...
Share
Share this post:

Help with LinearProgramming

Posted 10 years ago
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
POSTED BY: Luis Ledesma
2 Replies
Posted 10 years ago
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.
POSTED BY: Luis Ledesma
LinearProgramming[ c, m, b] finds a vector x that minimizes the quantity c*x subject to the constraints m.x >= b and x >= 0.
POSTED BY: Frank Kampas
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract