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
All polemicists are mortal... - Originally posted on: http://geekswithblogs.net/cyoung/archive/2014/07/31/all-polemicists-are-mortal.aspx What is truly offensive about Richard Dawkins' ...
4 weeks ago