Neeldhara
  • About
  • Research
    • Overview
    • People
    • Publications
    • Surveys
  • Teaching
    • Courses
    • Materials
  • Lists
    • Puzzles
    • Bookmarks
  • Exposition
    • Talks
    • Videos
  • Events
  • Blog

CS614. Advanced Algorithms. L05 Quiz.

CS614. Advanced Algorithms.

L05 Quiz

Back to the course page

Problem 1. Approximate Vertex Cover

Give an example of a graph where the 2-approximate solution (via maximal matchings) is worse than the optimal one. Even just slightly worse is enough :)

Problem 2. Approximate Independent Set

Since the complement of a vertex cover is an independent set, you might be tempted to think that the approximation discussed in class also approximates independent set. In particular, consider the following algorithm for independent set:

  1. Run the 2-approximation for vertex cover discussed in class, let the output be SSS.
  2. Let I:=V(G)∖SI := V(G) \setminus SI:=V(G)∖S.
  3. If I=∅I = \emptysetI=∅, then let v∈V(G)v \in V(G)v∈V(G) be an arbitrary vertex; set I:={v}I := \{v\}I:={v}.

Let:

  • ppp denote the size of a largest independent set in GGG
  • qqq denote the size of the set obtained by taking the complement of the output of the 2-approximation discussed in class.
  • rrr denote max⁡(q,1)\max(q,1)max(q,1)

Note that rrr is the size of the independent set output by the algorithm above.

Come up with a graph where ppp can be a factor of cncncn larger than rrr for some constant ccc.

Problem 3. Vertex Cover Matroid

Do the set of vertex covers in a graph GGG form a matroid over the universe V(G)V(G)V(G)? If not, select the axiom that fails:

  • Exchange Axiom
  • Hereditary Axiom
  • Vertex covers do form a matroid

© 2022 • Neeldhara Misra • Credits •

 

Corrections? Please leave a comment here or a PR in this repository, thanks!

I’d rather be a failure at something I love than a success at something I hate.

George Burns

You live and you learn — at any rate, you live.

Douglas Adams

A problem worthy of attack proves its worth by fighting back.

Paul Erdos

×