Learning objectives
After this class, you should be able to:
- Define the optimization version of vertex cover, and, in particular, cardinality vertex cover.
- Give a lower bound on the size of a vertex cover, based on matching.
- Describe the approximation algorithm for vertex cover based on matching, prove that its solution is feasible, and that it is factor 2.
- Show that the bound on the approximation factor given above is tight.
- Show that the size of a maximal matching may be as small as half the size of the vertex cover. (Consequently, it is unlikely that we can develop another algorithm based on maximal matching, which will have a smaller approximation factor.)
- Derive lower bounds and approximation algorithms for similar problems.
Reading assignment
- Chapter 1, up to (and including) section 1.1.
Exercises and review questions
- Questions on current lecture's material
- Prove the correctness of the sizes given in AA example 1.5 for (i) maximal matching and (ii) optimal vertex cover.
Example 1.5: The lower bound, of size of a maximal matching, is half the size of an optimal vertex cover for the following infinite family of instances. Consider the complete graphKn
, wheren
is odd. The size of any maximal matching is(n-1)/2
, whereas the size of an optimal cover isn-1
.- AA: Exercise 1.1: Give a factor
1/2
algorithms for the following. (Acyclic subgraph) Given a directed graphG = (V,E)
, pick a maximum cardinality set of edges fromE
so that the resulting subgraph is acyclic. [Hint: Arbitrarily number the vertices and pick the bigger of the two sets, the forward-going edges and the backward-going edges. What scheme are you using to upper boundOPT
?]- Give the time complexity for the maximal matching based approximation algorithm for vertex cover.
- Questions on next lecture's material
- None