Agenda for the lecture
- Finish the dual fitting analysis of the greedy algorithm for (weighted) set cover, plus a second, very simple dual-fitting example: unweighted vertex cover — related to a problem on the homework released that night (
0:00). - A limitation of the whole LP framework for approximation algorithms, introduced as the integrality gap of an LP relaxation (
0:31). - Polynomial time approximation schemes: not just a 2- or log n-approximation, but a
1 + epsilonapproximation for an epsilon fixed in advance. Sometimes impossible, but an example where it works is shown (0:46).
The (weighted) set cover problem
- Input:
msets, each a subset of the universe{1, ..., n}; setShas costc_S(1:14). - Goal: pick a sub-collection covering the entire universe while minimizing the sum of the costs of the chosen sets (
1:39).
The greedy algorithm
-
Unweighted case (all costs = 1): repeatedly take the set that covers the most new elements (
1:39). -
Weighted case: while an uncovered element remains, pick the set minimizing the price ratio
c_S / (number of new elements S covers)(2:00). -
Theorem: greedy is a
log napproximation — and the analysis will actually give something slightly stronger (2:00).
History
| Case | Attribution | Year |
|---|---|---|
| Unweighted greedy | Johnson | ~1974 (2:33) |
| Unweighted, independent (discrete math) | second, uncited author | 1975 (2:56) |
| Weighted greedy | author whose name the lecturer declined to pronounce | 1979 (2:56) |