Maximum coverage problem explained

The maximum coverage problem is a classical question in computer science, computational complexity theory, and operations research.It is a problem that is widely taught in approximation algorithms.

As input you are given several sets and a number

k

. The sets may have some elements in common. You must select at most

k

of these sets such that the maximum number of elements are covered, i.e. the union of the selected sets has maximal size.

Formally, (unweighted) Maximum Coverage

Instance: A number

k

and a collection of sets

S=\{S1,S2,\ldots,Sm\}

.

Objective: Find a subset

S'\subseteqS

of sets, such that

\left|S'\right|\leqk

and the number of covered elements

\left|

cup
Si\inS'

{Si}\right|

is maximized.The maximum coverage problem is NP-hard, and can be approximated within

1-

1
e

+o(1)0.632

under standard assumptions. This result essentially matches the approximation ratio achieved by the generic greedy algorithm used for maximization of submodular functions with a cardinality constraint.[1]

ILP formulation

The maximum coverage problem can be formulated as the following integer linear program.

maximize
\sum
ej\inE

yj

(maximizing the sum of covered elements)
subject to

\sum{xi}\leqk

(no more than

k

sets are selected)
\sum
ej\inSi

xi\geqyj

(if

yj>0

then at least one set

ej\inSi

is selected)

yj\in\{0,1\}

(if

yj=1

then

ej

is covered)

xi\in\{0,1\}

(if

xi=1

then

Si

is selected for the cover)

Greedy algorithm

The greedy algorithm for maximum coverage chooses sets according to one rule: at each stage, choose a set which contains the largest number of uncovered elements. It can be shown that this algorithm achieves an approximation ratio of

1-

1
e
.[2] ln-approximability results show that the greedy algorithm is essentially the best-possible polynomial time approximation algorithm for maximum coverage unless

P=NP

.[3]

Known extensions

The inapproximability results apply to all extensions of the maximum coverage problem since they hold the maximum coverage problem as a special case.

The Maximum Coverage Problem can be applied to road traffic situations; one such example is selecting which bus routes in a public transportation network should be installed with pothole detectors to maximise coverage, when only a limited number of sensors is available. This problem is a known extension of the Maximum Coverage Problem and was first explored in literature by Junade Ali and Vladimir Dyo.[4]

Weighted version

In the weighted version every element

ej

has a weight

w(ej)

. The task is to find a maximum coverage which has maximum weight. The basic version is a special case when all weights are

1

.

maximize

\sumew(ej)yj

. (maximizing the weighted sum of covered elements).

subject to

\sum{xi}\leqk

; (no more than

k

sets are selected).
\sum
ej\inSi

xi\geqyj

(if

yj>0

then at least one set

ej\inSi

is selected).

yj\in\{0,1\}

(if

yj=1

then

ej

is covered)

xi\in\{0,1\}

(if

xi=1

then

Si

is selected for the cover).

The greedy algorithm for the weighted maximum coverage at each stage chooses a set that contains the maximum weight of uncovered elements. This algorithm achieves an approximation ratio of

1-

1
e
.[1]

Budgeted maximum coverage

In the budgeted maximum coverage version, not only does every element

ej

have a weight

w(ej)

, but also every set

Si

has a cost

c(Si)

. Instead of

k

that limits the number of sets in the cover a budget

B

is given. This budget

B

limits the total cost of the cover that can be chosen.

maximize

\sumew(ej)yj

. (maximizing the weighted sum of covered elements).

subject to

\sum{c(Si)xi}\leqB

; (the cost of the selected sets cannot exceed

B

).
\sum
ej\inSi

xi\geqyj

(if

yj>0

then at least one set

ej\inSi

is selected).

yj\in\{0,1\}

(if

yj=1

then

ej

is covered)

xi\in\{0,1\}

(if

xi=1

then

Si

is selected for the cover).

