[sympy] problem in solving inequations

2014-12-02 Thread bruno . pincon5
Hi all, I am new to sympy (and to symbolic computations...) and I meet a problem for solving (possibly difficult) inequalities depending upon on real symbol (I have used k = symbols('k',real=True,positive=True)). First I build a set of (5) inequalities, stored in a list L and I want

[sympy] Re: problem in solving inequations

2014-12-02 Thread bruno . pincon5
On Tuesday, December 2, 2014 5:30:38 PM UTC+1, Chris Smith wrote: > > Could you give this a try in my (smichr) improve_relational branch? I saw > that error there, too, and a correction I made avoided the error. > > > Thanks but did you mean I should try your own git repository sympy version

[sympy] Re: problem in solving inequations

2014-12-03 Thread bruno . pincon5
Hi Chris, thanks for helping me. I've just installed git on my machine. Then i've tried to download the sympy git version with : git clone git://github.com/sympy/sympy.git seems that all is OK. But when I tried (from the same directory I 've launched the first git command) : > git remot

Re: [sympy] Re: problem in solving inequations

2014-12-03 Thread bruno . pincon5
OK Thanks. Still having some problems with the git instructions suggested above (seems that I should learn git a little) I finally do this : git clone git://github.com/smichr/sympy.git Hoping it contains the last Chris modifications (maybe not ?). Then I 've installed this new sympy

[sympy] Re: problem in solving inequations

2014-12-04 Thread bruno . pincon5
On Thursday, December 4, 2014 7:23:28 AM UTC+1, Chris Smith wrote: > > Could you do `print filldedent(R);print filldedent(L)` so I can see what > the expressions are that you are trying to solve? > > > Sorry my list L of 4 relationals was latter renamed R... Here they are (btw I was not ab

[sympy] Re: problem in solving inequations

2014-12-04 Thread bruno . pincon5
Oups I just saw that my first and second relationals are the same. So I have to solve for only 3 relationals. I just went to try the wolfram alpha online calculator, I got : 1/ for the first relational : solve((-k**8 + 8*k**6 - 8*k**4 - 16*k**2 - 64)/(k*(k**8 - 2*k**6 - 4*k**4 - 16*