Thanks Harsh, I do have that PR in my TODO List. We need to consider output API (return type) also while replacing `solve` with `solveset` functions. I am working on that.
AMiT Kumar On Saturday, January 31, 2015 at 1:10:28 PM UTC+5:30, Harsh Gupta wrote: > > > Currently solve and solveset, both are dependent on the submodule > inequalities.py (in solvers) for solving inequalities, which eventually > also uses solve() > > You should replace the `solve()` in inequality.py with solveset_reals > (solver for real equations). See > https://github.com/sympy/sympy/issues/8711 > > On Sat Jan 31 2015 at 1:33:36 AM Aaron Meurer <[email protected] > <javascript:>> wrote: > >> That's probably a good thing. All algorithms should be eventually >> consolidated. >> >> Aaron Meurer >> >> On Fri, Jan 30, 2015 at 12:10 PM, AMiT Kumar <[email protected] >> <javascript:>> wrote: >> >>> Forgot to mention: >>> Currently solve and solveset, both are dependent on the submodule >>> inequalities.py (in solvers) for solving inequalities, which eventually >>> also uses solve(). >>> >>> >>> On Friday, January 30, 2015 at 7:55:38 PM UTC+5:30, AMiT Kumar wrote: >>>> >>>> Yes, the new solveset always returns set & it does support >>>> inequalities, and I have gone through the work of Harsh, I came to know >>>> there is still lot of work to do in solveset as mentioned by Harsh and on >>>> ideas page, I am working on it, I will soon come up with a new thread on >>>> what I plan to implement this summer to extend the capabilities of >>>> solveset. >>>> >>>> Amit Kumar >>>> 3rd Year UnderGrad >>>> Delhi Technological University >>>> http://www.iamit.in >>>> >>>> On Friday, January 30, 2015 at 2:52:58 AM UTC+5:30, Aaron Meurer wrote: >>>>> >>>>> I think the new solveset will always return a set object. I don't know >>>>> if it supports inequalities yet, but we should focus on improving it, so >>>>> that it can eventually replace solve(). >>>>> >>>>> Aaron Meurer >>>>> >>>>> On Sat, Jan 10, 2015 at 6:01 AM, AMiT Kumar <[email protected]> wrote: >>>>> >>>>>> Yes, we can convert set Interval to Boolean object,using as_relational(). >>>>>> >>>>>> In [4]: Interval(0,1).as_relational(x) >>>>>> >>>>>> Out[4]: 0 ≤ x ∧ x ≤ 1 >>>>>> >>>>>> Thanks Sergey, for clearing the doubt. >>>>>> >>>>>> Cheers! >>>>>> Amit Kumar. >>>>>> >>>>>> -- >>>>>> You received this message because you are subscribed to the Google >>>>>> Groups "sympy" group. >>>>>> To unsubscribe from this group and stop receiving emails from it, >>>>>> send an email to [email protected]. >>>>>> To post to this group, send email to [email protected]. >>>>>> Visit this group at http://groups.google.com/group/sympy. >>>>>> To view this discussion on the web visit https://groups.google.com/d/ >>>>>> msgid/sympy/4780296c-a5ed-48cf-9305-395eb7feaf5b%40googlegroups.com >>>>>> <https://groups.google.com/d/msgid/sympy/4780296c-a5ed-48cf-9305-395eb7feaf5b%40googlegroups.com?utm_medium=email&utm_source=footer> >>>>>> . >>>>>> >>>>>> For more options, visit https://groups.google.com/d/optout. >>>>>> >>>>> >>>>> -- >>> You received this message because you are subscribed to the Google >>> Groups "sympy" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected] <javascript:>. >>> To post to this group, send email to [email protected] >>> <javascript:>. >>> Visit this group at http://groups.google.com/group/sympy. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/sympy/80d627f0-c2e5-420e-b743-ee028642a344%40googlegroups.com >>> >>> <https://groups.google.com/d/msgid/sympy/80d627f0-c2e5-420e-b743-ee028642a344%40googlegroups.com?utm_medium=email&utm_source=footer> >>> . >>> >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "sympy" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] <javascript:>. >> To post to this group, send email to [email protected] <javascript:> >> . >> Visit this group at http://groups.google.com/group/sympy. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/sympy/CAKgW%3D6%2BMT_o6ZZkZD5YxnnyvVL3vazgMO-MtOLNgqjaWHa7JdQ%40mail.gmail.com >> >> <https://groups.google.com/d/msgid/sympy/CAKgW%3D6%2BMT_o6ZZkZD5YxnnyvVL3vazgMO-MtOLNgqjaWHa7JdQ%40mail.gmail.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > -- You received this message because you are subscribed to the Google Groups "sympy" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sympy. To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/9af4d34c-0c00-4f0e-aeae-5ca8803455d1%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
