Wednesday, February 25, 2009

Einstein Puzzle in Microsoft Solver Foundation

As promised in my last post (, I had a look at the Express edition of Microsoft Solver Framework (, and used it to implement the Einstein puzzle using the built-in CSP solver and C#. Creating the solution proved particularly easy for the simple reason that Microsoft provides a worked example of a politically corrected ‘Zebra’ variant in their documentation (no tobacco or beer in sight). You will find this as Sample 8 in the SFS Programming Primer document that comes with the download.

To read more and see the code, visit

No comments: