I tried using solve_ineq in the notebook in the simple way below and got an
error. It seems to be related to
http://trac.sagemath.org/sage_trac/ticket/11520
Is there a workaround?
R.<g1,g2> = PolynomialRing(QQ)
solve_ineq([g1 > g2],[g1,g2])
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "_sage_input_106.py", line 10, in <module>
exec compile(u'open("___code___.py","w").write("# -*- coding: utf-8 -*-\\n"
+
_support_.preparse_worksheet_cell(base64.b64decode("c29sdmVfaW5lcShbZzEgPiBnMl0sW2cxLGcyXSk="),globals())+"\\n");
execfile(os.path.abspath("___code___.py"))
File "", line 1, in <module>
File "/tmp/tmpwFoZvN/___code___.py", line 2, in <module>
exec compile(u'solve_ineq([g1 > g2],[g1,g2])
File "", line 1, in <module>
File
"/usr/lib/sagemath/local/lib/python2.7/site-packages/sage/symbolic/relation.py",
line 1204, in solve_ineq
return(solve_ineq_fourier(ineq, vars))
File
"/usr/lib/sagemath/local/lib/python2.7/site-packages/sage/symbolic/relation.py",
line 1115, in solve_ineq_fourier
ineq0 = [i._maxima_() for i in ineq]
AttributeError: 'bool' object has no attribute '_maxima_'
--
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.