A greedy algorithm will no longer produce solutions with a performance guarantee. Namely, the worst case behavior of this algorithm might be very far from the optimal solution. The approximation algorithm is extended by the following way. First, define a modified greedy algorithm, that selects the set

Si

that has the best ratio of weighted uncovered elements to cost. Second, among covers of cardinality

1,2,...,k-1

, find the best cover that does not violate the budget. Call this cover

H1

. Third, find all covers of cardinality

k

that do not violate the budget. Using these covers of cardinality

k

as starting points, apply the modified greedy algorithm, maintaining the best cover found so far. Call this cover

H2

. At the end of the process, the approximate best cover will be either

H1

or

H2

. This algorithm achieves an approximation ratio of

1-{1\overe}

for values of

k\geq3

. This is the best possible approximation ratio unless

NP\subseteqDTIME(nO(loglog)

.[5]

Generalized maximum coverage

In the generalized maximum coverage version every set

Si

has a cost

c(Si)

, element

ej

has a different weight and cost depending on which set covers it.Namely, if

ej

is covered by set

Si

the weight of

ej

is

wi(ej)

and its cost is

ci(ej)

. A budget

B

is given for the total cost of the solution.

maximize

\sum
e\inE,Si

wi(ej)yij

. (maximizing the weighted sum of covered elements in the sets in which they are covered).

subject to

\sum{ci(ej)yij

} + \sum \leq B ; (the cost of the selected sets cannot exceed

B

).

\sumiyij\leq1

(element

ej=1

can only be covered by at most one set).
\sum
Si

xi\geqyij

(if

yj>0

then at least one set

ej\inSi

is selected).

yij\in\{0,1\}

(if

yij=1

then

ej

is covered by set

Si

)

xi\in\{0,1\}

(if

xi=1

then

Si

is selected for the cover).

Generalized maximum coverage algorithm

The algorithm uses the concept of residual cost/weight. The residual cost/weight is measured against a tentative solution and it is the difference of the cost/weight from the cost/weight gained by a tentative solution.

The algorithm has several stages. First, find a solution using greedy algorithm. In each iteration of the greedy algorithm the tentative solution is added the set which contains the maximum residual weight of elements divided by the residual cost of these elements along with the residual cost of the set. Second, compare the solution gained by the first step to the best solution which uses a small number of sets. Third, return the best out of all examined solutions. This algorithm achieves an approximation ratio of

1-1/e-o(1)

.[6]

Related problems

References

Notes and References

  1. [George Nemhauser|G. L. Nemhauser]
  2. Book: Hochbaum, Dorit S. . Dorit S. Hochbaum . Dorit S. . Hochbaum . 1997 . Approximating Covering and Packing Problems: Set Cover, Vertex Cover, Independent Set, and Related Problems . Approximation Algorithms for NP-Hard Problems . PWS Publishing Company . Boston . 978-053494968-6 . 94–143.
  3. Feige . Uriel . Uriel Feige . A Threshold of ln n for Approximating Set Cover . Journal of the ACM . 45 . 4 . July 1998 . 0004-5411 . 634–652 . 10.1145/285055.285059 . Association for Computing Machinery . New York, NY, USA. 52827488 . free .
  4. Book: Ali. Junade. Dyo. Vladimir. Proceedings of the 14th International Joint Conference on e-Business and Telecommunications . Coverage and Mobile Sensor Placement for Vehicles on Predetermined Routes: A Greedy Heuristic Approach . 2017. 2: WINSYS. 83–88. 10.5220/0006469800830088. 978-989-758-261-5.
  5. 10.1016/S0020-0190(99)00031-9. The budgeted maximum coverage problem. Information Processing Letters. 70. 39–45. 1999. Khuller. Samir. Moss. Anna. Naor. Joseph (Seffi). 10.1.1.49.5784.
  6. 10.1016/j.ipl.2008.03.017. The Generalized Maximum Coverage Problem. Information Processing Letters. 108. 15–22. 2008. Cohen. Reuven. Katzir. Liran. 10.1.1.156.2073.