Comment #3 on issue 2750 by [email protected]: solve could do a better job
with over determined systems
http://code.google.com/p/sympy/issues/detail?id=2750
I don't think it would be too hard to, when given less symbols than eqs, to
find some additional variable that would allow the system to be solved:
>>> must=I1, I4, Q2, Q4, dI1, dI4, dQ2, dQ4
>>> other=set(syms) - set(must)
>>> other
set([I5, I6, I2, I3])
>>> for s in other:
... ans = solve(eqs,I1, I4, Q2, Q4, dI1, dI4, dQ2, dQ4, s)
... if ans:
... print 'solved required plus',s
...
solved required plus I6
solved required plus I3
So it's possible. I'll see if I can get this added on.
--
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.