<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://sudopedia.sudocue.net/index.php?action=history&amp;feed=atom&amp;title=Constraint_satisfaction_problem</id>
	<title>Constraint satisfaction problem - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://sudopedia.sudocue.net/index.php?action=history&amp;feed=atom&amp;title=Constraint_satisfaction_problem"/>
	<link rel="alternate" type="text/html" href="http://sudopedia.sudocue.net/index.php?title=Constraint_satisfaction_problem&amp;action=history"/>
	<updated>2026-04-18T21:51:21Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.36.2</generator>
	<entry>
		<id>http://sudopedia.sudocue.net/index.php?title=Constraint_satisfaction_problem&amp;diff=455&amp;oldid=prev</id>
		<title>127.0.0.1: Created page with &quot;&#039;&#039;&#039;Constraint Satisfaction Problems&#039;&#039;&#039; can be solved using &#039;&#039;Donald Knuth&#039;s&#039;&#039; Dancing Links algorithm.  Another way to program Sudoku as a constraint satisfaction problem...&quot;</title>
		<link rel="alternate" type="text/html" href="http://sudopedia.sudocue.net/index.php?title=Constraint_satisfaction_problem&amp;diff=455&amp;oldid=prev"/>
		<updated>2021-10-26T09:37:36Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;#039;&amp;#039;&amp;#039;Constraint Satisfaction Problems&amp;#039;&amp;#039;&amp;#039; can be solved using &amp;#039;&amp;#039;Donald Knuth&amp;#039;s&amp;#039;&amp;#039; &lt;a href=&quot;/index.php?title=Dancing_Links&quot; title=&quot;Dancing Links&quot;&gt;Dancing Links&lt;/a&gt; algorithm.  Another way to program Sudoku as a constraint satisfaction problem...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;#039;&amp;#039;&amp;#039;Constraint Satisfaction Problems&amp;#039;&amp;#039;&amp;#039; can be solved using &amp;#039;&amp;#039;Donald Knuth&amp;#039;s&amp;#039;&amp;#039; [[Dancing Links]] algorithm.&lt;br /&gt;
&lt;br /&gt;
Another way to program Sudoku as a constraint satisfaction problem is to treat it as a [[Binary Integer Linear Program]]. In that case define&lt;br /&gt;
&lt;br /&gt;
: x(i,j,k) = 0 if [[cell]] i, j in the [[grid]] is not equal to k &lt;br /&gt;
&lt;br /&gt;
: x(i,j,k) = 1 if [[cell]] i, j in the [[grid]] is equal to k &lt;br /&gt;
&lt;br /&gt;
The cell [[constraint]] then becomes&lt;br /&gt;
&lt;br /&gt;
: Sum over k of the x(i,j,k) = 1 for all i and j. &lt;br /&gt;
&lt;br /&gt;
The other three constraints can also be set up as linear sums.&lt;br /&gt;
== Reference ==&lt;br /&gt;
[http://en.wikipedia.org/wiki/Constraint_satisfaction_problem Constraint Satisfaction Problem] entry on Wikipedia&lt;/div&gt;</summary>
		<author><name>127.0.0.1</name></author>
	</entry>
</feed>