News for hackers. Stuff that matters.
Re:Constraint programming in Python by fgimenez on Friday March 06, 2009 @02:54PM (#505874)
More info:

The article is an introduction to Constraint Satisfaction Problems (CSP's). http://en.wikipedia.org/wiki/Constraint_satisfaction_problem

A very rudimentary demonstration of this: http://aispace.org/constraint/sample2.html

Norvig implemented a quick and dirty version of this for his sudoku solver: http://norvig.com/sudoku.html.

Note, while you eventually end up just telling a CSP what you want, there's a plethora of algorithms to solve these constraints.

There are no comments on this comment yet.