On 12/03/2012 07:42 PM, Volker Braun wrote:
On Monday, December 3, 2012 6:19:18 AM UTC-5, P Purkayastha wrote:

    I don't know of any nice way of converting the variables to symbolic
    variables.


For the record, you can just cast to SR (the symbolic ring):

sage: R.<g1,g2> = PolynomialRing(QQ)
sage: g1 = SR(g1)
sage: g2 = SR(g2)
sage: solve_ineq([g1 > g2],[g1,g2])
[[g2 < g1]]

I don't think that is really a solution. It doesn't ensure that the values output actually live in the original ring over which the polynomials are defined.



--
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
Visit this group at http://groups.google.com/group/sage-support?hl=en.


Reply via email to