[sage-support] Re: systems of inequalities over the integers

2010-05-03 Thread Marshall Hampton
It's a hard problem in general. I think making a LattE optional package would help here. I have dim memories that perhaps Mike Hansen tried to make one once...ah yes: http://sage.math.washington.edu/home/mhansen/latte-1.2-mk-0.9.spkg ...but I'm not sure what shape that's in. A good paper descr

[sage-support] Re: systems of inequalities over the integers

2010-05-03 Thread Jason Grout
On 05/03/2010 12:59 PM, Nathann Cohen wrote: I'm sure of the best way. You could just write your own little function that checks the conditions for each (i,j) in a big rectangle. Also, you might be able to use Sage's MixedIntegerLinearProgram functionality. And here is how : p = MixedIntegerLi

[sage-support] Re: systems of inequalities over the integers

2010-05-03 Thread Nathann Cohen
> I'm sure of the best way. You could just write your own > little function that checks the conditions for each > (i,j) in a big rectangle. Also, you might be able to use Sage's > MixedIntegerLinearProgram functionality. And here is how : p = MixedIntegerLinearProgram() x = p.new_variable() p.add

[sage-support] Re: systems of inequalities over the integers

2010-05-03 Thread Jason Grout
On 05/03/2010 09:51 AM, Burcin Erocal wrote: On Mon, 3 May 2010 10:18:42 -0400 David Joyner wrote: I think Sage calls Maxima and Maxima is getting i (your variable) and I (sqrt(-1)) mixed up. I guess this is a bug, but it might be known already. It's reported here: http://trac.sagemath.org/