<?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="Heuristic (computer science) - Page 6 - Wikipedia">
<p>
<a accesskey="1" href="page.php?w=Heuristic_(computer_science)&amp;p=5">1.Previous</a><br />
<a accesskey="3" href="page.php?w=Heuristic_%28computer_science%29&amp;p=7">3.Next</a>
</p>
<p>to the origin city?"so as to select the order to draw using a <a href="page.php?w=pen_plotter">pen plotter</a>. TSP is known to be <a href="page.php?w=NP-hardness">NP-hard</a> so an optimal solution for even a moderate size problem is difficult to solve. Instead, the <a href="page.php?w=greedy_algorithm">greedy algorithm</a> can be used to give a good but not optimal solution (it is an approximation to the optimal answer) in a reasonably short amount of time. The greedy algorithm heuristic says to pick whatever is currently the best next step</p><p>
<a accesskey="1" href="page.php?w=Heuristic_(computer_science)&amp;p=5">1.Previous</a><br />
<a accesskey="3" href="page.php?w=Heuristic_%28computer_science%29&amp;p=7">3.Next</a>
</p>

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

</card>
</wml>
