Re: Issue 3721 in sympy: solve should handle more than one abs

2013-06-14 Thread sympy
Updates: Status: Fixed Comment #8 on issue 3721 by smi...@gmail.com: solve should handle more than one abs http://code.google.com/p/sympy/issues/detail?id=3721 (No comment was entered for this change.) -- You received this message because this project is configured to send all

Re: Issue 3721 in sympy: solve should handle more than one abs

2013-04-28 Thread sympy
Comment #6 on issue 3721 by asmeu...@gmail.com: solve should handle more than one abs http://code.google.com/p/sympy/issues/detail?id=3721 That was merged. Should this be closed? -- You received this message because this project is configured to send all issue notifications to this

Re: Issue 3721 in sympy: solve should handle more than one abs

2013-04-28 Thread sympy
Comment #7 on issue 3721 by smi...@gmail.com: solve should handle more than one abs http://code.google.com/p/sympy/issues/detail?id=3721 https://github.com/sympy/sympy/pull/1964 -- You received this message because this project is configured to send all issue notifications to this

Re: Issue 3721 in sympy: solve should handle more than one abs

2013-03-31 Thread sympy
Updates: Cc: matt...@gmail.com Comment #4 on issue 3721 by smi...@gmail.com: solve should handle more than one abs http://code.google.com/p/sympy/issues/detail?id=3721 from sympy.solvers.inequalities import reduce_inequalities as ri ri(abs(x-3)-2*(x+1)) Traceback (most recent call

Re: Issue 3721 in sympy: solve should handle more than one abs

2013-03-31 Thread sympy
Updates: Labels: NeedsReview smichr Comment #5 on issue 3721 by smi...@gmail.com: solve should handle more than one abs http://code.google.com/p/sympy/issues/detail?id=3721 https://github.com/sympy/sympy/pull/1925 -- You received this message because this project is configured to

Re: Issue 3721 in sympy: solve should handle more than one abs

2013-03-29 Thread sympy
Updates: Labels: Solvers Comment #1 on issue 3721 by asmeu...@gmail.com: solve should handle more than one abs http://code.google.com/p/sympy/issues/detail?id=3721 I don't think that particular equation has any solutions. But when it does, this seems to work: In [25]:

Re: Issue 3721 in sympy: solve should handle more than one abs

2013-03-29 Thread sympy
Comment #2 on issue 3721 by smi...@gmail.com: solve should handle more than one abs http://code.google.com/p/sympy/issues/detail?id=3721 yes...here is a better example eq = abs((2*x+5))-3*abs((2*x-2)) It may be as simple as replacing abs with sqrt(arg**2): eq.replace(Abs, lambda x:

Re: Issue 3721 in sympy: solve should handle more than one abs

2013-03-29 Thread sympy
Comment #3 on issue 3721 by matt...@gmail.com: solve should handle more than one abs http://code.google.com/p/sympy/issues/detail?id=3721 Inequalities solver has support for this, just the feature isn't exposed to solve(): In [1]: from sympy.solvers.inequalities import

Issue 3721 in sympy: solve should handle more than one abs

2013-03-28 Thread sympy
Status: Valid Owner: Labels: Type-Defect Priority-Medium New issue 3721 by smi...@gmail.com: solve should handle more than one abs http://code.google.com/p/sympy/issues/detail?id=3721 Although solve handles one abs, solve(abs(2*x+5),x) [-5/2] it fails for multiple abs: