323. Set Covering

Set Covering Location Problem (LSCP): minimize the number of facilities needed to cover every customer at least once. “Cover” = customer is within an acceptable distance of some facility.

323.1. Formulation

Let — candidate facilities that can cover customer .

s.t.:

323.2. The general Set Cover problem

LSCP is a special case of Set Cover: given a collection of subsets covering a universe, find the minimum number to use.

Set Cover is one of Karp’s 21 NP-complete problems — a foundational hard problem in complexity theory.

323.3. Greedy approximation

The natural greedy algorithm:

At each step: pick the facility that covers the most uncovered customers
Stop when all customers are covered

Achieves an -approximation (where is the harmonic sum). And this is optimal — no polynomial algorithm achieves better than unless P = NP.

323.4. Linear programming relaxation

Drop to . Solve the LP:

323.5. Variants

323.6. Where it shows up

323.7. See also