<div dir="ltr"><div class="gmail_signature"><div dir="ltr"><span style="font-size:12.8000001907349px">Hello,</span><br style="font-size:12.8000001907349px"><br style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px">I tried to solve simple constraint satisfaction problem. This is my code " </span><a href="http://pastebin.com/VAaRYSEA" target="_blank" style="font-size:12.8000001907349px">http://pastebin.com/VAaRYSEA</a><span style="font-size:12.8000001907349px"> " . This gives solution for present list of domains, but when I change the domain of 'd' in the list 'ld' then I get error. I think the error is in line 52. I indexed the first value, but I tried filtering the results where all the variables are assigned and I get error.</span><br style="font-size:12.8000001907349px"><br style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px">Thanks for any help</span><br style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px">Sai</span><br></div></div>
</div>