1 Introduction

Set Cover is a well-studied problem in combinatorial optimization and is a canonical covering problem. The input is a set system \((\mathcal {U},\mathcal {S})\) consisting of a finite set \(\mathcal {U}\) and a collection \(\mathcal {S}= \{S_1,S_2,\ldots ,S_m\}\) of subsets of \(\mathcal {U}\). The goal is to find a minimum cardinality subcollection \(\mathcal {S}' \subseteq \mathcal {S}\) such that \(\cup _{A \in \mathcal {S}'} A = \mathcal {U}\). In the weighted version each \(S_i\) has a weight \(w_i \ge 0\) and the goal is to find a minimum weight subcollection of sets whose union is \(\mathcal {U}\). Set Cover is NP-Hard and approximation algorithms have been extensively studied. A very simple greedy algorithm yields a \((1 + \ln d)\)-approximation where \(d = \max _i |S_i|\) even in the weighted case (Dobson 1982). Moreover this bound is essentially tight unless \(\mathsf {P = NP}\) (Dinur and Steurer 2014).

Various special cases and generalizations of Set Cover have been studied over the years for their applications and theoretical interest. We describe three generalizations that are of interest to us.

  • Partial Set Cover (Partial-SC): In Partial-SC the input is a set system \((\mathcal {U},\mathcal {S})\) and an integer parameter k and the goal is to find a minimum (weight) subcollection of the given sets whose union is of size at least k. Set Cover is a special case when \(k = |\mathcal {U}|\).

  • Covering Integer Program (CIP): A CIP is an integer program of the form \(\min \{ wx \mid Ax \ge b, x \le d, x \in \mathbb {Z}^n_+\}\) where A is a non-negative \(m \times n\) matrix and \(b \ge 0\). Set Cover is a special case of CIP when A is a \(\{0,1\}\) matrix and b and d are the all ones vectors—each constraint row of A corresponds to covering an element of \(\mathcal {U}\).

  • Submodular Set Cover (Submod-SC): In Submod-SC we are given a finite ground set N, a non-negative weight function \(w: N \rightarrow \mathbb {R}_+\), and a polymatroid \(f:2^N \rightarrow \mathbb {Z}_+\) via a value oracleFootnote 1. The goal is to find a minimum weight subset \(S \subseteq N\) such that \(f(S) = f(N)\). Set Cover is a special case where N represents the sets in the set system and f captures the coverage function which is submodular.

Submodularity is a powerful abstraction and Submod-SC can be seen to generalize Partial-SC and CIPs. The greedy algorithm for Set Cover admits a natural generalization to Submod-SC— Wolsey (1982) showed that it yields a \((1 + \ln d)\)-approximation where \(d = \max _{i \in N} f(i)\). The abstraction of submodularity comes at a cost, however. For instance CIPs admit an \(O(\ln m)\)-approximation via an LP relaxation strengthened with knapsack cover (KC) inequalities (Carr et al. 2000; Kolliopoulos and Young 2005; Chen et al. 2016; Chekuri and Quanrud 2019) while using the greedy algorithm yields only an \(O(\ln d)\) approximation where d depends on the maximum sum of the entries in a column of A, and in fact can be as large as m (Dobson 1982). CIPs provide the explicit ability to model multiple covering constraints and this is often useful in applications. In this paper we consider an abstraction that generalizes Submod-SC by explicitly allowing multiple submodular covering constraints.

Multiple Submodular Covering Constraints: The input consists of a ground set N and a weight function \(w: N \rightarrow \mathbb {R}_+\). The input consists of r polymatroids \(f_1,f_2,\ldots ,f_r\) over N and integers \(k_1,k_2,\ldots ,k_r\). The goal is to find \(S \subseteq N\) of minimum weight such that \(f_i(S) \ge k_i\) for \(1 \le i \le r\). We refer to this as Multi-Submod-Cover.

Har-Peled and Jones (2018), motivated by an application from computational geometry, appear to be the first ones to consider Multi-Submod-Cover explicitly. As noted in Har-Peled and Jones (2018), it is not hard to reduce Multi-Submod-Cover to Submod-SC. We simply define a new submodular set function \(g: 2^N \rightarrow \mathbb {R}_+\) where \(g(A) = \sum _{i=1}^r \min \{k_i, f_i(A)\}\). Via Wolsey’s result for Submod-SC this implies an \(O(\log r + \log K)\) approximation via the greedy algorithm where \(K = \sum _{j=1}^r k_j\). Although Multi-Submod-Cover can be reduced to Submod-SC it is useful to treat it separately when the functions \(f_i\) are known to belong to a special class of submodular functions. For instance CIP can be seen as a special case of Multi-Submod-Cover where each \(f_i\) is a truncated/partial linear function. Another example, which is the main motivation for this work, comes from Bera et al. (2014), Inamdar and Varadarajan (2018) who considered the case when each \(f_i\) is a truncated/partial coverage function (partial vertex cover in Bera et al. (2014) and partial set cover in Inamdar and Varadarajan (2018)). These special cases have several applications that we outline below.

We mention that prior work has considered multiple submodular objectives from a maximization perspective (Chekuri et al. 2010, 2015) rather than from a minimum cost perspective. There are useful connections between these two perspectives. Consider Submod-SC. We could recast the exact version of this problem as \(\max f(S)\) subject to the constraint \(w(S) \le \textsc {OPT}\) where \(\textsc {OPT}\) is the optimum cost of the given instance of Submod-SC. This is submodular function maximization subject to a knapsack constraint and admits a \((1-1/e)\)-approximation (Sviridenko 2004). Using this algorithm iterarively will also yield an approximation algorithm for Submod-SC.

We describe several applications that motive this and some previous work and then state our results formally.

1.1 Motivating applications

Splitting point sets:Har-Peled and Jones (2018), as we remarked, were motivated to study Multi-Submod-Cover due to a geometric application that has connections to the classical Ham-Sandwich theorem as well as problems in feature selection in machine learning. Their problem is the following. Given m point sets \(P_1,\ldots ,P_m\) in \(\mathbb {R}^d\) they wish to find the smallest number of hyperplanes (or other geometric shapes) such that no point set \(P_i\) has more than a constant factor of its points in any cell of the arrangement induced by the chosen hyperplanes; in particular when the constant is a half, the problem is related to the Ham-Sandwich theorem which implies that when \(m \le d\) just one hyperplane suffices! From this one can infer that \(\lceil {m/d} \rceil \) hyperplanes always suffice. However for a given instance it may be possible to do much better. In Har-Peled and Jones (2018) the authors considered the problem of approximating the smallest number of hyperplanes required for the desired partitioning and reduced this problem to Multi-Submod-Cover. Via Wolsey’s greedy algorithm they obtain an \(O(\log m + \log N)\) approximation where N is the total number of points. In applications N is likely to be large while m is likely to be quite small and hence an approximation that does not depend on N is desirable. It is not obvious how to model this problem as a special case of Multi-Submod-Cover—Har-Peled and Jones (2018) describes one such reduction and we describe a slightly different one later in the paper.

Multiple Partial Set Cover Constraints in Geometric Settings: There has been extensive work on Set Cover specialized to geometric settings via sophisticated techniques (Brönnimann and Goodrich 1995; Clarkson and Varadarajan 2007; Varadarajan 2009, 2010; Chan et al. 2012; Mustafa et al. 2014). Consider for example the problem of covering a given collection of points in the plane by a minimum weight subcollection of a given collection of weighted disks. This admits a constant factor approximation via the natural LP relaxation (Chan et al. 2012) in contrast to the logarithmic integrality gap and hardness known for general Set Cover instances. A natural question is whether this improved result also holds for Partial-SC version; here we are only required to cover k of the given points rather than all of them. Inamdar and Varadarajan (2018) developed a simple and elegant black box technique for this purpose via a standard LP relaxation. They show that if there is a \(\beta \)-approximation for a deletion-closed class of Set Cover instancesFootnote 2 via the standard LP, then there is \(2(\beta + 1)\) approximation for Partial-SC for the same family. A natural extension of Partial-SC is to have multiple constraints. Consider the setting where the points are colored by r colors (equivalently they are partitioned into r sets) and the goal is to find the minimum weight subset of a given collection of disks such that at least \(k_i\) points from color class i are covered; one can also consider the setting where the color classes are not disjoint. Bera et al. (2014) considered multiple partial covering constraints in the restricted setting of Vertex Cover and obtained an \(O(\log r)\)-approximation. This was generalized in Hong and Kao (2018) to instances of Set Cover with maximum frequency \(\varDelta \) to obtain a \((\varDelta H_r + H_r)\)-approximation via a primal-dual algorithm. A natural open question here was whether one can obtain an \(O(\varDelta + \log r)\)-approximation and whether one can generalize further and obtain an \(O(\beta + \log r)\)-approximation for all deletion-closed families of Set Cover that admit a \(\beta \)-approximation. We refer to this problem as Multi-Partial-SC. Note Multi-Partial-SC is a special case of Multi-Submod-Cover where each \(f_i\) is a truncated coverage function (equivalently a partial set cover function).

