From: "Stan Schymanski" <[EMAIL PROTECTED]> > I think it would be very nice to include a solve algorithm for > inequalities. To my knowledge, Mathematica does not do this, either. > Or at least, I did not find out how to do it in Mathematica after 4 > years of use.
For example, In[1]:= Reduce[x + y <= 3 && x >= 0 && y >= 0, {x, y}, Integers] Out[1]= (x == 0 && y == 0) || (x == 0 && y == 1) || (x == 0 && y == 2) || (x == 0 && y == 3) || (x == 1 && y == 0) || (x == 1 && y == 1) || (x == 1 && y == 2) || (x == 2 && y == 0) || (x == 2 && y == 1) || (x == 3 && y == 0) Alec --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---