Geeks With Blogs

News

Charles Young

As promised in my last post (http://geekswithblogs.net/cyoung/archive/2009/02/24/129639.aspx), I had a look at the Express edition of Microsoft Solver Framework (http://code.msdn.microsoft.com/solverfoundation), 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 http://geekswithblogs.net/cyoung/archive/2009/02/25/129672.aspx

Posted on Wednesday, February 25, 2009 4:03 PM | Back to top


Comments on this post: Einstein Puzzle in Microsoft Solver Foundation

# re: Einstein Puzzle in Microsoft Solver Foundation
Requesting Gravatar...
Hey Charles, how are you?

If you're looking for a new, fun puzzle to take on then how about this, triggered by thoughts from an internal mailing list the other day?

"Interface your favourite IM client to BizTalk and simulate Eliza with the BTS Rules Engine" :-)

Apologies for any lost hours this may cause!

(Someone was asking how to interface an IM program with BizTalk, and Eliza simulation was the only possible reason that I could think that you'd want to do it!)
Left by Duncan M on Mar 02, 2009 6:22 PM

Your comment:
 (will show your gravatar)


Copyright © Charles Young | Powered by: GeeksWithBlogs.net