Popular recipes tagged "solver" but not "anagram"http://code.activestate.com/recipes/tags/solver-anagram/2012-01-24T14:20:01-08:00ActiveState Code RecipesSolve simultaneous linear equations in two variables (Python)
2012-01-24T14:20:01-08:00Anand B Pillaihttp://code.activestate.com/recipes/users/4169530/http://code.activestate.com/recipes/578024-solve-simultaneous-linear-equations-in-two-variabl/
<p style="color: grey">
Python
recipe 578024
by <a href="/recipes/users/4169530/">Anand B Pillai</a>
(<a href="/recipes/tags/math/">math</a>, <a href="/recipes/tags/shortcuts/">shortcuts</a>, <a href="/recipes/tags/solver/">solver</a>).
</p>
<p>A function to solve simultaneous equations in two variables. </p>
<pre class="prettyprint"><code>>>> solve('3*x + 5*y = 29; 12*x - 3*y = 24')
(3.0, 4.0)
</code></pre>
Hanoi Towers solver wxPython (Python)
2010-12-21T21:11:33-08:00A. Polinohttp://code.activestate.com/recipes/users/4176317/http://code.activestate.com/recipes/577511-hanoi-towers-solver-wxpython/
<p style="color: grey">
Python
recipe 577511
by <a href="/recipes/users/4176317/">A. Polino</a>
(<a href="/recipes/tags/hanoi/">hanoi</a>, <a href="/recipes/tags/problem/">problem</a>, <a href="/recipes/tags/python/">python</a>, <a href="/recipes/tags/solver/">solver</a>, <a href="/recipes/tags/wx/">wx</a>).
Revision 3.
</p>
<p>It's a simple solver of the problem of Hanoi Tower with a minimal GUI written in wxPython. It can handle just 10 plates, due to windows size..however it's very simple to modify this and the 'pure' solver is not affected by this limitation</p>