Greedy Set Cover and Harmonic Charging

Analyze the weighted greedy choice by charging its cost to newly covered elements and summing over an optimal cover.

Source
Anbloq
Language
English
Created
Updated
Chapters
2
Reading time
1 min
In this article2 chapters
  1. Pick the cheapest gain at the current state
  2. An optimal set bounds the charges of its elements

Pick the cheapest gain at the current state

Each set has nonnegative cost. At each step, select a set minimizing its cost divided by its number of uncovered elements, excluding sets with no gain. Charge that ratio to every element it newly covers. The total charges equal the algorithm’s total cost. A set that was excellent at the start can become expensive per new element after another choice covers most of it.

An optimal set bounds the charges of its elements

Fix one optimal set \(S\) with cost \(c\). When \(r\) of its elements remain uncovered, it offers cost \(c/r\) per new element, so the greedy charge is at most that amount. Ordering the covered elements of \(S\) gives total charge at most \(cH_{|S|}\), where \(H_k=\sum_{i=1}^k1/i\). Summing over an optimal cover bounds all charges, with overlaps allowed. Approximation ratios quantify the result, while randomized rounding obtains logarithmic-style bounds from a different relaxation argument.[1][2]

References

  1. MIT OpenCourseWare, Design and Analysis of Algorithms: Lecture Notes ↩
  2. Michael Mitzenmacher and Eli Upfal, Probability and Computing ↩