Hi list,
i try to solve a linear equation in ZZ in the variables w_i:

sage: variables = [var("w" + str(i),domain=ZZ)for i in range(s.nvertices())]
sage: eq
(w0 + w1 + w2 - 14*w3, w1 + 2*w2 - 8*w3, 2*w2 - 3*w3)
sage: result
[w0 == 15/2*r548, w1 == 5*r548, w2 == 3/2*r548, w3 == r548]

up to here it's ok, but now im lookin for the smalest integer r548 > 0
solving this equatoins. in other words, the smalest r548 such that every
wi is in ZZ.
How can i do this?

Johannes

-- 
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to