News for hackers. Stuff that matters.
Re:Constraint programming in Python by scott_s on Friday March 06, 2009 @04:01PM (#505941)
I think the example cheats a lot by assuming the solutions have to be positive integers. Is there a mechanism to tell the system "a and b are integers", and if so, could the system still solve the simultaneous equation?
Re:Constraint programming in Python by Hexstream on Friday March 06, 2009 @04:33PM (#505981)
About solving systems of simultaneous equations, I don't know if this particular solver can do it but many solvers can by using Gaussian Elimination from linear algebra.

http://en.wikipedia.org/wiki/Gaussian_elimination