Hello,
as a SymPy newbie, do I do something wrong here?
In [1]: solve([x**2 * y**2 <= x**2 * y, x**2 * y**2 > x**2 * y])
ERROR: An unexpected error occurred while tokenizing input
The following traceback may be corrupted or invalid
The error message is: ('EOF in multi-line string', (1, 38))
---------------------------------------------------------------------------
NotImplementedError Traceback (most recent
call last)
<ipython-input-1-b161ed4023a1> in <module>()
----> 1 solve([x**2 * y**2 <= x**2 * y, x**2 * y**2 > x**2 * y])
/home/robert/bin/sympy/sympy/solvers/solvers.pyc in solve(f,
*symbols, **flags)
811 f[i] = fi.as_expr()
812 elif isinstance(fi, (bool, BooleanAtom)) or
fi.is_Relational:
--> 813 return reduce_inequalities(f, symbols=symbols)
814
815 # rewrite hyperbolics in terms of exp
/home/robert/bin/sympy/sympy/solvers/inequalities.pyc in
reduce_inequalities(inequalities, symbols)
587
588 # solve system
--> 589 rv = _reduce_inequalities(inequalities, symbols)
590
591 # restore original symbols and return
/home/robert/bin/sympy/sympy/solvers/inequalities.pyc in
_reduce_inequalities(inequalities, symbols)
512 raise NotImplementedError(filldedent('''
513 inequality has more than one
--> 514 symbol of interest'''))
515
516 if expr.is_polynomial(gen):
NotImplementedError:
inequality has more than one symbol of interest
I am using the current Git head (commit b7c9ba).
(Question context:
http://trac.sagemath.org/ticket/14229)
Best regards,
Robert