Most viewed recipes tagged "solver"http://code.activestate.com/recipes/tags/solver/views/2013-01-20T13:40:53-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>
First Script.....Anagram Solver (Python)
2013-01-20T13:40:53-08:00Garenhttp://code.activestate.com/recipes/users/4184964/http://code.activestate.com/recipes/578432-first-scriptanagram-solver/
<p style="color: grey">
Python
recipe 578432
by <a href="/recipes/users/4184964/">Garen</a>
(<a href="/recipes/tags/anagram/">anagram</a>, <a href="/recipes/tags/solver/">solver</a>).
</p>
<p>I made this for a programming challenge over on a site called hackthissite. This is my first attempt at python, please if you do take a look at my code, please show me where i could improve my code so i can get better at this language. Thanks and hope it works for you like it is supposed to</p>