Comment #12 on issue 2015 by smichr: Hangs attempting to solve a system of
linear equations
http://code.google.com/p/sympy/issues/detail?id=2015
I don't think this is polys related. Commit b999dd3b6f03c190fdba4
(1809, 1716: extraction changes) makes the modified system solve very
quickly. The system I used for testing was the numerators of the following:
eqs = [b + r/d - c/d,
c*A - f/g - r/d,
f*B - c/g - h/i,
h*C - f/i - k/m,
k*D - h/m - n/p,
n*E - k/p]
eqs = [eq.as_numer_denom()[0] for eq in eqs]
syms = set([b, c, f, h, k, n])
ans = solve(eqs, syms)
This takes about 5 seconds on my machine after that commit.
Using only the numerators of the original set of equations takes 72 seconds;
solving the original set of equations takes just under 80 seconds.
--
You received this message because you are subscribed to the Google Groups
"sympy-issues" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sympy-issues?hl=en.