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

2010-05-03 Thread Diego Ruano
1)], [x == (45/31), y == (-10/31)], > [x == -7/5*y + 1, (-10/31) < y, y < (45/31)], [x == -9/2*y, (-10/31) < > y, y < (12/31)], [max(2/3*y - 2, -9/2*y) < x, x < -7/5*y + 1, (-10/31) > < y, y < (45/31)]] > > > > > > On Mon, May 3, 2010 at 5:04 AM, Di

[sage-support] Problem with DiGraph.shortest_path_length in Sage 4.4

2010-05-03 Thread Diego Ruano
Hi, I have some computations that I used to run without problems in Sage 4.2 but they do not work anymore in Sage 4.4. I believe that I have problems when I use something different from 0,1,2, for the name of the vertices of a DiGraph. I get the same error in my laptop using the version for U

[sage-support] systems of inequalities over the integers

2010-05-03 Thread Diego Ruano
Hi, I would like to compute the solution of systems of inequalities over the integers. I have used the command "solve", but the solution is over the complex numbers. Something like: i, j = var('i,j') sol=solve([2*i+9*j>= - 0, -5*i-7*j>=-5, 3*i-2*j>= -6], i,j) sol [[i == (-54/31), j == (12/31)],