Group Abstract Group Abstract

Message Boards Message Boards

0
|
6.6K Views
|
2 Replies
|
0 Total Likes
View groups...
Share
Share this post:

Reucing / solving inequality

Posted 11 years ago

How can I reduce following inequalities in mathematica:

x1 ? 2 , x2 ? 1, x3 ? 2, x1 + x2 ? 4, x1 + x3 ? 7, x2 + x3 ? 10

And x1 + x2 + x3 = 14

I reduce and get: 2 ? x1 ? 4, 1 ? x2 ? 7, 2?x3 ?10, x1+x2 + x3 = 14. This is the result I want, but I can't find the right code in mathematica.

POSTED BY: Ko Ba
2 Replies
POSTED BY: Isaac Abraham
Posted 11 years ago

Just Reduce it!

In[151]:= Reduce[{x1 >= 2, x2 >= 1, x3 >= 2, x1 + x2 >= 4, 
  x1 + x3 >= 7, x2 + x3 >= 10, x1 + x2 + x3 == 14}, {x1, x2, x3}]

Out[151]= ((2 <= x1 <= 3 && 4 - x1 <= x2 <= 7) || (3 < x1 <= 4 && 
     1 <= x2 <= 7)) && x3 == 14 - x1 - x2
POSTED BY: Erik Mahieu
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard