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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Lecture 21 - vertex cover<br />

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

Lecture 21 - vertex cover<br />

Listen To Part 24-7<br />

36.5-2 - Given an integer matrix A, and in integer m-vector b, the 0-1 integer programming<br />

problem asks whether there is an integer n-vector x with elements in the set (0,1) such that .<br />

Prove that 0-1 integer programming is NP-hard (hint: reduce from 3-SAT).<br />

This is really the exact same problem as the previous integer programming problem, slightly concealed<br />

by:<br />

● <strong>The</strong> linear algebra notation - each row is one constraint.<br />

● All inequalities are - multiply both sides by -1 to reverse the constraint from to if necessary.<br />

Listen To Part 24-8<br />

Instance: A graph G=(V, E), and integer<br />

Vertex Cover<br />

Question: Is there a subset of at most k vertices such that every has at least one vertex in the subset?<br />

Here, four of the eight vertices are enough to cover. It is trivial to find a vertex cover of a graph - just<br />

take all the vertices. <strong>The</strong> tricky part is to cover with as small a set as possible.<br />

<strong>The</strong>orem: Vertex cover is NP-complete.<br />

file:///E|/LEC/LECTUR16/NODE21.HTM (1 of 7) [19/1/2003 1:35:28]

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

Saved successfully!

Ooh no, something went wrong!