Now we discuss two geometric variants of Set Cover that induce deletion-closed set systems, and for which \(\beta \) is known to be sub-logarithmic in some special settings. In HittingSet, we are given a collection of geometric objects \(\mathcal {U}\) and a collection of points \(\mathcal {P}\). If a point \(p \in \mathcal {P}\) is contained in an object \(U \in \mathcal {U}\), then U is said to be hit by p. In the weighted version, each point has a non-negative weight. The goal is to find a minimum-weight set of points that hits all objects from \(\mathcal {U}\). In the Geometric DominatingSet, we are given an intersection graph \(G = (V, E)\) of geometric objects such as disks, with non-negative weights on vertices. A vertex v is said to dominate itself and its neighbors. The goal is to find a minimum-weight subset of vertices \(V'\) that dominates at all vertices from V. In the partial version of DominatingSet (resp. HittingSet), the goal is to dominate at least k vertices (resp. hit at least k objects). We summarize known results for Geometric Set Cover, HittingSet and Geometric DominatingSet in Table 1.

Facility Location with Multiple Outliers: Facility location is an extensively studied problem and there are several variants. In the basic Uncapacitated Facility Location problem (which we abbreviate to Facility Location) the input consists of a set of facilities F and a set of clients C in a metric space \((F \cup C, d)\). Each facility \(i \in F\) has a non-negative opening cost \(f_i\). The goal is to open a set of facilities and connect the clients to them to minimize the sum of the opening costs of the facilities plus the sum of the distances of each client to the nearest open facility—mathematically we want to find \(S \subseteq F\) to minimize \(\sum _{i \in S} f_i + \sum _{j \in C} d(j, S)\). In many scenarios there are outliers and instead of asking for all the clients to be connected we only seek to connect some specified number k of clients—this has been studied under the name the Robust Facility Location problem by Charikar et al. (2001) who obtained a constant factor approximation. We consider here the setting of multiple outlier classes. We have r disjoint classes of clients \(C_1,C_2,\ldots ,C_r\) and we need to connect to the open facilities some specified number \(b_i\) of clients from \(C_i\) for \(1 \le i \le r\). An O(r)-approximation is easy by considering each client class separately but the natural question is whether we can find an \(O(\log r)\)-approximation; via a reduction from Set Cover one can show an \(\varOmega (\log r)\) lower bound on the approximability of this problem. We refer to Facility Location with Multiple Outliers as FL-Multi-Outliers. We note that FL-Multi-Outliers is not a special case of Multi-Submod-Cover since the objective function has both facility opening cost as well as client connection cost. Nevertheless, the problem is sufficiently close to Multi-Submod-Cover that the techniques we develop are applicable to this problem as well.

We also consider a related problem of clustering to minimize the sum of radii. This problem was considered by Charikar and Panigrahy (2004) who gave a constant approximation using a primal-dual algorithm. A constant approximation for the outlier version was given by Ahmadian and Swamy (2016). We consider a further generalization of covering r classes of clients, while minimizing the sum of radii. We call this problem MCC-Multi-Outliers. We formally define MCC-Multi-Outliers in Sect. 5, and give a tight \(O(\log r)\)-approximation using similar techniques.

1.2 Results and contributions

In this paper we examine approximation algorithms for Multi-Submod-Cover and Multi-Partial-SC and the motivating applications. Instead of relying on the greedy algorithm we use mathematical programming based approaches and tools from continuous extensions of submodular extensions that allow us to handle the special cases of interest that arise from the applications. In addition to the technical results we showcase the utility of the models in capturing interesting applications. Our algorithmic results are summarized below.

  • For Multi-Submod-Cover we obtain a bicriteria approximation. We obtain a random solution S such that \(f_i(S) \ge (1-1/e-\varepsilon ) k_i\) for \(1 \le i \le r\) and the expected weight of S is \(O(\frac{1}{\varepsilon }\log r) \textsc {OPT}\)Footnote 3. We obtain the same bound even in a more general setting where the system of constraints is r-sparse. We apply this result to the splitting points application and obtain an \(O(\log m)\) bicriteria approximation that suffices in many scenarios. This improves the \(O(\log m + \log N)\) approximation obtained in Har-Peled and Jones (2018).

  • We consider a simultaneous generalization of Multi-Partial-SC and CIPs for deletion-closed set systems that admit a \(\beta \)-approximation for Set Cover via the natural LP. We obtain a randomized \(O(\beta + \log r)\) approximation where r is the sparsity of the system. This generalizes and improves bounds for multiple covering versions of Vertex-Cover from Bera et al. (2014), Hong and Kao (2018). In particular, we obtain \(O(\varDelta + \log r)\)-approximation for Multi-Partial-SC in the set systems with maximum frequency \(\varDelta \), improving on \(H_r(\varDelta +1)\)-approximation by Hong and Kao (2018). Furthermore, we obtain \(O(\beta +\log r)\)-approximations for several geometric Multi-Partial-SC problems, where \(\beta \) is known to be sublogarithmic or constant (cf. Table 1).

  • We obtain \(O(\log r)\) approximations for FL-Multi-Outliers and MCC-Multi-Outliers generalizing the previous bounds for one class of outliers to multiple classes of outliers. As noted before, these bounds are tight up to constant factors via simple reductions from Set Cover.

  • For deletion-closed set systems that have a \(\beta \)-approximation (cf. Table 1) to Set Cover via the natural LP we obtain an \(\frac{e}{e-1}(\beta + 1)\)-approximation for Partial-SC. This slightly improves the bound of \(2(\beta +1)\) in Inamdar and Varadarajan (2018) while also simplifying the algorithm and analysis.

A brief discussion of technical ideas: Multi-Submod-Cover admits a reduction to Submod-SC for which the greedy algorithm is a known approach. To obtain our bicriteria approximation we take a different approach based on the multilinear relaxation or submodular functions which plays a fundamental role in submodular function maximization algorithms.

Table 1 LP-based bounds for Set Cover and related geometric covering problems. The references showing the respective bounds are also shown next to the approximation guarantees

For addressing Multi-Partial-SC and its generalization we follow the high-level approach used already in the special setting of Vertex-Cover by Bera et al. (2014)—they used an LP relaxation strengthened with knapsack cover inequalities. We bring two technical ingredients to bear on this problem. First we extend a probabilistic inequality used in Bera et al. (2014) to the general set cover setting and this is not obvious. We provide a proof that relies on continuous extensions of submodular functions and certain concentration properties, which, we believe, provides a clean and transparent explanation. Second, we use randomized rounding plus alteration to extend the results to the sparse setting—this is inspired by recent work on CIPs Chekuri and Quanrud (2019).

Finally, for Partial-SC we simplify the algorithm and analysis from Inamdar and Varadarajan (2018) via connections to submodular function maximization and continuous extensions.

We believe that the problems, applications and technical tools that we demonstrate in this paper are likely to be useful for other problems in the future.

1.3 Other related work

Partial-SC has been well-studied in the past for special cases such as the Partial Vertex Cover (PartialVC) where the goal is to find a minimum weight subset of nodes in a graph to cover at least k edges. There are several 2-approximations known for PartialVC (Bar-Yehuda 2001; Bshouty and Burroughs 1998; Gandhi et al. 2004). More generally, for set systems with maximum frequency \(\varDelta \), similar techniques give \(O(\varDelta )\)-approximations (Gandhi et al. 2004; Bera et al. 2014; Könemann et al. 2011). Surprisingly, the black box reduction of Inamdar and Varadarajan (2018) from Partial-SC to Set Cover via the LP relaxation, that we mentioned earlier, is fairly recent. In some restricted geometric settings, PTASes—polynomial time \((1+\epsilon )\)-approximations for any constant \(\epsilon >0\)—are known via the shifting technique and local search (Chan and Hu 2015; Gandhi et al. 2004; Inamdar 2019). CIPs have been studied extensively for several years starting with the work of Dobson (1982). The introduction of KC inequalities Carr et al. (2000) led to the first \(O(\log m)\)-approximation by Kolliopoulos and Young (2005). Recent work (Chen et al. 2016; Chekuri and Quanrud 2019) has obtained sharp bounds that depend on the \(\ell _0\) and \(\ell _1\) sparsity of the constraint matrix. Constrained submodular set function optimization (maximization and minimization) has been a topic of much interest in recent years and it is difficult to provide a concise summary. Continuous extensions of submodular functions and mathematical programming approachs have played an important role. We refer the reader to Buchbinder and Feldman (2017) for a survey on submodular function maximization which provides several pointers. The literature on clustering and facility location problems is vast. We are motivated by work on approximation algorithms for handling outliers and generalizing it to handle multiple groups of client. Many papers on clustering are in the model where the number of clusters k is specified and different objectives lead to well-studied problems such as k-median, k-means and k-center. Recent work on fair clustering (see Bera et al. 2019 and pointers) has also considered multiple groups of clients. The specific problems we consider and techniques we use are different. We leave it to future work to better understand the relationship between clustering with fairness constraints and clustering with outliers.

Organization: In Sect. 2, we introduce necessary background on other related problems and submodular functions. In Sect. 3, we give a bicriteria approximation algorithm to Multi-Submod-Cover, and apply it for a geometric problem in 3.1. We consider the special case of Multi-Partial-SC in Sect. 4. Next, we adapt these techniques to obtain similar results for FL-Multi-Outliers and MCC-Multi-Outliers in Sect. 5. In Sect. 6, we sketch a proof of the improved approximation for Partial-SC, using some of the similar techniques used elsewhere in the paper. We conclude in Sect. 7 with some open problems.

2 Preliminaries and background

Set Cover and Partial-SC have natural LP relaxations and they are closely related to those for Max \(k\)-Cover and Max-Budgeted-Cover. The LP relaxation for Set Cover (SC-LP) is shown in Fig. 1a. It has a variable \(x_i\) for each set \(S_i \in \mathcal {S}\), which, in the integer programming formulation, indicates whether \(S_i\) is picked in the solution. The goal is to minimize the weight of the chosen sets which is captured by the objective \(\sum _{S_i \in \mathcal {S}} w_i x_i\) subject to the constraint that each element \(e_j\) is covered. The LP relaxation for Partial-SC (PSC-LP) is shown in Fig. 1b. Now we need additional variables to indicate which k elements are going to be covered; for each \(e_j \in \mathcal {U}\) we thus have a variable \(z_j\) for this purpose. In PSC-LP it is important to constrain \(z_j\) to be at most 1. The constraint \(\sum _{e_j} z_j \ge k\) forces at least k elements to be covered fractionally.

Fig. 1
figure 1

LP relaxations for covering

As noted in prior work the integrality gap of PSC-LP can be made arbitrarily large but it is easy to fix by guessing the largest cost set in an optimum solution and doing some preprocessing. We discuss this issue in later sections.

Figs. 2a, b show LP relaxations for Max \(k\)-Cover and Max-Budgeted-Cover respectively. In these problems we maximize the number of elements covered subject to an upper bound on the number of sets or on the total weight of the chosen sets.

Fig. 2
figure 2

LP Relaxations for budgeted covering

Greedy algorithm: The greedy algorithm is a well-known and standard algorithm for the problems studied here. The algorithm iteratively picks the set with the current maximum bang-per-buck ratio and adds it to the current solution until some stopping condition is met. The bang-per-buck of a set \(S_i\) is defined as \(|S_i \cap \mathcal {U}'|/w_i\) where \(\mathcal {U}'\) is the set of uncovered elements at that point in the algorithm. For minimization problems such as Set Cover and Partial-SC the algorithm is stopped when the required number of elements are covered. For Max \(k\)-Cover and Max-Budgeted-Cover the algorithm is stopped when if adding the current set would exceed the budget. Since this is a standard algorithm that is extremely well-studied we do not describe all the formal details and the known results. Typically the approximation guarantee of Greedy is analyzed with respect to an optimum integer solution. We need to compare it to the value of the fractional solution. For the setting of the cardinality constraint this was already done in Nemhauser et al. (1978). We need a slight generalization to the budgeted setting and we give a proof for the sake of completeness.

Lemma 2.1

Let Z be the optimum value of (MBC-LP) for a given instance of Max-Budgeted-Cover with budget B.

  • Suppose Greedy algorithm is run until the total weight of the chosen sets is equal to or exceeds B. Then the number of elements covered by greedy is at least \((1-1/e)Z\).

  • Suppose no set covers more than cZ elements for some \(c > 0\) then the weight of sets chosen by Greedy to cover \((1-1/e)Z\) elements is at most \((1+ec)B\).

Proof

We give a short sketch. Greedy’s analysis for Max-Budgeted-Cover is based on the following key observation. Consider the first set S picked by Greedy. Then \(|S|/w(S) \ge \textsc {OPT}/B\) where \(\textsc {OPT}\) is the value of an optimum integer solution. And this follows from submodularity of the coverage function. This observation is applied iteratively with the residual solution as sets are picked and a standard analysis shows that when Greedy first meets or exceeds the budget B then the total number of elements covered is at least \((1-1/e)\textsc {OPT}\). We claim that we can replace \(\textsc {OPT}\) in the analysis by Z. Given a fractional solution xz we see that \(Z = \sum _e z_e \le \sum _{e \in \mathcal {U}} \min \{1,\sum _{i: e \in S_i} x_i\}\). Moreover \(\sum _i w_i x_i \le B\). Via simple algebra, we can obtain a contradiction if \(|S_i|/w_i < Z/B\) holds for all sets \(S_i\). Once we have this property the rest of the analysis is very similar to the standard one where \(\textsc {OPT}\) is replaced by Z.

Now consider the case when no set covers more than cZ elements. Note that without loss of generality, we can assume that the weight of every set is at most B – otherwise no feasible solution contains such a set. If Greedy covers \((1-1/e)Z\) elements before the weight of sets chosen exceeds B then there is nothing to prove. Otherwise let \(S_j\) be the set added by Greedy when its weight exceeds B for the first time. Let \(\alpha \le |S_j|\) be the number of new elements covered by the inclusion of \(S_j\). Since Greedy had covered less than \((1-1/e)Z\) elements, the value of the residual fractional solution is at least Z/e. From the same argument as in the preceding paragraph, since Greedy chooses \(S_j\) at that point, \(\frac{\alpha }{w(S_j)} \ge \frac{Z}{eB}\). This implies that \(w(S_j) \le e B \frac{\alpha }{Z} \le e c B\). Since Greedy covers at least \((1-1/e)Z\) elements after choosing \(S_j\) (follows from the first claim of the lemma), the total weight of the sets chosen by Greedy is at most \(B + w(S_j) \le (1+ec)B\). \(\square \)

We note that the conclusions of the preceding lemma hold even for the following generalization of Max-Budgeted-Cover. Here each element \(e \in \mathcal {U}\) has a non-negative “profit” \(p_e\) associated with it, and the goal is to find a collection of sets with weight at most B, such that the overall profit of the covered elements is maximized. One difference in the argument is that the “bang-per-buck” of a set S is defined as \(\frac{\sum _{e \in S} p_e}{w(S)}\).

2.1 Submodular set functions and continuous extensions

Continuous extensions of submodular set functions have played an important role in algorithmic and structural aspects. The idea is to extend a discrete set function \(f:2^N \rightarrow \mathbb {R}\) to the continous space \([0,1]^N\). Here we are mainly concerned with extensions motivated by maximization problems, and confine our attention to two extensions and refer the interested reader to Calinescu et al. (2007), Vondrák (2007) for a more detailed discussion.

The multilinear extension of a real-valued set function \(f: 2^N \rightarrow \mathbb {R}\), denoted by F, is defined as follows: For \(x \in [0,1]^N\)

$$\begin{aligned} F(x) = \sum _{S \subseteq N} f(S) \prod _{i \in S} x_i \prod _{j \not \in S} (1-x_j). \end{aligned}$$

Equivalently \(F(x) = \mathrm {E}[f(R)]\) where R is a random set obtained by picking each \(i \in N\) independently with probability \(x_i\).

The concave closure of a real-valued set function \(f: 2^N \rightarrow \mathbb {R}\), denoted by \(f^+\), is defined as the optimum of an exponential sized linear program:

$$\begin{aligned} f^+(x) = \max \sum _{S \subseteq N} f(S) \alpha _S \text { s.t. }\sum _{S \subseteq N} \alpha _S = 1, \sum _{S \ni i} \alpha _S = x_i, \ \forall i \in N \text { and } \alpha _S \ge 0 \quad \forall S. \end{aligned}$$

A special case of submodular functions are non-negative weighted sums of rank functions of matroids. More formally suppose N is a finite ground set and \(\mathcal {M}_1,\mathcal {M}_2,\ldots ,\mathcal {M}_\ell \) are \(\ell \) matroids on the same ground set N. Let \(g_1, \ldots ,g_\ell \) be the rank functions of the matroids and these are monotone submodular. Suppose \(f = \sum _{h=1}^\ell w_h g_h\) where \(w_h \ge 0\) for all \(h \in [\ell ]\), then f is monotone submodular. We note that (weighted) coverage functions belongs to this class. For a such a submodular function we can consider an extension \(\tilde{f}\) where \(\tilde{f}(x) = \sum _h w_h g_h^{+}(x)\). We capture two useful facts which are shown in Calinescu et al. (2007).

Lemma 2.2

(Calinescu et al. 2007) Suppose \(f = \sum _{h=1}^\ell w_h g_h\) is the weighted sum of rank functions of matroids. Then for any \(x \in [0, 1]^N\), we have that \(F(x) \ge (1-1/e)\tilde{f}(x)\). Assuming oracle access to the rank functions \(g_1,\ldots ,g_\ell \), for any \(x \in [0,1]^N\), there is a polynomial-time solvable LP whose optimum value is \(\tilde{f}(x)\).

Remark 2.3

Let \(f: 2^{\mathcal {S}} \rightarrow \mathbb {Z}_+\) be the coverage function associated with a set system \((\mathcal {U}, \mathcal {S})\). Then \(\tilde{f}(x) = \sum _{e \in \mathcal {U}} \min \{1, \sum _{i: e \in S_i} x_i\}\) where \(\tilde{f} = \sum _{e \in \mathcal {U}} g_e^+\) and \(g^+_e(x) = \min \{1, \sum _{i: e \in S_i} x_i\}\) is the rank function of a simple uniform matroid. One can see PSC-LP in a more compact fashion:

$$\begin{aligned} \min \sum _i w_i x_i \text {~~s.t.~~} \tilde{f}(x) \ge k. \end{aligned}$$

Concentration under randomized rounding: Recall the multilinear extension F of a submodular function f. If \(x \in [0,1]^N\) then \(F(x) = \mathrm {E}[f(R)]\) where R is a random set obtained by independently including each \(i \in N\) in R with probability \(x_i\). We can ask whether f(R) is concentrated around \(\mathrm {E}[f(R)] = F(x)\). And indeed this is the case when f is Lipscitz. For a parameter \(c \ge 0\), f is c-Lipschitz if \(|f_A(i)| \le c\) for all \(i \in N\) and \(A \subset N\), where \(f_A(i)=f(A\cup \{i\})-f(A)\); for monotone submodular functions this is equivalent to the condition that \(f(i) \le c\) for all \(i \in N\).

Lemma 2.4

(Vondrák 2010) Let \(f:2^N\rightarrow \mathbb {R}_+\) be a 1-Lipschitz monotone submodular function. For \(x \in [0,1]^N\) let R be a random set drawn from the product distribution induced by x. Then for \(\delta \ge 0\),

  • \(\Pr [f(R) \ge (1+\delta ) F(x)] \le (\frac{e^\delta }{(1+\delta )^{(1+\delta )}})^{F(x)}\).

  • \(\Pr [f(R) \le (1-\delta ) F(x)] \le e^{-\delta ^2 F(x)/2}\).

Greedy algorithm under a knapsack constraint: Consider the problem of maximizing a monotone submodular function subject to a knapsack constraint; formally \(\max f(S) \text {~s.t.~} w(S) \le B\) where \(w: N \rightarrow \mathbb {R}_+\) is a non-negative weight function on the elements of the ground set N. Note that when all \(w(i) = 1\) and \(B = k\) this is the problem of maximizing a monotone submodular function subject to a cardinality constraint. For the cardinality constraint case, the simple greedy algorithm that iteratively picks the element with the largest marginal value yields a \((1-1/e)\)-approximation Nemhauser et al. (1978). Greedy extends in a natural fashion to the knapsack constraint setting; in each iteration the element \(i = \arg \max _{j} f_S(j)/w_j\) is chosen where S is the set of already chosen elements (here, \(f_S(j) = f(S\cup \{j\}) - f(S)\) denotes the marginal increase). Sviridenko (2004), building on earlier work on the coverage function (Khuller et al. 1999), showed that greedy with some partial enumeration yields a \((1-1/e)\)-approximation for the knapsack constraint. The following lemma quantifies the performance of the basic Greedy when it is stopped after meeting or exceeding the budget B.

Lemma 2.5

Consider an instance of monotone submodular function maximization subject to a knapsack constraint. Let Z be the optimum value for the given knapsack budget B. Suppose the greedy algorithm is run until the total weight of the chosen sets is equal to or exceeds B. Letting S be the greedy solution we have \(f(S) \ge (1-1/e)Z\).

3 A bicriteria approximation for Multi-Submod-Cover

In this section we consider Multi-Submod-Cover. Let N be a finite ground set. For each \(j \in [h]\) we are given a submodular function \(f_j:2^{N}\rightarrow \mathbb {R}_+\), and the corresponding \(k_j \ge 0\). We are also given a non-negative weight function \(w: N \rightarrow \mathbb {R}_+\). The goal is to solve the following covering problem:

$$\begin{aligned} \min _{S \subseteq N} w(S)&\\ \text {s.t.} f_j(S)\ge & {} k_j \quad 1 \le j \le h \end{aligned}$$

We say that \(i \in N\) is active in constraint j if \(f_j(i) > 0\), otherwise it is inactive. We say that the given instance is r-sparse if each element \(i \in N\) is active in at most r constraints.

Theorem 3.1

There is a randomized polynomial-time approximation algorithm that given an r-sparse instance of Multi-Submod-Cover outputs a set \(S \subseteq N\) such that (i) \(f_j(S) \ge (1-1/e-\varepsilon )k_j\) for \(1 \le j \le h\), and (ii) \(E[w(S)] = O(\frac{1}{\varepsilon }\ln r) \textsc {OPT}\).

The rest of the section is devoted to the proof of the preceding theorem. We will assume without loss of generality that \(k_i = 1\) for each i which can be arranged by scaling. Also, we will assume that \(f_i(N) = 1\); otherwise we can work with the truncated function \(\min \{1, f_i(S)\}\) which is also submodular. This technical assumption plays a role in the analysis later.

We consider a continuous relaxation of the problem based on the multilinear extension. Instead of finding a set S we consider finding a fractional point \(x \in [0,1]^N\). For any value \(B \ge \textsc {OPT}\) where \(\textsc {OPT}\) is the optimum value of the original problem, the following continuous optimization problem has a feasible solution.

$$\begin{aligned} \text {(MP-Submod-Relax)} \quad \min \sum _i w_i x_i\le & {} B \\ \text {s.t.}\quad \ F_j(x)\ge & {} 1 \quad 1 \le j \le h \\ x \ge 0 \end{aligned}$$

One cannot hope to solve the preceding continuous optimization problem since it is NP-Hard. However the following approximation result is known and is based on extending the continuous greedy algorithm of Vondrák (2008), Călinescu et al. (2011).

Theorem 3.2

(Chekuri et al. 2010, 2015) For any fixed \(\varepsilon > 0\), there is a randomized polynomial-time algorithm that given an instance of MP-Submod-Relax and value oracle access to the submodular functions \(f_1,\ldots ,f_h\), with high probability, either correctly outputs that the instance is not feasible or outputs an x such that (i) \(\sum _i w_i x_i \le B\) and (ii) \(F_i(x) \ge (1-1/e - \varepsilon )\) for \(1 \le i \le h\).

Using the preceding theorem and binary search one can obtain an x such that \(\sum _{i\in N} w_i x_i \le \textsc {OPT}\) and \(F_j(x) \ge (1-1/e - \varepsilon )\) for \(1 \le j \le h\). It remains to round this solution. We use the following algorithm based on the high-level framework of randomized rounding plus alteration.

  1. 1.

    Let \(S_1, S_2,\ldots ,S_\ell \) be random sets obtained by picking elements independently and randomly \(\ell \) times according to the fractional solution x. Let \(S = \cup _{k=1}^\ell S_k\).

  2. 2.

    For each \(j \in [h]\) if \(f(S) < (1-1/e-2\varepsilon )\), fix the constraint. That is, find a set \(T_j\) using the greedy algorithm (via Lemma 2.5) such that \(f_j(T_j) \ge (1-1/e)\). We implicitly set \(T_j = \emptyset \) if \(f(S) \ge (1-1/e - 2\varepsilon )\).

  3. 3.

    Output \(S \cup T\) where \(T = \cup _{j=1}^h T_j\).

It is easy to see that \(S \cup T\) satisfies the property that \(f_j(S \cup T) \ge (1-1/e - 2\varepsilon )\) for \( j \in [h]\). It remains to choose \(\ell \) and bound the expected cost of \(S \cup T\).

The following is easy from randomized rounding stage of the algorithm.

Lemma 3.3

\(\mathrm {E}[w(S)] = \ell \sum _{i=1}^h w_i x_i \le \ell \textsc {OPT}\).

We now bound the probability that any fixed constraint is not satisfied after the randomized rounding stage of the algorithm. Let \(I_j\) be the indicator for the event that \(f_j(S) < (1-1/e-2\varepsilon )\).

Lemma 3.4

For any \(j \in [h]\), \(\Pr [I_j] \le \alpha ^{\ell }\), where \(\alpha \le 1 - \varepsilon \) for sufficiently small \(\varepsilon > 0\).

Proof

Let \(I_{j,k}\) be indicator for the event that \(f_j(S_k) < (1-1/e-2\varepsilon )\). From the definition of the multilinear extension, for any \(k \in [\ell ]\), \(\mathrm {E}[f_j(S_k)] = F_j(x)\). Hence, \(\mathrm {E}[f_j(S_k)] \ge (1-1/e -\varepsilon )\). Let \(\alpha = \Pr [I_{j,k}]\). We upper bound \(\alpha \) as follows. Recall that \(f_j(N) \le 1\) and hence by monotonicity we have \(f_j(A) \le 1\) for all \(A \subseteq N\). Since \(\mathrm {E}[f_j(S_k)] \ge (1-1/e-\varepsilon )\) we can upper bound \(\alpha \) by the following:

$$\begin{aligned} \alpha (1-1/e-2\varepsilon ) + (1-\alpha ) \ge (1-1/e - \varepsilon ). \end{aligned}$$

Rearranging we have \(\alpha \le \frac{(1 + e\varepsilon )}{(1 + 2e\varepsilon )} = \frac{1}{1+ \frac{e\varepsilon }{1+e\varepsilon }}\). Using the fact that for \(\frac{1}{1+x} \le 1- x/2\) for sufficiently small \(x > 0\), we simplify and see that \(\alpha \le 1- \frac{e \varepsilon }{2(1+e \varepsilon )} \le 1 - \varepsilon \) for sufficiently small \(\varepsilon > 0\). Since the sets \(S_1,\ldots ,S_\ell \) are chosen independently,

$$\begin{aligned} \Pr [I_j] \le \prod _{k = 1}^\ell \Pr [I_{j,k}] \le \alpha ^{\ell }. \end{aligned}$$

\(\square \)

Remark 3.5

The simplicity of the previous proof is based on the use of the multilinear extension which is well-suited for randomized rounding. The assumption that \(f_j(N) \le 1\) is technically important and it is easy to ensure in the general submodular case but is not straightforward when working with specific classes of functions.

Lemma 3.6

Let \(\textsc {OPT}_j\) be the value of an optimum solution to the problem \(\min w(S) \text {~s.t.~} f_j(S) \ge 1\). Then, \(\sum _{j=1}^h \textsc {OPT}_j \le r \textsc {OPT}\).

Proof

Let \(S^*\) be an optimum solution to the problem of covering all h constraints. Let \(N_j\) be the set of active elements for constraint j. It follows that \(S^* \cap N_j\) is a feasible solution for the problem of covering just \(f_j\). Thus \(\textsc {OPT}_j \le w(S^* \cap N_j)\). Hence

$$\begin{aligned} \sum _j \textsc {OPT}_j \le \sum _j w(S^* \cap N_j) = \sum _{i \in S^*} w_i \sum _{j:i \in N_j} 1 \le r w(S^*) = r \cdot \textsc {OPT}. \end{aligned}$$

\(\square \)

We now bound the expected cost of T

Lemma 3.7

\(\mathrm {E}[w(T)] \le 2 \alpha ^{\ell } \sum _j \textsc {OPT}_j \le 2 \alpha ^{\ell } r \textsc {OPT}\).

Proof

We claim that \(w(T_j) \le 2 \textsc {OPT}_j\). Assuming the claim, from the description of the algorithm, we have

$$\begin{aligned} \mathrm {E}[w(T)] \le \sum _{j=1}^h \Pr [I_j] w(T_j) \le 2\alpha ^{\ell }\sum _j \textsc {OPT}_j \le 2\alpha ^{\ell } r \textsc {OPT}. \end{aligned}$$

Now we prove the claim. Consider the problem \(\min w(S) \text {~s.t.~} f_j(S) \ge 1\). \(\textsc {OPT}_j\) is the optimum solution value to this problem. Now consider the following submodular function maximization problem subject to a knapsack constraint: \(\max f_j(S) \text {~s.t.~} w(S) \le \textsc {OPT}_j\). Clearly the optimum value of this maximization problem is at least 1. From Lemma 2.1, the greedy algorithm when run on the maximization problem, outputs a solution \(T_j\) such that \(f(T_j) \ge (1-1/e)\) and \(w(T_j) \le \textsc {OPT}_j + \max _i w_i\). By guessing the maximum weight element in an optimum solution to the maximization problem we can ensure that \(\max _i w_i \le \textsc {OPT}_j\). Thus, \(w(T_j) \le 2 \textsc {OPT}_j\) and \(f(T_j) \ge (1-1/e)\). \(\square \)

From the preceding lemmas it follows that

$$\begin{aligned} \mathrm {E}[w(S \cup T)] \le \mathrm {E}[w(S)] + \mathrm {E}[w(T)] \le \ell \textsc {OPT}+ 2 \alpha ^{\ell } r \cdot \textsc {OPT}. \end{aligned}$$

If we set \(\ell = \lceil { \log _{1/\alpha }r} \rceil = O(\frac{1}{\varepsilon } \ln r)\), one can see that \(\mathrm {E}[w(S \cup T)] \le O(\frac{1}{\varepsilon }\ln r) \textsc {OPT}.\)

3.1 An application to splitting point sets

Har-Peled and Jones (2018), as we remarked, were motivated to study Multi-Submod-Cover due to a geometric application. We recall the problem. Given m point sets \(P_1,\ldots ,P_m\) in \(\mathbb {R}^d\) find the smallest number of hyperplanes (or other geometric shapes) such that no point set \(P_i\) has more than \(\alpha \) fraction of its points in any cell of the arrangement induced by the chosen hyperplanes; in particular when \(\alpha = 1/2\) the problem is related to the Ham-Sandwich theorem which implies that when \(m \le d\) just one hyperplane sufficesFootnote 4. From this one can infer that \(\lceil {m/d} \rceil \) hyperplanes always suffice, however we are interested in approximating the optimum number of hyperplanes for a given instance. Let \(k_i = |P_i|\) and let \(P = \cup _i P_i\). We will assume, for notational simplicity, that the sets \(P_i\) are disjoint. The assumption can be dispensed with.

In Har-Peled and Jones (2018) the authors reduce their problem to Multi-Submod-Cover as follows. Let N be the set of all hyperplanes in \(\mathbb {R}^d\); we can confine attention to a finite subset by restricting to those half-spaces that are supported by d points of P. For each point set \(P_i\) they consider a complete graph \(G_i\) on the vertex set \(P_i\). For each \(p \in \cup _i P_i\) they define a submodular function \(f_p:2^N \rightarrow \mathbb {R}_+\) where \(f_p(S)\) is the number of edges incident to p that are cut by S; an edge (pq) with \(p,q \in P_i\) is cut if p and q are separated by at least one of the hyperplanes in S. Thus one can formulate the original problem as choosing the smallest number of hyperplanes such that for each \(p \in P\) the number of edges that are cut is at least \(k_p\) where \(k_p\) is the demand of p. To ensure that \(P_i\) is partitioned such that no cell has more than \(k_i/2\) points we set \(k_p = k_i/2\) for each \(p \in P_i\); more generally if we wish no cell to have more than \(\beta k_i\) points of \(P_i\) we set \(k_p = (1-\beta )k_i\) for each \(p \in P_i\). As a special case of Multi-Submod-Cover we have

$$\begin{aligned} \min _{S \subseteq N} |S|&\text {s.t.}\\ f_p(S)\ge & {} k_p \quad p \in P \end{aligned}$$

Using Wolsey’s result for Submod-SC, (Har-Peled and Jones 2018) obtain an \(O(\log (mn))\) approximation where \(n = \sum _i k_i\).

We now show that one can obtain an \(O(\log m)\)-approximation if we settle for a bicriteria approximation where we compare the cost of the solution to that of an optimum solution, but guarantee a slightly weaker bound on the partition quality. This could be useful since one can imagine several applications where m, the number of different point sets, is much smaller than the total number of points. Consider the formulation from Har-Peled and Jones (2018). Suppose we used our bicriteria approximation algorithm for Multi-Submod-Cover. The algorithm would cut \((1-1/e-\varepsilon )k_p\) edges for each p and hence for \(1 \le i \le m\) we will only be guaranteed that each cell in the arrangement contains at most \((1 - (1-1/e-\varepsilon )/2)k_i\) points from \(P_i\). This is acceptable in many applications. However, the approximation ratio still depends on n since the number of constraints in the formulation is n. We describe a related but slightly modified formulation to obtain an \(O(\log m)\)-approximation by using only m constraints.

Given a collection \(S \subseteq N\) let \(f_i(S)\) denote the number of pairs of points in \(P_i\) that are separated by S (equivalently the number of edges of \(G_i\) cut by S). It is easy to see that \(f_i(S)\) is a monotone submodular function over N. Suppose \(S \subseteq N\) induces an arrangement such that no cell in the arrangement contains more than \((1-\beta )k_i\) points for some \(0< \beta < 1\). Consider a point \(p \in P_i\) belonging to some cell. Note that the degree of p in \(G_i\) is \(k_i -1\). Furthermore, the number of edges incident to p that are not cut by S are exactly the edges of the form (pq), where q belongs to the same cell as p in the arrangement. Therefore, the number of edges incident to p that are cut by S is at least \(k_i - 1 - (k_i \cdot (1-\beta ) - 1) = \beta k_i\). Thus, the total number of edges cut from \(G_i\) is at least \(\beta k_i^2/2\), since each edge is counted twice from its endpoints. In particular if \(\beta = 1/2\) then S cuts at least \(k_i^2/4\) edges. Conversely, if S cuts at least \(\alpha k_i^2\) edges for some \(\alpha < 1/2\) then no cell in the arrangement induced by S has more than \((1 - \varOmega (\alpha ))k_i\) points from \(P_i\). Given this we can consider the formulation below.

$$\begin{aligned} \min _{S \subseteq N} |S|&\\ \text {s.t.}\ \ f_i(S)\ge & {} k_i^2/4 \quad 1 \le i \le m \end{aligned}$$

We apply our bicriteria approximation for Multi-Submod-Cover with some fixed \(\varepsilon \) to obtain an \(O(\log m)\)-approximation to the objective but we are only guaranteed that the output S satisfies the property that \(f_i(S) \ge (1-1/e-\varepsilon )k_i^2/4\) for each i. This is sufficient to ensure that no \(P_i\) has more than a constant factor in each cell of the arrangement.

The running time of the algorithm we describe depends polynomially on N and m and N can be upper bounded by \(n^{d}\). The running time in Har-Peled and Jones (2018) is \(O(mn^{d+2})\). Finding a running time that depends polynomially on nm and d is an interesting open problem.

4 Approximating Multi-Partial-SC

In this section we consider a problem that generalizes Multi-Partial-SC and CIPs while being a special case of Multi-Submod-Cover. We call this problem CCF (Covering Coverage Functions). Bera et al. (2014) already considered this version in the restricted context of Vertex-Cover. Formally the input is a weighted set system \((\mathcal {U}, \mathcal {S})\) and a set of inequalities of the form \(Az \ge b\) where \(A \in [0,1]^{h \times n}\) matrix and \(b \in \mathbb {R}_+^h\) is a positive vector. The goal is to optimize the integer program CCF-IP shown in Fig. 3a. Multi-Partial-SC is a special case of CCF when the matrix A contains only \(\{0,1\}\) entries. On the other hand CIP is a special case when the set system is very restricted and each set \(S_i\) consists of a single element. We say that an instance is r-sparse if each set \(S_i\) “influences” at most r rows of A; in other words the elements of \(S_i\) have non-zero coefficients in at most r rows of A. This notion of sparsity coincides in the case of CIPs with column sparsity and in the case of Multi-Submod-Cover with the sparsity that we saw in Sect. 3. It is useful to explicitly see why CCF is a special case of Multi-Submod-Cover. The ground set \(N = [m]\) corresponds to the sets \(S_1,\ldots ,S_m\) in the given set system \((\mathcal {U},\mathcal {S})\). Consider the row k of the covering constraint matrix \(Az \ge b\). We can model it as a constraint \(f_k(S) \ge b_k\) where the submodular set function \(f_k:2^N \rightarrow \mathbb {R}_+\) is defined as follows: for a set \(X \subseteq N\) we let \(f_k(X) = \sum _{e_j \in \cup _{i \in X} S_i} A_{k,j}\) which is simply a weighted coverage function with the weights coming from the coefficients of the matrix A. Note that when formulating via these submodular functions, the auxiliary variables \(z_1,\ldots ,z_n\) that correspond to the elements \(\mathcal {U}\) are unnecessary.

We prove the following theorem.

Theorem 4.1

Consider an instance of r-sparse CCF induced by a set system \((\mathcal {U}, \mathcal {S})\) from a deletion-closed family with a \(\beta \)-approximation for Set Cover via the natural LP. There is a randomized polynomial-time algorithm that outputs a feasible solution of expected cost \(O(\beta + \ln r) \textsc {OPT}\).

Fig. 3
figure 3

Modeling CCF

The natural LP relaxation for CCF is shown in Fig. 3b. It is well-known that this LP relaxation, even for CIPs with only one constraint, has an unbounded integrality gap (Carr et al. 2000). For CIPs knapsack-cover inequalities are used to strengthen the LP. KC-inequalities in this context were first introduced in the influential work of Carr et al. (2000) and have since become a standard tool in developing stronger LP relaxations. Bera et al. (2014) adapt KC-inequalities to the setting of PartitionVC, and it is straightforward to extend this to CCF (this is implicit in Bera et al. (2014)).

Remark 4.2

Weighted coverage functions are a special case of sums of weighted rank functions of matroids. The natural LP for CCF can be viewed as using a different, and in fact a tighter extension, than the multilinear relaxation (Calinescu et al. 2007). The fact that one can use an LP relaxation here is crucial to the scaling idea that will play a role in the eventual algorithm. The main difficulty, however, is the large integrality gap which arises due to the partial covering constraints.

We set up and the explain the notation to describe the use of KC-inequalities for CCF. It is convenient here to use the reduction of CCF to Multi-Submod-Cover. For row k in \(Ax \ge b\) we will use \(f_k\) to denote the submodular function that we set up earlier. Recall that \(f_k(D)\) captures the coverage to constraint k if set D is chosen. The residual requirement after choosing D is \(b_k - f_k(D)\). The residual requirement must be covered by elements from sets outside D. The maximum contribution that \(i \not \in D\) can provide to this is \(\min \{f_k(D+i) - f_k(D), b_k - f_k(D)\}\). Hence the following constraint is valid for any \(D \subset N\):

$$\begin{aligned} \sum _{i \not \in D} \min \{f_k(D+i) - f_k(D), b_k - f_k(D)\} x_i \ge b_k - f_k(D) \end{aligned}$$
(1)

Writing the preceding inequality for every possible choice of D and for every k we obtained a strengthened LP that we show in Fig. 4.

Fig. 4
figure 4

CCF-LP with KC-Inequalities

CCF-KC-LP has an exponential number of constraints and the separation problem involves submodular functions. A priori it is not clear that there is even an approximate separation oracle. However, as noted in Bera et al. (2014), one can combine the rounding procedure with the Ellipsoid method to obtain the desired guarantees even though we do not obtain a fractional solution that satisfies all the KC inequalities. This observation holds for rounding as well. In particular, it suffices to obtain a fractional solution that satisfies constraints (2), (3), (5), and (6) (note that there are polynomially many such constraints), and constraint 4 for a particular \(D \subseteq \mathcal {S}\) satisfying certain properties. Then, it can be shown that the ellipsoid algorithm returns such a solution in polynomially many iterations. In the following, we discuss the rounding and the analysis under the assumption that the LP can be solved exactly, and return to the issue of KC inequalities at the end of the section.

Rounding and analysis assuming LP can be solved exactly: Let (xz) be an optimum solution to CCF-KC-LP. We can assume without loss of generality that for each element \(e_j \in \mathcal {U}\) we have \(z_j = \min \{1, \sum _{i: e_j \in S_i} x_i\}\). As in Sect. 6 we split the elements in \(\mathcal {U}\) into heavily covered elements and shallow elements. For some fixed threshold \(\tau \) that we will specify later, let \(\mathcal {U}_{\text {he}} = \{ e_j \mid z_j \ge \tau \}\), and \(\mathcal {U}_{\text {sh}} = \mathcal {U}\setminus \mathcal {U}_{\text {he}}\). We will also choose another threshold. The rounding algorithm is the following.

  1. 1.

    Solve a Set Cover problem via the natural LP to cover all elements in \(\mathcal {U}_{\text {he}}\). Let \(Y_1\) be the sets chosen in this step.

  2. 2.

    Let \(Y_2 = \{ S_i \mid x_i \ge \tau \}\) be the heavy sets.

  3. 3.

    Repeat for \(\ell = \varTheta (\ln r)\) rounds: independently pick each set \(S_i\) in \(\mathcal {S}\setminus (Y_1 \cup Y_2)\) with probability \(\frac{1}{\tau }x_i\). Let \(Y_3\) be the sets chosen in this randomized rounding step.

  4. 4.

    For \(k \in [h]\) do

    1. (a)

      Let \(b_k - f_k(Y_1 \cup Y_2 \cup Y_3)\) be the residual requirement of k’th constraint.

    2. (b)

      Run the modified Greedy algorithm to satisfy the residual requirement. Let \(F_k\) be the sets chosen to fix the constraint (could be empty).

  5. 5.

    Output \(Y_1 \cup Y_2 \cup Y_3 \cup (\cup _{k=1}^h F_k)\).

The algorithm at a high level is similar to that in Bera et al. (2014). There are two main differences. First, we explicitly fix the constraints after the randomized rounding phase using a slight variant of the Greedy algorithm. This ensures that the output of the algorithm is always a feasible solution; this makes it easier to analyze the r-sparse case while a straight forward union bound will not work. Second, the analysis relies on a probabilistic inequality that is simpler in Vertex-Cover case while it requires a more sophisticated approach here. We now describe the modified Greedy algorithm to fix a constraint. For an unsatisfied constraint k we consider the collection of sets that influence the residual requirement for k, and partition them it into \(H_{k}\) and \(L_k\). \(H_{k}\) is the collection of all sets such that choosing any of them completely satisfies the residual requirement for k, and \(L_k\) are the remaining sets. The modified Greedy algorithm for fixing constraint k picks the better of two solutions: (i) the first solution is the cheapest set in \(H_k\) (this makes sense only if \(H_k \ne \emptyset \)) and (ii) the second solution is obtained by running Greedy on sets in \(L_k\) until the constraint is satisfied.

Analysis: We now analyze the expected cost of the solution output by the algorithm. The lemma below bounds the cost of \(Y_1\).

Lemma 4.3

The cost of \(Y_1\), \(w(Y_1)\) is at most \(\beta \frac{1}{\tau }\sum _i w_i x_i\).

Proof

Recall that \(z^*_j \ge \tau \) for each \(e_j \in \mathcal {U}_{\text {he}}\). Consider \(x'_i = \min \{1,\frac{1}{\tau }x_i\}\). It is easy to see that \(x'\) is a feasible fractional solution for SC-LP to cover \(\mathcal {U}_{\text {he}}\) using sets in \(\mathcal {S}\). Since the set family is deletion-closed, and the integrality gap of the SC-LP is at most \(\beta \) for all instances in the family, there is an integral solution covering \(\mathcal {U}_{he}\) of cost at most \(\beta \sum _i w_i x'_i \le \frac{1}{\tau }\beta \sum _i w_i x_i\). \(\square \)

The expected cost of randomized rounding in the second step is easy to bound.

Lemma 4.4

The expected cost of \(Y_3\) is at most \(\frac{\ell }{\tau } \sum _{i} w_i x_i\).

An analog of the following lemma for PartitionVC was proved by Bera et al. (2014). However, in PartitonVC, each element is contained in at most two sets, which is crucially used in their proof. Consequently, their proof does not readily generalize to set systems with unbounded frequency. We rely on tools from submodularity to prove this lemma even in the general case of CCF.

Lemma 4.5

Fix a constraint k. If \(\tau \) is a sufficiently small but fixed constant, the probability that constraint k is satisfied after one round of randomized rounding is at least a fixed constant \(c_\tau \).

Before we give a proof of this lemma, we finish the rest of the analysis first. Let \(I_k =\{ i \mid S_i \text{ influences } \text{ constraint } k\}\). Note that for any \(i \in N\), \(|\{k \in [h]: S_i \in I_k \}| \le r\) by our sparsity assumption.

Lemma 4.6

Let \(\rho _k\) be the cost of fixing constraint k if it is not satisfied after randomized rounding. Then \(\rho _k \le c'_\tau \sum _{i \in I_k} w_i x_i\) for some constant \(c'_\tau \).

Proof

We will assume that \(\tau < (1-1/e)/2\). Let \(D = Y_1 \cup Y_2\) and let \(b'_k = b_k - f_k(D)\) be residual requirement of constraint k after choosing \(Y_1\) and \(Y_2\). Let \(\mathcal {U}' = \mathcal {U}\setminus \mathcal {U}_D\) be elements in the residual instance; all these are shallow elements. Consider the scaled solution \(x'\) where \(x'_i = 1\) if \(S_i \in D\) and \(x'_i = \frac{1}{\tau } x_i\) for other sets. For any shallow element \(e_j\) let \(z'_j = \min \{1,\sum _{i: j \in S_i} x'_i\}\); since \(e_j\) is shallow we have \(z'_j = \frac{1}{\tau }z_j = \sum _{i: j \in S_i, i \not \in D} x'_i\).

Recall from the description of the modified Greedy algorithm that a set \(S_i\) is in \(H_k \subseteq I_k\) iff adding \(S_i\) to D satisfies constraint k. In other words \(i \in H_k\) iff \(f_k(D+i) - f_k(D) \ge b'_k\). Suppose \(\sum _{i \in H_k} x'_i \ge 1/2\). Then it is not hard to see that the cheapest set from \(H_k\) will cover the residual requirement and has cost at most \(2 \sum _{i \in H_k} w_i x'_i\) and we are done. We now consider the case when \(\sum _{i \in H_k} x'_i < 1/2\). Let \(L_k = I_k \setminus H_k\). For each \(j \in \mathcal {U}'\) let \(z''_j = \sum _{i: j \in S_i, i \in L_k} x'_i\). We claim that \(\sum _{j \in \mathcal {U}'}A_{k,j}z''_j \ge \frac{1}{2 \tau } b'_k\). Since \(\tau \le (1-1/e)/2\) this implies \(\sum _{j \in \mathcal {U}'}A_{k,j}z''_j \ge \frac{1}{(1-1/e)} b'_k\). Assuming the claim, if we run Greedy on \(L_k\) to cover at least \(b'_k\) elements then the total cost, by Lemma 2.1, is at most \((1+e)\sum _{i \in L_k} w_i x'_i\); note that we use the fact that no set in \(L_k\) has coverage more than \(b'_k\) and hence \(c=1\) in applying Lemma 2.1.

We now prove the claim. Since the xz satisfy KC inequalities:

$$\begin{aligned} \sum _{i \not \in D, i \in I_k} \min \{f_k(D+i) - f_k(D), b'_k\} x_i \ge b'_k. \end{aligned}$$

We split the LHS into two terms based on sets in \(H_k\) and \(L_k\). Note that if \(i \in H_k\) then \(f_k(D+i) -f_k(D) \ge b'_k\) and if \(i \in L_k\) then \(f_k(D+i) -f_k(D) < b'_k\). Furthermore, \(f_k(D+i) -f_k(D) \le \sum _{e_j \in S_i} A_{k,j}\). We thus have

$$\begin{aligned} \sum _{i \not \in D, i \in I_k} \min \{f_k(D+i) - f_k(D), b'_k\} x_i\le & {} \sum _{i \in H_k} b'_k x_i + \sum _{i \in L_k} x_i \sum _{e_j \in S_i} A_{k,j} \\\le & {} b'_k \sum _{i \in H_k} x_i + \sum _{i \in L_k} x_i \sum _{e_j \in S_i} A_{k,j} \end{aligned}$$

Putting together the preceding two inequalities and the condition that \(\sum _{i \in H_k} x'_i < 1/2\) (recall that \(x'_i = x_i/\tau \) for each \(i \in I_k\)),

$$\begin{aligned} \sum _{i \in L_k} x'_i \sum _{e_j \in S_i} A_{k,j} \ge \frac{1}{2\tau } b'_k. \end{aligned}$$

We have, by swapping the order of summation,

$$\begin{aligned} \sum _{i \in L_k} x'_i \sum _{e_j \in S_i} A_{k,j} \!=\! \sum _{e_j \in \cup _{i \in L_k}S_i} A_{k,j} \sum _{i \in L_k: e_j \in S_i} x'_i \!\le \! \sum _{j \in \mathcal {U}'} A_{k,j} \sum _{i \in L_k: e_j \in S_i} x'_i \!=\! \sum _{j \in \mathcal {U}'} A_{k,j} z''_j. \end{aligned}$$

The preceding two inequalities prove the claim. \(\square \)

With the preceding lemmas we can finish the analysis of the total expected cost of the sets output by the algorithm. From Lemma 4.5 the probability that any fixed constraint k is not satisfied after the randomized rounding step is at most \(c^{\ell }\), for some constant \(c < 1\). By choosing \(\ell \ge 1+ \log _{1/c} r\) we can reduce this probability to at most 1/r. Thus, as in the preceding section, the expected fixing cost is \(\sum _{k} \frac{1}{r} w(F_k)\). From Lemma 4.6,

$$\begin{aligned} \sum _k w(F_k) \le c' \sum _k \sum _{i \in I_k} w_i x_i \le c' r \sum _i w_i x_i \end{aligned}$$

since the given instance is r-sparse. Thus the expected fixing cost is at most \(c' \sum _i w_i x_i\). The cost of \(Y_1\) is \(O(\beta ) \sum _i w_i x_i\), the cost of \(Y_2\) is \(O(1) \sum _i w_ix_i\), and the expected cost of \(Y_3\) is \(O(\log r) \sum _i w_i x_i\). Putting together, the total expected cost is at most \(O(\beta + \log r) \sum _i w_i x_i\) where the constants depend on \(\tau \). We need to choose \(\tau \) to be sufficiently small to ensure that Lemma 4.5 holds. We do not attempt to optimize the constants or specify them here.

Submodularity and proof of Lemma 4.5: We follow some notation that we used in the proof of Lemma 4.6. Let \(D = Y_1 \cup Y_2\) and consider the residual instance obtained by removing the elements covered by D and reducing the coverage requirement of each constraint. The lemma is essentially only about the residual instance. Fix a constraint k and recall that \(b'_k\) is the residual coverage requirement and that each set in \(H_k\) fully satisfies the requirement by itself. Recall that \(x'_i = \frac{1}{\tau }x_i \le 1\) for each set \(i \not \in D\) and \(z'_j = \frac{1}{\tau } z_j = \sum _{i: e_j \in S_i} x'_i\) for each residual element \(e_j\). As in the proof of Lemma 4.6 we consider two cases. If \(\sum _{i \in H_k} x'_i \ge 1/2\) then with probability \((1-1/\sqrt{e})\) at least one set from \(H_k\) is picked and will satisfy the requirement by itself. Thus the interesting case is when \(\sum _{i \in H_k} x'_i < 1/2\). Let \(\mathcal {U}'' = \cup _{i \in L_k} S_i\). As we saw earlier, in this case

$$\begin{aligned} \sum _{j \in \mathcal {U}''} A_{k,j} \min \left\{ 1,\sum _{i: j \in S_i} x'_i\right\} \ge \frac{1}{2\tau }b'_k. \end{aligned}$$

For ease of notation we let \(N = L_k\) be a ground set. Consider the weighted coverage function \(g: 2^N \rightarrow \mathbb {R}_+\) where g(T) for \(T \subseteq L_k\) is given by \(\sum _{j \in \cup _{i \in T} S_i} A_{k,j}\). Then for a vector \(y \in [0,1]^N\) the quantity \(\sum _{j \in \mathcal {U}''} A_{k,j} \min \{1,\sum _{i: j \in S_i} y_i\}\) is the continuous extension \(\tilde{g}(y)\) discussed in Sect. 2. Thus we have \(\tilde{g}(x') \ge \frac{1}{2\tau } b'_k\). From Lemma 2.2, we have \(G(x') \ge (1-1/e)\frac{1}{2\tau } b'_k\) where G is the multilinear extension of g. If we choose \(\tau \le (1-1/e)/4\) then \(G(x') \ge 2b'_k\). Let Z be the random variable denoting the value of g(R) where \(R \simeq x'\). Independent random rounding of \(x'\) preserves \(G(x')\) in expectation by the definition of the multilinear extension, therefore \(\mathrm {E}[Z] = G(x') \ge 2b'_k\). Moreover, by Lemma 2.4, Z is concentrated around its expectation since \(G(i) \le b'_k\) for each \(i \in L_k\). An easy calculation shows that \(\Pr [Z< b'_k] \le e^{-1/4} < 0.78\). Thus with constant probability \(g(R) \ge b'_k\).

Solving the LP with KC inequalities: The proof of the performance guarantee of the algorithm relies on the fractional solution satisfying KC inequalities with respect to the set \(D = Y_1 \cup Y_2\). Thus, given a fractional solution (xz) for the LP we can check the easy constraints in polynomial time and implement the first two steps of the algorithm. Once \(Y_1,Y_2\) are determined we have D and one can check if (xz) satisfies KC inequalities with respect to D (for each row of A). If it does then the rest of the proof goes through and performance guarantee holds with respect to the cost of (xz) which is a lower bound on \(\textsc {OPT}\). If some constraint does not satisfy the KC inequality with respect to D we can use this as a separation oracle in the Ellipsoid method.

5 Facility location and minimum sum of radii clustering

In this section, we consider two well-studied problems related to clustering in the setting where there are r partial covering constraints. As we mentioned previously, the generalization of Facility Location problem does not quite fit in the Multi-Submod-Cover framework. However, we are able to adapt the techniques to this problem. We obtain \(O(\log r)\)-approximations for these two problems and they are treated in the next two sections.

5.1 Facility location with multiple outliers

Here, we consider a generalization of the Facility Location Problem that is analogous to Multi-Partial-SC. We show how to adapt the randomized rounding framework, along with existing LP-based approximation algorithms for the standard Facility Location problem, to obtain an \(O(\log r)\) approximation for this generalization.

In FL-Multi-Outliers, we are given a set of facilities F, a set of clients C, belonging to a metric space \((F \cup C, d)\). Each facility \(i \in F\) has a non-negative opening cost \(f_i\). We are given r non-empty subsets of clients \(C_1, \ldots , C_r\), that partition the set C of clients. Each color class \(C_k\) has a connection requirement \(1 \le b_k \le |C_k|\). The objective of FL-Multi-Outliers is to find a solution \((F^*, C^*)\) that minimizes \(\sum _{i \in F'} f_i + \sum _{j \in C'} d(j, F')\) over all feasible solutions \((F', C')\). We say that a solution \((F', C')\) is feasible if (i) \(|F'| \ge 1\) and (ii) For all classes \(C_k\), \(|C_k \cap C'| \ge b_k\). Note that the special case with just one class is the Robust Facility Location problem, first considered by Charikar et al. (2001).

A natural LP formulation of this problem is as follows.

Fig. 5
figure 5

Natural LP formulation for FL-Multi-Outliers

Next, we discuss strengthening of this LP by adding KC inequalities and solving the strengthened LP.

Solving a Strengthened LP: First, we convert the LP into a feasibility LP by guessing the optimal cost up to a factor of 2, say \(\varDelta \), and by adding a cost constraint \(\sum \limits _{i \in F} f_{i}x_{i} + \sum _{i \in F, j \in C} y_{ij} \cdot d(i, j) \le \varDelta \). Similar to Sect. 4, we use the Ellipsoid algorithm to find a feasible LP solution that satisfies the cost constraint, constraints 7 to 10, and an additional KC inequality specified below. Fix an LP solution that satisfies all these constraints (except possibly the additional one). With respect to this solution, let \(H = \{j \in C \mid \sum _{i \in F} y_{ij} \ge \tau \}\) be the set of heavy clients, where \(\tau \) is a constant as in Sect. 4.

Let \(L = C \setminus H\) be the set of light clients. Note that for any light client \(j \in L\), \(z_j \le \sum _{i \in F} y_{ij} < \tau \). Also, for a class \(C_k\), let \(C_k(H) := C_k \setminus H\) denote the light clients from \(C_k\), and let \(b'_k := b_k - |C_k \cap H|\) denote its residual connection requirement. Now, we check whether the following constraint holds for all color classes \(C_k\):

$$\begin{aligned} \sum _{i \in F} \min \bigg \{x_i \cdot b'_k, \sum _{j \in C_k(H)} y_{ij} \bigg \} \ge b'_k \end{aligned}$$
(11)

First, note that this can be formulated as an LP constraint by introducing auxiliary variables. It is easy to see that any integral solution satisfies this constraint for any \(H \subseteq C\), and hence it is valid. If this constraint is not satisfied for some class \(C_k\), we report it as a violated constraint to the Ellipsoid algorithm.

Rounding: Now, suppose we have an LP solution (xyz) that satisfies 7 to 10, and has cost at most \(\varDelta \). Let H and L be the corresponding heavy and light clients. Furthermore, suppose the LP solution satisfies Constraint 11 with respect to H and L.

For any \(i \in F\), let \(x'_i := \min \{1, \frac{1}{\tau }x_i \}\), and for any \(i \in F, j \in H\), let \(y'_{ij} := \min \{1, \frac{1}{\tau }y_{ij}\}\). It is easy to see that \((x', y')\) is a feasible Facility Location (without outliers) LP solution for the instance induced by the heavy clients, and its cost is at most \(\varDelta /\tau \). We use an LP-based algorithm (such as Byrka et al. (2010)) with a constant approximation guarantee to round this solution to an integral solution \((F_H, H)\), where \(F_H \subseteq F\).

For handling light clients, we “split” the facilities into multiple co-located copies if necessary, we ensure the following two conditions hold:

  1. 1.

    For any facility \(i \in F\), \(x_i < \tau \).

  2. 2.

    For any client \(j \in L\) and any facility \(i \in F\), \(y_{ij} > 0\ \implies \ y_{ij} = x_i\).

This has to be done in a careful manner – we give the details in appendix A. This procedure results in a feasible LP solution of essentially the same cost. Henceforth, we treat all co-located copies of a facility as distinct facilities for the sake of the analysis. We now show that the rounding for the light clients can be reduced to the randomized rounding algorithm for Multi-Partial-SC from the previous section.

For any facility \(i \in F\), let \(S_i := \{j \in L \mid x_{i} = y_{ij} \}\) denote the set of light clients that are fractionally connected to i. The cost of opening facility i and connecting all \(j \in S_i\) to i is equal to \(w_i := f_i + \sum _{j \in S_i} d(i, j)\). Consider a Multi-Partial-SC instance \((\mathcal {U}, \mathcal {S})\), where \(\mathcal {S}= \{S_i \mid i \in F\}\) with weights \(w_i\), and residual coverage requirement \(b'_k\) for each class \(C_k(H)\). We obtain an LP solution (xz) for this instance of Multi-Partial-SC from the LP solution (xyz) for the Facility Location problem, by taking the variables \(x_i\) for \(i \in F\) and \(z_j\) for \(j \in L\). The following properties are satisfied by this LP solution (xz).

  1. 1.

    All the elements are light, and all the sets \(S_i \in \mathcal {S}\) have \(x_i < \tau \).

  2. 2.

    The costs of the two LP solutions are equal:

    $$\begin{aligned} \sum _{S_i \in \mathcal {S}} w_i x_i = \sum _{i \in F} x_i \cdot \bigg (f_i + \sum _{j \in S_i} d(i, j)\bigg ) = \sum _{i \in F} f_i x_i + \sum _{i \in F,\ j \in L} y_{ij} \cdot d(i, j). \end{aligned}$$
  3. 3.

    Constraint 11 is equivalent to:

    $$\begin{aligned} \sum _{S_i \in \mathcal {S}} x_i \cdot \min \left\{ b'_k, |S_i \cap C_k(H)| \right\} \ge b'_k \quad \forall 1 \le k \le r. \end{aligned}$$

    This is exactly the KC inequality (1) required for rounding Multi-Partial-SC.

Therefore, we can use the randomized rounding plus alteration algorithm from Sect. 4 to obtain a solution \(Y'\) for the Multi-Partial-SC. It has cost at most \(O(\log r) \cdot \varDelta \), and for each class \(C_k(H)\), it covers at least \(b'_k\) clients. To obtain a solution for the original facility location problem, we open a facility \(i \in F\), if its corresponding set \(S_i\) is selected in \(Y'\), and connect to it all the clients in \(S_i\). Notice that we connect \(b'_k\) clients from \(C_k(H)\) to the set of opened facilities in this manner. The cost of this solution is upper bounded by \(w(Y') \le O(\log r) \cdot \varDelta \). Combining this with the solution \((F_H, H)\) for the heavy clients of cost at most \(O(1) \cdot \varDelta \), we obtain our overall solution for the given instance. It is easy to see that this is an \(O(\log r)\) approximation.

Theorem 5.1

There is a randomized polynomial-time algorithm that outputs a feasible solution of expected cost \(O(\log r) \cdot \) OPT for FL-Multi-Outliers.

5.2 Minimum sum of radii clustering with multiple outliers

Here, we are given a set of facilities F, a set of clients C and a metric space \((F \cup C, d)\). Each facility \(i \in F\) has a non-negative opening cost \(f_i\). We are given r classes of clients \(C_1, \ldots , C_r\). Each color class \(C_k\) has a coverage requirement \(b_k\) where \(1 \le b_k \le |C_k|\). A ball centered at a facility \(i \in F\) of radius \(\rho \ge 0\) is the set \(B(i, \rho ) := \{j \in C \mid d(i, j) \le \rho \}\). The goal is to select a set of balls \(\mathcal {B} = \{B_i = B(i, \rho _i) \mid i \in F' \subseteq F \}\) centered at some subset of facilities \(F' \subseteq F\), such that (i) the set of balls \(\mathcal {B}\) satisfies the coverage requirement of each color class and (ii) the sum \(\sum _{i \in F'} (f_i + \rho _i^\gamma )\) is minimized. Here, \(\gamma \ge 1\) is a constant, and is a parameter of the problem. We refer to this problem as MCC-Multi-Outliers.

Note that even though the radius of a ball centered at \(i \in F\) is allowed to be any non-negative real number, it can be restricted to the following set of “relevant” radii: \(R_i := \{d(i, j)\mid j \in C\}\). Now, define a set system \((C, \mathcal {S})\). Here, C is the set of clients, and \(\mathcal {S}= \{ B(i, \rho ) \mid i \in F, \rho \in R_i \}\), with weight of the set corresponding to a ball \(B(i, \rho )\) being defined as \(f_i + \rho ^\gamma \). Now, we use the algorithm from Sect. 4 for this set system. Let H be the set of heavy clients (or elements) as defined in Sect. 4. We use the Primal-Dual algorithm of Charikar and Panigrahy (2004)Footnote 5 with an approximation guarantee of \(\beta = 3^\gamma \) (which is a constant) to obtain a cover for the heavy clients. For the remaining light clients, we use the randomized rounding algorithm as is. Note that this reduction is not exact, since the solution thus obtained may select sets corresponding to multiple concentric balls in the original instance. However, from each set of concentric balls, we can choose the ball with the largest radius. This pruning process does not affect the coverage, and can only decrease the cost of the solution. Therefore, it is easy to see that the resulting solution is an \(O(\log r)\) approximation.

Theorem 5.2

There is a randomized polynomial-time algorithm that outputs a feasible solution of expected cost \(O(3^\gamma + \log r) \cdot \) OPT for MCC-Multi-Outliers.

6 Approximating Partial-SC

In this section we consider the algorithm for Partial-SC from Inamdar and Varadarajan (2018) and suggest a small variation that simplifies the algorithm and analysis and in the process also yields an improved approximation ratio. The approach of Inamdar and Varadarajan (2018) is as follows. Given an instance of Partial-SC with a set system \((\mathcal {U},\mathcal {S})\) their algorithm has the following high level steps.

  1. 1.

    Guess the largest weight set in an optimum solution. Remove all elements covered by it, remove all sets with weight larger than the guessed set. Adjust k to account for covered elements. We now work with the residual instance of Partial-SC.

  2. 2.

    Solve PSC-LP. Let \((x^*,z^*)\) be an optimum solution. For some threshold \(\tau \) let \(\mathcal {U}_h = \{ e_j \mid z^*_j \ge \tau \}\) be the highly covered elements and let \(\mathcal {U}_\ell = \{e_j \mid z^*_j < \tau \}\) be the shallow elements.

  3. 3.

    Solve a Set Cover instance via the LP to cover all elements in \(\mathcal {U}_h\). The cost of this solution is at most \(\frac{1}{\tau }\beta \sum _i w_i x_i^*\) since one can argue that the fractional solution \(x'\) where \(x'_i = \min \{1,x^*_i/\tau \}\) for each i is a feasible fractional solution for SC-LP to cover \(\mathcal {U}_h\).

  4. 4.

    Let \(k' = k - |\mathcal {U}_h|\) be the residual number of elements that need to be covered from \(\mathcal {U}_\ell \). Round \((x^*,z^*)\) to cover \(k'\) elements from \(\mathcal {U}_\ell \).

The last step of the algorithm is the main technical one, and also determines \(\tau \). In Inamdar and Varadarajan (2018) \(\tau \) is chosen to be 1/2 and this leads to their \(2(\beta + 1)\)-approximation. The rounding algorithm in Inamdar and Varadarajan (2018) can be seen as an adaptation of pipage rounding Ageev and Sviridenko (2004) for Max-Budgeted-Cover. The details are somewhat technical and perhaps obscure the high-level intuition that scaling up the LP solution allows one to use a bicriteria approximation for Max-Budgeted-Cover. Our contribution is to simplify the fourth step in the preceding algorithm. Here is the last step in our algorithm; the other steps are the same modulo the specific choice of \(\tau \).

  1. 4’.

    Run Greedy to cover \(k'\) elements from \(\mathcal {U}_\ell \).

We now analyze the performance of our modified algorithm.

Lemma 6.1

Suppose \(\tau \le (1-1/e)\). Then running Greedy in the final step outputs a solution of total weight at most \(\max _i w_i + \frac{1}{\tau }\sum _i w_i x_i^*\) to cover \(k' = k - |\mathcal {U}_h|\) elements from \(\mathcal {U}_\ell \).

Proof

It is easy to see that \(\sum _{e_j \in \mathcal {U}_\ell } z^*_j \ge k'\) since \(\sum _{e_j \in \mathcal {U}} z^*_j \ge k\) and \(z^*_j \le 1\) for each \(e_j\). Let \((\mathcal {U}_\ell , \mathcal {S}')\) be the set system obtained by restricting \((\mathcal {U}, \mathcal {S})\) to \(\mathcal {U}_\ell \), and let \((x',z')\) be the restriction of \((x^*,z^*)\) to the set system \((\mathcal {U}_\ell , \mathcal {S}')\). We have (i) \(\sum _i w_i x'_i \le \sum _i w_i x^*_i\) and (ii) \(\sum _{e_j \in \mathcal {U}_\ell } z'_j \ge k'\) and (iii) \(z'_j \le \tau \le (1-1/e)\) for all \(e_j \in \mathcal {U}_\ell \).

Consider \((x'',z'')\) obtained from \((x',z')\) as follows. For each \(e_j \in \mathcal {U}_\ell \) set \(z''_j = \frac{1}{\tau } z'_j\) and note that \(z''_j \le 1\). For each set \(S_i\) set \(x''_i = \min \{1,\frac{1}{\tau } x'_i\}\). It is easy to see that \((x'',z'')\) is a feasible solution to PSC-LP. Note that \(Z = \sum _{e_j \in \mathcal {U}_\ell } z''_j \ge \frac{1}{\tau } k'\). Let \(B = \sum _i w_i x''_i \le \frac{1}{\tau }\sum _i w_i x^*_i\). The fractional solution \((x'',z'')\) is also a feasible solution to the LP formulation MBC-LP. We apply Lemma 2.1 to this fractional solution. Suppose we stop Greedy when it covers \(k'\) elements or when it first crosses the budget B, whichever comes first. Clearly the total weight is at most \(B + \max _i w_i\). We argue that at least \(k'\) elements are covered when we stop Greedy. The only case to argue is when Greedy is stopped when the weight of sets picked by it exceeds B for the first time. From Lemma 2.1 it follows that Greedy covers at least \((1-1/e)Z\) elements but since \(Z \ge \frac{1}{\tau } k'\) it implies that Greedy covers at least \(k'\) elements when it is stopped. \(\square \)

We formally state a lemma to bound the cost of covering \(\mathcal {U}_h\). The proof of this lemma is identical to that of Lemma 4.3, and therefore omitted.

Lemma 6.2

The cost of covering \(\mathcal {U}_h\) is at most \(\beta \frac{1}{\tau }\sum _i w_i x^*_i\).

Finally, we can analyze the approximation guarantee of the overall solution.

Theorem 6.3

Setting \(\tau = (1-1/e)\), the algorithm outputs a feasible solution of total cost at most \(\frac{e}{e-1}(\beta + 1) \textsc {OPT}\) where \(\textsc {OPT}\) is the value of an optimum integral solution.

Proof

Fix an optimum solution. Let W be the weight of a maximum weight set in the optimum solution. In the first step of the algorithm we can assume that the algorithm has correctly guessed a maximum weight set from the fixed optimum solution. Let \(\textsc {OPT}' = \textsc {OPT}- W\). In the residual instance the weight of every set is at most W. The optimum solution value for PSC-LP, after guessing the largest weight set and removing it, is at most \(\textsc {OPT}'\). From Lemma 6.2, the cost of covering \(\mathcal {U}_h\) is at most \(\frac{e}{e-1}\beta \textsc {OPT}'\). From Lemma 6.1, the cost of covering \(k'\) elements from \(\mathcal {U}_\ell \) is most \(\frac{e}{e-1}\textsc {OPT}' + W\). Hence the total cost, including the weight of the guessed set, is at most

$$\begin{aligned}&W + \frac{e}{e-1}\beta \textsc {OPT}' + \frac{e}{e-1}\textsc {OPT}' + W \\&= \frac{e}{e-1}(\beta + 1) \textsc {OPT}+ W (2 - \frac{e}{e-1}(\beta +1))\\&\le \frac{e}{e-1}(\beta + 1) \textsc {OPT}\end{aligned}$$

since \(\beta \ge 1\). \(\square \)

7 Concluding remarks

The paper shows the utility of viewing Partial-SC and its generalizations as special cases of Multi-Submod-Cover. The coverage function in set systems is a submodular funtion that belongs to the class of sum of weighted matroid rank functions. Certain ideas for the coverage function extend to this larger class. Are there interesting problems that can be understood through this view point? Are there other special classes of submodular functions for which one can obtain uni-criteria approximation algorithms for Multi-Submod-Cover unlike the bicriteria one we presented? An interesting example is the problem considered in Har-Peled and Jones (2018). The algorithm in this paper for Multi-Partial-SC, like the ones in Bera et al. (2014), relies on using the Ellipsoid method to solve the LP with KC inequalities. It may be possible to avoid the inherent inefficiency in this way of solving the LP via some ideas from recent and past work (Carr et al. 2000; Chekuri and Quanrud 2019).