Comment #2 on issue 1881 by mattpap: solve -> OverflowError: mpz too large for int
http://code.google.com/p/sympy/issues/detail?id=1881

This is all interesting, as I can't reproduce the OverflowError.

On my 1.7 GHz Centrino laptop factorization of numerator of 'f' takes less than 3s with gmpy ground types (SYMPY_GROUND_TYPES=gmpy bin/isympy) and more than a minute with python ground types(SYMPY_GROUND_TYPES=python bin/isympy). In polys8 branch the
default is now gmpy.

I will need cooperation from to see why it fails on your computer. Could you add a print statement on line 1143 in sympy/polys/factortools.py (or just before 'if K0.is_Algebraic:'), so that I could see what polynomial went into dmp_factor_list() (it should be just the numerator of 'f'). With gmpy ground types you should get
something like this:

[[[[[mpq(-21601054687500000000L)], [], [], [], [], [], [], [], []]], [[[]]], [[[]]],
[[[]]], [[[]]], [[[]]], [[[]]], [[[]]], [[[]]]], [[[[]]]] and so on ...

Also I need to know what are the default ground types used in your session. To check
this issue ZZ.dtype and QQ.dtype in isympy.

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--
You received this message because you are subscribed to the Google Groups 
"sympy-issues" group.
To post to this group, send email to sympy-iss...@googlegroups.com.
To unsubscribe from this group, send email to 
sympy-issues+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sympy-issues?hl=en.

Reply via email to