18.04.2013 Views

The.Algorithm.Design.Manual.Springer-Verlag.1998

The.Algorithm.Design.Manual.Springer-Verlag.1998

The.Algorithm.Design.Manual.Springer-Verlag.1998

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Lecture 23 - approximation algorithms and Cook's theorem<br />

Next: Index Up: No Title Previous: Lecture 22 - techniques<br />

Lecture 23 - approximation algorithms<br />

and Cook's theorem<br />

Listen To Part 26-1<br />

36.5-5 Prove that Hamiltonian Path is NP-complete.<br />

This is not a special case of Hamiltonian cycle! (G may have a HP but not cycle)<br />

<strong>The</strong> easiest argument says that G contains a HP but no HC iff (x,y) in G such that adding edge (x, y) to G<br />

causes to have a HC, so calls to a HC function solves HP.<br />

<strong>The</strong> cleanest proof modifies the VC and HC reduction from the book:<br />

Listen To Part 27-3<br />

Approximating Vertex Cover<br />

As we have seen, finding the minimum vertex cover is NP-complete. However, a very simple strategy<br />

(heuristic) can get us a cover at most twice that of the optimal.<br />

While the graph has edges<br />

pick an arbitrary edge v, u<br />

file:///E|/LEC/LECTUR16/NODE23.HTM (1 of 11) [19/1/2003 1:35:35]

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!