[sage-devel] Re: Improving `solve`

2020-02-02 Thread rjf
1. I suggest you rescale your system by a factor of 100. Then all the numbers are integers or rationals instead of floats. 2. Maxima solves the system with the parameters as integers in 0.16 seconds on my machine, at least if I've done it right. Unfortunately it seems to need floats to do so.

Re: [sage-devel] Re: drop python2 compatibility in 9.1 ?

2020-02-02 Thread Matthias Koeppe
Here's the link to the ticket for convenience. https://trac.sagemath.org/ticket/29141 On Sunday, February 2, 2020 at 9:15:59 AM UTC-5, Matthias Koeppe wrote: > > I have created #29141 (Meta-ticket: Upgrades and other changes that > require dropping py2 support or separate package versions for

Re: [sage-devel] Re: drop python2 compatibility in 9.1 ?

2020-02-02 Thread Matthias Koeppe
I have created #29141 (Meta-ticket: Upgrades and other changes that require dropping py2 support or separate package versions for py2/py3) to summarize this thread. On Wednesday, January 22, 2020 at 5:22:15 AM UTC-5, E. Madison Bray wrote: > > On Fri, Jan 10, 2020 at 1:03 AM Volker Braun >

[sage-devel] Re: [sage-support] Re: Unable to include bitset.pxi

2020-02-02 Thread Dima Pasechnik
On Sun, Feb 2, 2020 at 5:51 AM Chin-Hung Lin wrote: > > I am able to resolve the issue by modifying > > bits.limbs = (size - 1) / (8 * sizeof(mp_limb_t)) + 1 > > to integer division > > bits.limbs = (size - 1) // (8 * sizeof(mp_limb_t)) + 1 > > > However, I doubt that this is the correct way to