Charles Young

  Home  |   Contact  |   Syndication    |   Login
  186 Posts | 64 Stories | 471 Comments | 373 Trackbacks

News

MVP - Microsoft Most Valuable Professional

Twitter












Article Categories

Archives

Post Categories

Image Galleries

Alternative Feeds

BizTalk Bloggers

BizTalk Sites

CEP Bloggers

CMS Bloggers

Fun

Other Bloggers

Rules Bloggers

SharePoint Bloggers

Utilities

WF Bloggers

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

Feedback

# re: Einstein Puzzle in Microsoft Solver Foundation 3/2/2009 6:22 PM Duncan M
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!)

Post A Comment
Title:
Name:
Email:
Website:
Comment:
Verification: