<?xml version="1.0" encoding='utf-8'?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>
<card id="card1" title="Hamiltonian path problem - Page 8 - Wikipedia">
<p>
<a accesskey="1" href="page.php?w=Hamiltonian_path_problem&amp;p=7">1.Previous</a><br />
<a accesskey="3" href="page.php?w=Hamiltonian_path_problem&amp;p=9">3.Next</a>
</p>
<p>can be eliminated, so the search gets continually smaller. The algorithm also divides the graph into components that can be solved separately, greatly reducing the search size. In practice, this algorithm is still the fastest.</p>

<p><big> Dynamic programming </big></p>
<p>Also, a <a href="page.php?w=dynamic_programming">dynamic programming</a> algorithm of <a href="page.php?w=Held-Karp_algorithm">Bellman, Held, and Karp</a> can be used to solve the problem in time O(n<sup>2</sup> 2<sup>n</sup>). In this method, one determines, for each set S of vertices</p><p>
<a accesskey="1" href="page.php?w=Hamiltonian_path_problem&amp;p=7">1.Previous</a><br />
<a accesskey="3" href="page.php?w=Hamiltonian_path_problem&amp;p=9">3.Next</a>
</p>

<do type="prev" label="Search">
        <go href="search.wml"/>
</do>

</card>
</wml>
