The Primal-Dual Greedy Algorithm for Weighted Covering Problems
Britta Peis, Jos\'e Verschae, Andreas Wierz

TL;DR
This paper introduces a primal-dual greedy algorithm framework for weighted integer covering problems, providing approximation guarantees under certain system properties, and generalizing several classical results.
Contribution
It develops a unified approximation framework for weighted covering problems using primal-dual greedy algorithms with new conditions called greedy systems.
Findings
Approximation factor at most 2Ξ΄+1 for feasible solutions.
Framework generalizes and matches classical primal-dual approximation results.
Provides insights into flow cover problems on a line.
Abstract
We present a general approximation framework for weighted integer covering problems. In a weighted integer covering problem, the goal is to determine a non-negative integer solution to system minimizing a non-negative cost function (of appropriate dimensions). All coefficients in matrix are assumed to be non-negative. We analyze the performance of a very simple primal-dual greedy algorithm and discuss conditions of system that guarantee feasibility of the constructed solutions, and a bounded approximation factor. We call system a \emph{greedy system} if it satisfies certain properties introduced in this work. These properties highly rely on monotonicity and supermodularity conditions on and , and can thus be seen as a far reaching generalization of contra-polymatroids. Given a greedy system , we carefully construct aβ¦
| Approximation factor | ||
| Problem | Best known | Our bound |
| Optimization over contra-polymatroids | 1 [9] | 1 β |
| Knapsack cover | 2 [6, 25] | 2 β |
| Subset cover | [8] | β |
| -Contra-polymatroid intersection | [24] | β |
| Flow cover on lines | [2] | β |
| none | ||
| Knapsack cover with precedence constraints | [25] | β |
| Generalized steiner tree | [22] | β |
| Minimum multicut on trees | [19] | β |
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsComplexity and Algorithms in Graphs Β· Optimization and Search Problems Β· Computational Geometry and Mesh Generation
The Primal-Dual Greedy Algorithm for Weighted Covering Problems
Britta Peis
RWTH Aachen University, {peis,wierz}@oms.rwth-aachen.de
JosΓ© Verschae
Pontificia Universidad CatΓ³lica de Chile, [email protected]
Andreas Wierz
RWTH Aachen University, {peis,wierz}@oms.rwth-aachen.de
Abstract
We present a general approximation framework for weighted integer covering problems. In a weighted integer covering problem, the goal is to determine a non-negative integer solution to system minimizing a non-negative cost function (of appropriate dimensions). All coefficients in matrix are assumed to be non-negative. We analyze the performance of a very simple primal-dual greedy algorithm and discuss conditions of system that guarantee feasibility of the constructed solutions, and a bounded approximation factor.
We call system a greedy system if it satisfies certain properties introduced in this work. These properties highly rely on monotonicity and supermodularity conditions on and , and can thus be seen as a far reaching generalization of contra-polymatroids. Given a greedy system , we carefully construct a truncated system containing the same integer feasible points. We show that our primal-dual greedy algorithm when applied to the truncated system obtains a feasible solution to with approximation factor at most , or if is non-negative. Here, is some characteristic of the truncated matrix which is small in many applications. The analysis is shown to be tight up to constant factors.
We also provide an approximation factor of if the greedy algorithm is applied to the intersection of multiple greedy systems. The parameter is always bounded by the number of greedy systems but may be much smaller. Again, we show that the dependency on is tight.
We conclude this paper with an exposition of classical approximation results based on primal-dual algorithms that are covered by our framework. We match all of the known results. Additionally, we provide some new insight in a generalization of the flow cover on a line problem.
1 Introduction
Throughout this paper, we discuss integer covering problems of the form
[TABLE]
where , , and . We denote the row index set by and the column index set by . The entries of matrix are denoted by for row and column / item , and can be interpreted as the weight of element with respect to row / constraint . We call the constraints weighted covering constraints since they ensure that the sum of weights of the multiplicities of items selected into a solution cover , for each . Throughout, we call the rank of , and denote the support of by . Note that the non-negativity assumption on the cost vector is non-restrictive, as variables with non-positive objective value may be selected infinitely often, thus, either rendering constraints redundant or rendering the problem instance unbounded. For ease of notation, we assume that there is a trivial row with and . And without loss of generality, we assume that there is some row with .
Many interesting combinatorial optimization problems can be formulated in this manner: subset cover, cut covering, optimization over contra-polymatroids, and the knapsack cover problem, to mention just a few. Consider, for example, the special case where is the incidence matrix of the family of all subsets of a finite set . That is, and, for each subset , if , and , otherwise. If satisfies the three conditions (i) , (ii) whenever , and (iii) for all , the polytope corresponding to system is called contra-polymatroid. The well-known primal-dual (contra-) polymatroid greedy algorithm [9] determines for each cost function an optimal integral solution for and its dual linear program
[TABLE]
The polymatroid greedy algorithm will be described below. Conditions (ii) and (iii) are usually called monotonicity and supermodularity, respectively. The goal of this paper is to develop and analyze an extension of the primal-dual polymatroid greedy algorithm towards more general systems which may consist of an arbitrary integral matrix and an arbitrary rank function . Our primal-dual algorithm will return primal and dual candidate solutions, and with the properties: is a feasible solution to the dual problem (D), and is an integral vector. We establish conditions on system which guarantee 1) feasibility of the primal solution and 2) a bounded performance guarantee. We distinguish a primal and dual phase of the algorithm. During the dual phase, the algorithm constructs a feasible dual solution together with a collection of bottleneck elements corresponding to a set of tight dual constraints with respect to . The primal phase assigns non-negative integral values to the bottleneck elements in such a way that the primal constraints are fulfilled at least on the support of .
Dual phase.
In general, given a feasible dual solution , we call augmentable if there exists some positive amount such that remains a feasible solution (here, as usual, is all-zero, except for component , which is ). Recall the dual phase of the polymatroid greedy algorithm: Starting with the all-zero vector , the algorithm iteratively selects an augmentable of largest rank (as long as augmentable variables exist), and raises as far as possible, that is, until the dual constraint of some element becomes tight. If we define the support of by , the algorithm always selects an augmentable with inclusion-wise maximal set . A similar dual greedy approach can be applied to general packing problems of type (D) with arbitrary matrix . In fact, it is probably the most naive approach one can think of: Take some precedence rule on the row index set such that the rank is monotone with respect to the precedence rule, that is, implies . Apply the following iterative procedure.
Initially, let . 2. 2.
While
- (a)
Select with maximum. If there are multiple choices, select one which is maximum with respect to . 2. (b)
STOP if . 3. (c)
Raise until some element becomes tight. 4. (d)
Add to and iterate with .
Certainly, this approach always returns a feasible dual solution . The performance of this algorithm can, however, be arbitrarily bad, even in case of binary matrices. In order to get upper bounds on the performance guarantee of the algorithm, let us first extend the dual phase by an associated primal phase.
Primal phase.
Note that, for each problem of type (D), the dual greedy algorithm returns a feasible dual solution whose support forms a sequence
[TABLE]
in the order in which variables were considered during the dual phase. Here, we assume that is actually not raised but used in the STOP criterion 2b). Recall that we assumed that there is always some trivial row in with and . Thus, the STOP criterion is reached after at most iterations. Moreover, the choice of variables to be increased during the dual phase implies . Let be the associated bottleneck-elements satisfying
[TABLE]
In the special case where describes a contra-polymatroid, the sequence corresponds to a chain of sets with and for . Moreover, the chain satisfies . The primal phase of the polymatroid greedy algorithm simply constructs a primal vector by setting and for down to .
A natural extension of the polymatroid greedy algorithm towards more general systems is the following procedure: Given the sequence and as constructed during the dual phase, set
[TABLE]
Here, is the positive part of the rank. Our primal-dual greedy algorithm for weighted covering and packing problems of type (P) and (D) consists of the concatenation of the dual and primal phase as described above. In this paper, we discuss properties of system that ensure the following two properties of the primal-dual greedy algorithm: (1) the primal greedy solution is feasible and (2) has a bounded performance guarantee. We also provide complementing complexity theoretical results and lower bounds on integrality gaps under the assumed properties.
Related work.
Integrality of polyhedra described by systems plays an important role in combinatorial optimization. Probably one of the most-famous conditions of a system in order to guarantee integrality of the polyhedron is totally-unimodularity of matrix and integrality of , which was discussed by Hoffmann [23]. The same effect appears if is totally dual integral, a condition introduced by Giles and Pulleybank [20].
Instead of solving a linear program to optimality via a general purpose linear programming algorithm, the primal-dual method was widely used in order to obtain optimal solutions. Many classical algorithms can also be cast as primal-dual methods, see e.g.Β Williamson and Shmoys [28] or Papadimitriou and Steiglitz [26] for an overview of such connections. For matrices with coefficients in , many structural properties ensuring optimality of the primal-dual method were studied. Optimization over polymatroids is probably one of the most famous results of this type due to Edmonds [9]. Following this result, lots of generalizations were established, such as [10, 11, 12, 13, 14, 16, 17, 18], to mention just a few. Sub- or supermodularity of (and/or ) usually plays an important role in these optimality results.
Almost four decades ago, the primal-dual method was first used in order to obtain approximation algorithms for integer programs. Bar-Yehuda and Even obtained a primal-dual approximation algorithm for vertex cover [3]. Following this work, network design problems were considered e.g.Β by Agrawal et al. [1] or Goemans and Williamson [21]. The latter introduced a fairly general framework which applies to lots of network design problems modelled via so-called proper functions. See e.g.Β Bertsimas and Tao [4], Williamson and Shmoys [28] or Vazirani [27] for surveys.
Still, most approximation results in this direction consider only matrices with coefficients in . Carnes and Shmoys [6] considered the knapsack cover problem and showed that a formulation with strengthened inequalities can be solved via the primal-dual method. The strengthening is due to Carr et al. [7]. Bar-Noy et al.Β [2] solved the flow cover on a line problem via a local-ratio technique. This technique can equivalently be seen as a primal-dual approach.
Our contribution and structure of the paper.
We call a system a greedy system, if it satisfies certain properties which are formalized in Section 2. Intuitively, these properties can be seen as generalizations of properties that define matroids. In contrast to matroids, however, our results do not necessarily provide optimum solutions but only approximation guarantees. Despite the fact that greedy systems can have an unbounded integrality gap, we can show that a careful truncation of coefficients of matrix obtains strong approximation results. We provide an approximation factor of or , if is non-negative. Under certain conditions, the additional factor of vanishes. The characteristic depends on the range of coefficients in the truncated matrix, which is small in many applications. We also show that there are greedy systems such that the ratio between an optimum dual solution and the dual solution constructed by the greedy algorithm is . This implies that the dependency on in our approximation ratio can not be improved (up to constant factors) unless the type of solution computed in the dual phase is changed. Finally, we show that the properties required for a greedy system are necessary in order to ensure that the discussed greedy algorithm always obtains a feasible solution.
To be able to further increase our modelling power, we provide a generalization in Section 3. The generalization can be seen as a composition of system of multiple greedy systems on the same column set. We call such a system a greedy product system. For greedy product systems, we can obtain similar results, proving approximation guarantees of , or if the truncation is a binary matrix. Here, is a characteristic that is problem specific, but small in the discussed applications. Again, we can show that the dependency on can not be improved unless the type of solution constructed in the dual phase is changed.
Table 1 contains some exemplary results derivable from this paper. A detailed discussion of the table including a description of the problems and all proofs can be found in the appendix. Although the result regarding subset cover does not coincide with the best-known result, this discrepancy is possibly expected. To the best of our knowledge, no logarithmic approximation guarantee based on a primal-dual analysis for subset cover is known. Instead, primal averaging arguments are commonly used. The result for flow cover on lines was not known before and looks like a promising direction of further modelling applications.
2 Sufficient conditions for feasibility and bounded performance
In this section, we will discuss sufficient conditions for system in order to ensure that the primal solution obtained by the primal-dual greedy algorithm (from the previous section) is always feasible and has a bounded performance guarantee. Throughout this section, we assume that some given partial order is fixed which is used in order to choose a dual variable to be increased.
We call a system a greedy system (with respect to ), if it satisfies the following properties. Whenever we talk about a greedy system in the remainder of this work, we always assume that this is with respect to this fixed partial order. In order to simplify notation, we will use to denote the row with . One of the subsequent properties will ask for the support of rows to be unique, hence, we can talk about the rows.
- (Prop1)
is monotone non-decreasing on : for all . 2. (Prop2)
For each element , is monotone non-decreasing on : for all . 3. (Prop3)
is a modular lattice with join and meet such that with implies . Moreover, we require that for all and it is true that . 4. (Prop4)
The system is weighted supermodular on :
[TABLE]
In this paper, we will often talk about matrix being monotone. By this, we mean that (Prop2) holds. A partial order is called a lattice if for any two elements there is a unique least common upper bound (join ) and a unique greatest common lower bound (meet ). In case of the Boolean lattice , the join and meet are set union and intersection, respectively. A lattice is called modular, if for all with the following holds: . A subset is called a chain if the ordering relation yields a total order of . A chain is called dense, if there is no which can be added to without violating the chain property. Modularity will be an important property as it implies the following: Let and consider any dense chains and . Modularity implies that there is an isomorphism (c.f.Β Theorem 13 in [5]). The fact that this isomorphism exists will help in order to prove feasibility and a bounded approximation factor of our constructed primal solution. For more information on lattice theory, see e.g.Β [5].
Note that (Prop2) and the fact that the support of row equals implies that the support on chains is monotonically increasing, that is, implies . For a row and element , we use the notation to denote the maximum row , which does not contain element in its support. Observe that always returns a unique element due to Lemma 2. The removal of an element from the lattice obtains a sublattice of . Note that , if . The function has a strong connection with LineΒ 2d) in the dual phase of the greedy algorithm: If is the support of the dual solution obtained with bottleneck elements , then . In order to make this observation, it is helpful to realize that the restriction in LineΒ 2d) describes a sublattice of . Since is a lattice, it always contains a unique maximum element (the join of all elements). Hence, also the row chosen in LineΒ 2a) will always be unique. And due to (Prop1), the maximum row will also have the maximum rank value. In other words, instead of computing the sublattice in iteration of LineΒ 2d) explicitly, we can select in order to choose the row to be considered in the subsequent iteration.
We will use two observations in the following sections. These will ensure that the step in Line 2d) maintains the properties of a greedy system.
Lemma 1**.**
Let and , then .
Proof.
See appendix for the proof. β
Lemma 2**.**
Let be a greedy system and . Then the system restricted to is a greedy system.
Proof.
See appendix for the proof. β
Feasibility.
Let us assume that the greedy algorithm returns the dual solution with support (in the order the sets occurred during the dual phase) and bottleneck elements , and let be the corresponding primal vector. Then .
First, note that (Prop1) and (Prop2) and the choice of in every iteration ensures that forms a chain in . Moreover, the rank differences considered in order to construct are always non-negative. Hence, will be a non-negative vector. The following Lemma 5 shows that it will also be a feasible primal solution.
Before we prove feasibility of , we will obtain two simple observations. The first is regarding the marginal increase version of supermodularity, the second is regarding the behavior of elements just before the rank becomes negative.
Lemma 3**.**
Let and let . Then .
Proof.
See appendix for the proof. β
Lemma 4**.**
Let and let such that and . Then
Proof.
See appendix for the proof. β
Lemma 5**.**
Let be a greedy system and let be obtained by the primal-dual greedy algorithm. Then is feasible for .
Proof.
Let be the support of . Again, we assume that was used during the STOP criterion, that is, . Let be any row with . We will show that holds, where denotes the row of induced by index . Let be the bottleneck elements and let us consider the following chain: for . Then , as . Moreover, for all , holds due to modularity of the lattice.
Note that the chain may contain the same element multiple times, that is, may hold for some . In this case, . Let be the maximum index such that has positive rank. An important observation is that . If this was not the case, , hence, , that is, could be increased. Moreover, let be the index set of all distinct chain elements, prior to element .
Then
[TABLE]
The second inequality uses the definition of and the definition of index set . In the third inequality, we use the fact that only is possibly negative, hence, all coefficients in the sum were positive.
The proof is almost concluded. If , we have
[TABLE]
which implies . Note that Lemma 4 is applicable, as and, moreover, , which implies by (Prop1), that .
If , then
[TABLE]
which concludes the proof as , by choice of . β
Unfortunately, formulations satisfying (Prop1) - (Prop4) may have an unbounded integrality gap. The integrality gap of an integer program is the ratio between the value of an optimum fractional solution and the value of an optimum integral solution. Consider for example the knapsack cover instance It can be reformulated in such a way that the explicit variable upper bounds are no longer required. In its reformulated version, the system satisfies (Prop1) - (Prop4) and has an integrality gap of .
In order to obtain a stronger LP relaxation of (P), we will truncate the coefficients of matrix . This will yield a stronger relaxation without cutting off any integer feasible solutions.
Definition 1**.**
Let be a greedy system and define with coefficients as follows. For and , set . We call the system the truncation of .
The truncation ensures that the coefficient of an element with respect to row reflects at most the difference between the positive parts of ranks and . The row is chosen in such a way that it is the first row in which the coefficient of will vanish with respect to row . Hence, intuitively, variables with a positive coefficient have to ensure that the residual rank is covered. Hence, larger coefficients should not help.
We will now prove that the truncated system
[TABLE]
contains the same integer feasible points as the original system (P).
Lemma 6**.**
Let be a greedy system with truncation and let . Then if and only if .
Proof.
See appendix for the proof. β
The truncated system (T) no longer necessarily satisfies (Prop4). However, will still be monotone and both polyhedra describe the same integer points. Hence, one might ask if we can still apply the greedy algorithm to (T) in order to obtain a feasible solution. And this is indeed true as shown in the following Lemma.
Lemma 7**.**
The greedy algorithm applied to the truncation (T) of a greedy system obtains a feasible primal solution to (T) and (P).
Proof.
See appendix for the proof. β
Note that, in case of the knapsack cover problem, the truncation coincides with the polyhedron discussed in [6], which has an integrality gap of at most 2. One might hope that the integrality gap of the truncation is always bounded by a small constant. But let us proceed with some negative results before we derive an approximation guarantee.
Inapproximability and integrality gaps.
We can construct simple examples with an integrality gap linear in the number of elements. Moreover, we can show that one can not expect a approximation unless .
Proposition 1**.**
The subset cover problem can be modeled in the form (P) as a greedy system . Hence, no approximation for (T) exists unless .
Proof.
See appendix for the proof. β
Proposition 2**.**
There exists a family of instances such that the truncation (T) has an integrality gap linear in the number of elements.
Proof.
See appendix for the proof. β
Approximation guarantee.
The preceding two results might suggest that the truncation does not help in order to obtain general approximation guarantees. But a deeper look into the required properties of reveals a better understanding. In both constructions, the efficiency of elements dropped drastically before dropping to zero. The instance considered in Proposition 2, is very simple and defined on the Boolean lattice with . Each element has the same weight for all and the rank function is symmetric and defined as . That is, for is positive if and only if . Moreover, the marginal differences are exponentially decreasing with decreasing cardinality of set . This implies that the truncation has large coefficients and very small coefficients for with (assuming even). In particular, holds for these sets, which will pose as an issue for small approximation factors. A similar effect may appear if the ratio between coefficients in the matrix is large, that is, if holds for some and .
Let us consider the following parameter as a measure of the range of efficiency of elements. Given and , define
[TABLE]
and let . Then can be used in order to bound the ratio between coefficients in matrix . Note that we excluded certain rows and elements from the bound in order to possibly make it smaller. If the rank is non-negative, this does not have any impact. However, if the rank is possibly negative, we get better bounds as we will see later.
And indeed, we can estimate the quality of a solution obtained by the greedy algorithm in terms of as the following theorem shows. The role of in the theorem can be seen as follows. Recall how the primal phase constructs the vector in (1). For , the rounding does not affect for any bottleneck element , that is, the vector will naturally be integral and, in particular, will hold for all . If , the rounding may have an impact on . In this case, it is easy to see that the marginal rank differences are oversubscribed by at most a factor of two, that is, .
Theorem 1**.**
Let be a solution returned by the primal-dual greedy algorithm applied to the truncation (T) of a greedy system . Then the cost of is no larger than , if is non-negative, and , otherwise. Here, , if for all and with , and , otherwise.
Proof.
In this version, we provide only a brief outline of the proof techniques for with possibly negative rank. The full proof can be found in the appendix.
Let be the dual chain constructed by the algorithm, where and let be the bottleneck elements.
Consider the lefthandside coefficients of any index . For element with index , we can use to bound the coefficient in , as . This is true since is modular, hence, .
[TABLE]
The first inequality is due to the definition of . The subsequent equality is due to the construction of in such a way that it covers the rank differences in each iteration.
Note that this argument does not necessarily hold for the final element as the definition of does not cover this element if and . If , then .
But implies . Hence, we can use and get
[TABLE]
A simple union bound yields
[TABLE]
Hence, for the constraint corresponding to , we get:
[TABLE]
In the first equality in the second row, we use that the sum is telescopic.
This implies the following approximate complementary slackness conditions: If , then . Moreover, the primal solution is constructed in such a way that implies . Hence, standard techniques for primal-dual approximation algorithms can be used to conclude the proof. The other cases are proven analogously and can be found in the appendix. β
Hence, if is bounded by a small constant, we can show that the greedy algorithm obtains good solutions. Note that the instance from Proposition 2 shows that the integrality gap of a truncation can be of order . We can also show that the analysis in Theorem 1 is essentially tight.
Corollary 1**.**
There exists a family of instances such that the truncation (T) of a greedy system has integrality gap .
Proposition 3**.**
The analysis in Theorem 1 is tight up to constant factors.
Proof.
See appendix for the proof. β
To round up this section, we will see that all properties (Prop1) - (Prop4) are necessary in the sense that the removal of any of them results in a situation where the greedy algorithm does not provide a feasible solution. While this does not rule out that other greedy algorithms may perform nicely, it points out certain limits of this analysis.
Proposition 4**.**
Suppose that a system satisfies (Prop1) - (Prop4) except for any one of the properties. Then the greedy algorithm does not necessarily terminate with a feasible solution.
Proof.
See appendix for the proof. β
3 Generalization to multiple greedy systems
Although greedy systems already capture some well-known problems such as knapsack cover or optimization over contra-polymatroids, the modelling techniques are limited. In this section, we discuss a generalization towards problems that are composed of multiple greedy systems on the same column set. A full version of this section can be found in the appendix. Due to space limitations, we discuss only a brief overview of the main results without proofs.
Again, let be the index set of columns. Let be a family of subsets of with some partial order associated. Moreover, we will assume that is actually a lattice with join and meet . This family will be used similar to the previous section, it will also satisfy the properties elaborated in the previous section. In particular, we will assume that the sets in are pairwise different. Moreover, let be a family of subsets of . Multiple copies of the same subset are allowed in . Let , and . This time, the rows of matrix are indexed by tuples . The coefficients of matrix are denoted by for row and column indexed by . We will require for all , that is, the support of each row of matrix indexed by a tuple equals the intersection of and . If , the situation from Section 2 will be recovered.
We are interested in conditions of system such that problems of type
[TABLE]
admit a bounded approximation guarantee via a simple primal-dual greedy algorithm.
In order to use the primal-dual greedy algorithm from Section 1, we need an ordering on which chooses the variables to be increased during the dual phase. Note that we already assumed that is a partial order on . We will assume that some additional partial orders are provided as follows. For every , let be a partial order of . The partial orders are not required to be correlated in any way. With these orderings, we compose the following lexicographic ordering for :
[TABLE]
We use to denote the subsystem of induced by fixing a set . Precisely, we say that , where with coefficients and . Note that the ordering of restricted to a subsystem is consistent in the way that a chain in will induce a chain in every subsystem . For any we use the notation to denote the restriction of to a subsystem of that does not contain element in its support (with respect to the -component). Note that the operation is assumed to have no effect on the component, that is, we will observe tuples with .
The previous section elaborated that (Prop1) - (Prop4) are useful in order to prove approximation guarantees for subsystems . In this section, we will assume that the restricted system satisfies (Prop1) - (Prop4) for all .
Definition 2**.**
A system on (with respect to ) is called a greedy product system, if for every , the subsystem satisfies (Prop1) - (Prop4).
Analogously to Section 2, we consider a truncated version of system . Otherwise, the integrality gap may be unbounded. We apply the truncation from Definition 1 to each subsystem individually and call the resulting system the truncation of .
Definition 3**.**
Let be a greedy product system and define with coefficients as follows. For and , set . We call the system the truncation of .
In this section, we will apply a revised version of the primal-dual greedy algorithm to system
[TABLE]
and prove a bounded approximation guarantee similar to the previous section.
The revised primal-dual greedy algorithm.
In order to get results similar to Section 2, we need to slightly modify the greedy algorithm from Section 1. This time, we will combine the dual and primal phase in a single algorithm which is given in Figure 1.
In contrast to Section 1, we now increase the dual variable for all maximal tuples with respect to uniformly. Since is a lattice, all variables that are increased simultaneously during a single iteration share the same set . Moreover, by definition of the lexicographic order, they share the same rank value . If each partial order for exposes a single element, will also expose a single element.
We also adapt the construction of for bottleneck elements. This time, we consider all rank differences of sets and set sufficiently large as to cover all these differences. The element was chosen in such a way that it is the element that is considered in the subsequent iteration of the main loop. This will ensure primal feasibility.
Finally, we add an additional cleanup phase. This will be beneficial, as variables from later iterations may render variables from previous iterations redundant. In this case, we may carefully decrease variables in a post-processing step. In general, deciding if a variable can be decreased by one may be a non-trivial task. Moreover, determining the maximum in LineΒ 2d) is not simple, either. In Table 1 we provided some examples in which this is possible.
Approximation guarantee for the revised greedy algorithm.
Similar to Section 2, we can show that the truncation of a greedy product system does not cut off any integer feasible points. Moreover, we can show that the greedy algorithm always obtains feasible primal solutions. Due to space restrictions, we omit all feasibility results and provide only a summary regarding the approximability.
Lemma 8**.**
Without the cleanup phase in LineΒ 3, an analysis similar to TheoremΒ 1 for a greedy product system results in an approximation factor of at least .
In order to characterize the influence on elements in terms of the cleanup phase, let us consider a solution obtained by the revised greedy algorithm. To get an intuition, let us assume for a second that the algorithm increased a single dual variable in each iteration, that is, LineΒ 2a) returned a single maximum tuple in each iteration. Let be the constructed dual chain be the bottleneck elements. As in the previous section, .
During the cleanup phase, the value of element was not further reduced because either , or there is at least one tuple such that
[TABLE]
We call this tuple a witness of bottleneck element . Note that this tuple was not necessarily considered in LineΒ 2a).
But let us suppose that some element has a witness on the dual chain (). Then , otherwise . The definition of witnesses implies
[TABLE]
In other words, if every tuple of the dual chain was a witness for some element , then would be a -approximation for (T) by standard primal-dual approximation arguments (c.f.Β proof of TheoremΒ 1). Of course, we can not expect this to happen in general. But the following observation establishes a strong connection between witnesses and elements on the dual chain. We will now cover the case that (possibly) multiple dual variables were increased simultaneously.
We define a multiplicity witness-cover as follows. Let be a family of tuples that were increased simultaneously in one iteration of the revised algorithm. In this case, the rank value of all these tuples equals by definition of .
We call a multiplicity witness-cover of , if each tuple is a witness for some element , and every element with appears at least as often in , as it appears in . That is, for all ,
[TABLE]
If is of small cardinality, we can show that is a good approximation.
We generalize our definition of from Section 2 slightly to cover this case. Given , let
[TABLE]
and set . The following Theorem 2 yields bounds on the solution cost, depending on being binary or a general matrix. Finally, Proposition 5 shows that the dependency on is inherent in the type of dual solution constructed.
Theorem 2**.**
Let be a greedy product system and let . Let be the solution obtained by the revised greedy algorithm with dual support in iteration . If each family has a witness cover of size at most , then has cost no larger than .
If, additionally, the truncation is a binary matrix, then the solution has cost bounded by .
Proposition 5**.**
For every there is a greedy product system with truncation such that the dual obtained by the revised greedy algorithm has optimality gap .
Appendix
Proofs from Section 2
See 1
Proof.
We will show that .
[TABLE]
β
See 2
Proof.
In order to prove the lemma, we need to ensure that (Prop3) is still satisfied. The remaining properties will clearly hold.
First of all, let us ensure that will be a lattice. Suppose this was not the case and let be two maximum elements. Then . This implies that , which contradicts to the last statement in (Prop3).
It remains to show that is modular. Suppose it was not modular, then by [5] Theorem 12, we know that contains a sublattice isomorphic to . Note that is a -cycle. For ease of notation, let denote the minimum and maximum elements in and let be the non-extreme elements such that and and are incomparable. Since is modular, there are two cases (with respect to ).
- β’
with . This implies that but , contradicting to (Prop2).
- β’
with . Again, and . Hence, a contradiction to (Prop2).
Hence, is modular. The proof is concluded. β
See 3
Proof.
Let us apply (Prop4) with and . Due to modularity, we have and . Moreover, . Hence,
[TABLE]
See 4
Proof.
We will derive this property from the statement of Lemma 3. We will show the following:
[TABLE]
The proof is almost concluded by reformulating the terms:
[TABLE]
The proof is concluded. Note that by modularity of the lattice. Hence, (Prop1) implies . Moreover, by (Prop2), . Since both, , the result follows. β
See 6
Proof.
First, let us show that is monotone increasing. Therefore, let us consider with . We will show . If , this is certainly true due to Lemma 3 and (Prop2). If both, and , the result is implied by monotonicity of . Finally, if , we have
[TABLE]
Since is the minimum of two monotone increasing functions, it is also monotone increasing.
Suppose that . By definition of the truncation, we get
[TABLE]
for all . Hence, .
Now, let us assume that and let be a row violated in that has minimum cardinality among all such rows. Let with and , where . If , then implies , hence, we assume that . If there was no such element, all coefficients of positive variables in row in (P) and (T) coincide, hence, the constraint can not be violated. By minimality of , we have Moreover,
[TABLE]
Hence, we can conclude
[TABLE]
which is a contradiction. β
See 7
Proof.
Let us assume that the greedy algorithm terminated with a vector with chain of dual variables and positive variables for bottleneck elements . For , the algorithm sets such that it satisfies
[TABLE]
Note that the proof of LemmaΒ 5 did not rely on the fact that the dual solution was constructed by the greedy algorithm. In fact, the proof shows feasibility, whenever the chain can be constructed via the function , the final element of the chain has non-positive rank and the primal vector was chosen as in the primal phase of the algorithm. Hence, LemmaΒ 5 is applicable and is feasible for (P). By Lemma 6, the solution is also feasible for (T), which concludes the proof. β
See 1
Proof.
Let us consider a subset cover instance with groundset and subsets with cost , . Let . The goal is to find a collection of subsets of minimum cost which covers all elements. We will show that the following formulation is valid for subset cover:
[TABLE]
with . Moreover, we will see that it satisfies (Prop1) - (Prop4).
First, let us evaluate the properties with respect to the Boolean lattice. Since the coefficients of are constant, (Prop2) is satisfied. Moreover, (Prop1) clearly also holds and, since the coefficients in every column take on a single non-zero value. Finally, let us evaluate that is supermodular. Hence, (Prop4) will hold. Therefore, let and let . Then and
[TABLE]
Now, let us verify that (S) is a valid formulation for subset cover. Let be the incidence vector of a feasible subset cover solution and let be any constraint with positive rank, then
[TABLE]
and for the constraint, we get
[TABLE]
Finally, every feasible solution in (S) is also a feasible subset cover. Suppose not, then and . But has zero lefthandside value for this constraint which contradicts to the feasibility of in (S).
Since both objective functions coincide, an -approximation for the truncation (T) yields an -approximation for (S). The proof is concluded as there is no approximation for subset cover unless [15]. β
See 2
Proof.
For a given number , let us define elements . We will consider the Boolean lattice and an according system with with , if and zero otherwise with cost . Define for all .
Let be any feasible solution to (T). Since for any subset of elements of cardinality at least , the rank is positive, an optimum solution has cost at least . Now, let us consider the fractional solution . For any row with cardinality , we have:
[TABLE]
If is of smaller cardinality, . Hence, is feasible. Moreover, the cost . β
See 1
Proof.
Let be the dual chain constructed by the algorithm, where and let be the bottleneck elements.
Consider the lefthandside coefficients of any index . For and for element with index , we can use to bound the coefficient in , as . This is true since is modular, hence, .
[TABLE]
The first inequality is due to the definition of . The subsequent equality is due to the construction of in such a way that it covers the rank differences in each iteration.
If , we analogously get:
[TABLE]
Note that this argument does not necessarily hold for the final element as the definition of does not cover this element if and . If , then .
But implies . Hence, we can use and get
[TABLE]
And analogously, if , we have:
[TABLE]
A simple union bound yields
[TABLE]
Hence, for the constraint corresponding to , we get:
[TABLE]
In the first equality in the second row, we use that the sum is telescopic.
Now, if is non-negative, we have , hence, the inequalities we derived for also hold for index , that is, for the final element. Recall that this is due to the fact that, in this case, the definition of also applies for the element . Hence, similarly, we have
[TABLE]
For the remaining part, let , if is non-negative, and , otherwise. This implies the following approximate complementary slackness conditions: If , then . Here, denotes the row of induced by index . Moreover, the vector has positive coefficients only for tight elements, that is, implies . Hence, the total cost of the solution can be rewritten as:
[TABLE]
The latter step is due to being feasible for the dual of the relaxation of . In other words, it is a lower bound on the optimal objective function value. β
See 3
Proof.
We will show the following result: For every there is a greedy system such that
the truncation (T) does not have an integrality gap and 2. 2.
the dual solution obtained by the greedy algorithm has an optimality gap of .
Let us consider the following type of subset cover instance. with subsets for . That is, subset contains the first elements and, additionally, element . Moreover, let for all subsets.
Let us consider the formulation from Proposition 1, that is, and . Note that and , otherwise. Then the truncation has coefficients
[TABLE]
In this instance, we have . The greedy algorithm will increase until some element becomes tight. In this case, and all elements become tight simultaneously. Hence, this is the solution the algorithm computes with dual objective value , which will be the lower bound for the primal solution. Since the only feasible primal solution is with cost , the gap between the two is of order .
Note that the optimum dual solution matches this bound. This can be reached, if we set for all , . For every element , we will have . Hence, it is feasible. The dual objective value is .
Hence, the instance does not have an integrality gap, but the gap between a dual solution on a chain and an optimum dual solution can be of order . if we set , the gap will be . β
See 4
Proof.
For each case, we will provide systems .
- β’
Let us suppose that satisfies (Prop1) - (Prop4) except for (Prop1). The following system shows that the greedy algorithm does not terminate with a feasible solution.
[TABLE]
The greedy algorithm will set at which point element 2 becomes tight. It will set and terminate, as . For , the solution will be infeasible.
- β’
Next, let us assume that (Prop2) is not satisfied.
[TABLE]
The algorithm will set . At this point, it will set . Next, and . The solution vector is not feasible for .
- β’
Following, let us assume that does not satisfy (Prop4).
[TABLE]
The algorithm will start with and set in order to cover the rank difference . Afterwards, it will set . At this point, we set . Hence, the algorithm terminates with the solution vector , which is infeasible for .
β
Generalization to multiple greedy systems (full version)
Although greedy systems already capture some well-known problems such as knapsack cover or optimization over contra-polymatroids, the modelling techniques are limited. In this section, we discuss a generalization towards problems that are composed of multiple greedy systems on the same column set.
Again, let be the index set of columns. Let be a family of subsets of with some partial order associated. Moreover, we will assume that is actually a lattice with join and meet . This family will be used similar to the previous section, it will also satisfy the properties elaborated in the previous section. In particular, we will assume that the sets in are pairwise different. Moreover, let be a family of subsets of . Multiple copies of the same subset are allowed in . Let , and . This time, the rows of matrix are indexed by tuples . The coefficients of matrix are denoted by for row and column indexed by . We will require for all , that is, the support of each row of matrix indexed by a tuple equals the intersection of and . If , the situation from Section 2 will be recovered.
We are interested in conditions of system such that problems of type
[TABLE]
admit a bounded approximation guarantee via a simple primal-dual greedy algorithm.
In order to use the primal-dual greedy algorithm from Section 1, we need an ordering on which chooses the variables to be increased during the dual phase. Note that we already assumed that is a partial order on . We will assume that some additional partial orders are provided as follows. For every , let be a partial order of . The partial orders are not required to be correlated in any way. With these orderings, we compose the following lexicographic ordering for :
[TABLE]
We use to denote the subsystem of induced by fixing a set . Precisely, we say that , where with coefficients and . Note that the ordering of restricted to a subsystem is consistent in the way that a chain in will induce a chain in every subsystem . For any we use the notation to denote the restriction of to a subsystem of that does not contain element in its support (with respect to the -component). Note that the operation is assumed to have no effect on the component, that is, we will observe tuples with .
The previous section elaborated that (Prop1) - (Prop4) are useful in order to prove approximation guarantees for subsystems . In this section, we will assume that the restricted system satisfies (Prop1) - (Prop4) for all .
Definition 4**.**
A system on (with respect to ) is called a greedy product system, if for every , the subsystem satisfies (Prop1) - (Prop4).
Analogously to Section 2, we consider a truncated version of system . Otherwise, the integrality gap may be unbounded. We apply the truncation from Definition 1 to each subsystem individually and call the resulting system the truncation of .
See 3
In this section, we will apply a revised version of the primal-dual greedy algorithm to system
[TABLE]
and prove a bounded approximation guarantee similar to the previous section.
The revised primal-dual greedy algorithm.
In order to get results similar to Section 2, we need to slightly modify the greedy algorithm from Section 1. This time, we will combine the dual and primal phase in a single algorithm which is given in Figure 1.
In contrast to Section 1, we now increase the dual variable for all maximal tuples with respect to uniformly. Since is a lattice, all variables that are increased simultaneously during a single iteration share the same set . Moreover, by definition of the lexicographic order, they share the same rank value . If each partial order for exposes a single element, will also expose a single element.
We also adapt the construction of for bottleneck elements. This time, we consider all rank differences of sets and set sufficiently large as to cover all these differences. The element was chosen in such a way that it is the element that is considered in the subsequent iteration of the main loop. This will ensure primal feasibility.
Finally, we add an additional cleanup phase. This will be beneficial, as variables from later iterations may render variables from previous iterations redundant. In this case, we may carefully decrease variables in a post-processing step. In general, deciding if a variable can be decreased by one may be a non-trivial task. Moreover, determining the maximum in LineΒ 2d) is not simple, either. In Table 1 we provided some examples in which this is possible.
Feasibility.
Similar to Section 2, we can show that the truncation of a greedy product system does not cut off any integer feasible points. Moreover, we can show that the greedy algorithm always obtains feasible primal solutions.
Lemma 9**.**
Let be a greedy product system with truncation and let . Then if and only if .
Proof.
We will apply Lemma 6 to each subsystem in order to prove the lemma. For , let us consider the polyhedron described by system , that is,
[TABLE]
For each , the set of integer points in is equal to the set of integer points in
[TABLE]
by application of Lemma 6. Here, we explicitly use the fact that is a greedy product system, hence is a product system and the lemma is applicable. Since a polyhedron described by a matrix can be seen as the intersection of the polyhedra described by any partition of the rows of the matrix, the following holds:
[TABLE]
The proof is concluded. β
Lemma 10**.**
The greedy algorithm applied to the truncation (T) of a greedy system obtains a feasible primal solution to (T) and (P).
Proof.
Let be the solution returned by the algorithm without execution of LineΒ 3. Let be the sets considered by the algorithm and let be the bottleneck elements. Then is satisfied.
Clearly, the cleanup phase will not render infeasible, if it was feasible before. We will show that is feasible for each polyhedron induced by subsystem individually. The proof will be concluded. Let and consider the polyhedron
[TABLE]
Note that LineΒ 2d) ensures
[TABLE]
Moreover, . The proof can be concluded analogously to the proof of Lemma 7: there, we used the same proof as in Lemma 5 in order to obtain feasibility in . Since the polyhedron considered in (P) is the intersection , feasibility in (P) is implied. Feasibility in (T) is concluded by application of Lemma 9. β
Approximation guarantee for the revised greedy algorithm.
In contrast to Section 2, the cleanup phase is necessary in order to obtain good approximation guarantees for greedy product systems.
See 8
Proof.
Let us consider the graph with vertices with and and edges . The edge set will also be the set of columns in the greedy product system that we will consider.
The partially ordered set will be the s-t-cut-lattice consisting of all outgoing edges of cuts in . That is, with the natural ordering (for all ) for , if and only if . A visualization can be found in FigureΒ 3. The lattice will be the Boolean lattice.
We define the rank function and , if and , otherwise and set . The truncation will have the coefficients , if and , or zero otherwise. Let and with .
The revised greedy algorithm will set for all . Moreover, it will set for all . If we consider the constraint for , we have . Hence, if we try to bound the solution cost as in Theorem 1, the approximation factor would be at least of order .
However, the cleanup phase would set for all , and an analysis similar to the one in Theorem 1 would yield optimality of this solution.
β
In order to characterize the influence on elements in terms of the cleanup phase, let us consider a solution obtained by the revised greedy algorithm. To get an intuition, let us assume for a second that the algorithm increased a single dual variable in each iteration, that is, LineΒ 2a) returned a single maximum tuple in each iteration. Let be the constructed dual chain be the bottleneck elements. As in SectionΒ 2, .
During the cleanup phase, the value of element was not further reduced because either , or there is at least one tuple such that
[TABLE]
We call this tuple a witness of bottleneck element . Note that this tuple was not necessarily considered in LineΒ 2a).
But let us suppose that some element has a witness on the dual chain. Then , otherwise . The definition of witnesses implies
[TABLE]
In other words, if every tuple of the dual chain was a witness for some element , then would be a -approximation for (T) by standard primal-dual approximation arguments (c.f.Β proof of TheoremΒ 1). Of course, we can not expect this to happen in general. But the following observation establishes a strong connection between witnesses and elements on the dual chain. We will now cover the case that (possibly) multiple dual variables were increased simultaneously.
We define a multiplicity witness-cover as follows. Let be a family of tuples that were increased simultaneously in one iteration of the revised algorithm. In this case, the rank value of all these tuples equals by definition of .
We call a multiplicity witness-cover of , if each tuple is a witness for some element , and every element with appears at least as often in , as it appears in . That is, for all ,
[TABLE]
If is of small cardinality, we can show that is a good approximation.
We generalize our definition of from Section 2 slightly to cover this case. Given , let
[TABLE]
and set . The following Theorem 2 yields bounds on the solution cost, depending on being binary or a general matrix. Finally, Proposition 5 shows that the dependency on is inherent in the type of dual solution constructed.
See 2
Proof.
In order to prove the result, we will first reformulate the total cost of the solution in terms of the dual variables. Therefore, let be the value by which the dual variables in iteration were increased and let be the rank value of all sets . We will show the following:
[TABLE]
Except for the first inequality, the remaining steps are simple calculus. Hence, the proof is concluded if we can show that for every iteration , the following holds:
[TABLE]
For every , let be a witness for , that is, with and
[TABLE]
By definition of the truncation, this implies that . Then
[TABLE]
The final step is due to the monotonicity of and the choice of the elements to be increased by the algorithm.
If is binary, then the previous step can be modified in order to reflect
[TABLE]
See 5
Proof.
For , let and let , is the Boolean lattice. We assume that for all , the partial order is very simple: if and only if . That is, the partial order exposes the set instead of a singleton. Moreover, let us define the rank function . That is, is positive only if . Let for all .
The greedy algorithm will set . At this point, all elements become tight. Moreover, the greedy algorithm will set for all in order to become feasible. The only witness cover for is the family .
An optimum dual solution would set for all with objective value , matching the primal solution cost. This proves that the instance does not have any gap between an optimum primal and an optimum dual solution. β
Applications
Note, in many proofs in this section, it is convenient to define the matrix in terms of the complement. That is, we consider matrices with respect to a lattice with support of row . Note that the same results hold in this case. Sometimes it is more convenient to formulate problems of this type.
Lemma 11**.**
For a greedy system , let us define
[TABLE]
Then .
Proof.
For with and and , we have:
[TABLE]
Moreover, we have:
[TABLE]
Hence, if , we get
[TABLE]
and if , we get
[TABLE]
which concludes the proof. β
Lemma 12**.**
If holds for all with , then in Theorem 1.
Proof.
implies that holds for all such sets, which implies that . β
Lemma 13**.**
Let be a greedy product system with groundset and incomparable elements . Suppose there are mappings with if and only if . Then for every element there is a witness cover of size at most .
Proof.
If was a witness, it would also be a witness cover for itself. Hence, let us assume it was not a witness cover. Let and let be mappings such that if and only if . With respect to and , let be witnesses such that is chosen maximal, is chosen minimal with this property. The case that only one of the two exists will be handled later.
Now, suppose was not a witness cover for . Then there is some element with . The mapping functions and imply that .
But then, either there exists a witness , which contradicts to the choice of or . Or, if there is no such witness, it contradicts to the cleanup phase. In this case, could be reduced by at least one.
Finally, let us assume that there was just one witness, say , but no witness . In this case, the same arguments apply. If there is some element with , either there is another witness or a larger witness . By symmetry of this argument, the proof is concluded. β
Corollary 2**.**
Suppose there is a parameter and mappings , where . Let be a greedy product system with groundset and incomparable elements . Moreover, let be an assignment of elements to mappings.
Suppose that for every and every , if and only if . Then for every element there is a witness cover of size at most .
Proof.
Let and suppose it is not a witness. For each mapping , let be the set of elements with and .
Then, for every index , Lemma 13 obtains a witness-cover for all elements in of size at most . The union of covers for each index intersecting yields a witness-cover of size at most . β
Application 1**.**
[Optimization over contra-polymatroids] Given a supermodular, non-negative rank and elements with cost . Find a solution to .
* Theorem 1 provides an optimum solution, which coincides with [9].*
Proof.
The problem naturally fits into the form (P) with the Boolean lattice and , if , and zero, otherwise. In this case, , and . Moreover, the rank is non-negative. β
Application 2**.**
[Knapsack cover] Given Elements with weight , cost and multiplicity , find a multiset of elements, each with multiplicity at most , with minimum cost covering .
* Theorem 1 shows a 2-approximation which coincides with [6] (or [25] for ). Also holds if is a separable, monotone increasing, convex function and is a separable, monotone decreasing, concave function. In this case, the running time depends linearly on .*
Proof.
For this proof, we consider the complement of supports in matrix . Let . First, let us consider the case of . Define on the Boolean lattice with . Moreover, let . Then (in Theorem 1) and . The latter is due to the linear relation between and , we have . For the same reason, , as , only if .
Now, for item multiplicities, we can not ensure that , as for , the truncation may yield that the algorithm still has to perform rounding for the final element chosen. This would only get a 3-approximation with Theorem 1.
Instead, let us consider the ring-family induced by the ideals of the following partial order. Let with for all . That is, the copies of each element form a chain. Set and for all elements, that is, each element gets the unit cost and unit increase from the knapsack elements. We also use the same rank function as before, that is, for . The instance has the same parameters as before, hence, yields a 2-approximation with Theorem 1.
Unfortunately, the instance has pseudopolynomially many elements. But a careful implementation of the algorithm can handle this implicitly. There is a bijection between vectors with and the ideals in .
Since all copies of an element are equivalent, all copies will become tight at the same time. Let us assume that the copies of element became tight. At this point, instead of adding one copy after another in up to iterations, we may compute . If , add all copies to the solution and iterate. Otherwise, add only the first copies of element to the solution. The algorithm terminates by choice of and .
Finally, if and are separable, monotone and convex and concave, respectively, we can use the same construction as above. We set the weight and cost of each copy to the marginal differences of the functions, that is, and .
From every solution to (P), we can construct a solution to the knapsack problem. If the support of solution was not an ideal in , we can replace it to become one in a post-processing step without increasing the cost (as was supposed to be convex) and without decreasing the weight (as was supposed to be concave). Moreover, there is a bijection from feasible solution vectors of the knapsack problem to feasible solutions in (P), which are ideals in . In this case, copies of an element no longer become tight at the same time, however, due to and , they will become tight in the order of an ideal. Hence, the algorithm will find solutions which are an ideal. The running time will depend linearly on . β
Application 3**.**
[Subset cover] Given a groundset and subsets with cost , find a set with of minimum cost.
* Theorem 1 provides a -approximation. The best known greedy approximation for this problem yields a -approximation [8].*
Proof.
In the construction from Proposition 1, we have and in Lemma 11. Hence, in Theorem 1. Moreover, , as is non-negative and due to LemmaΒ 12. β
Application 4**.**
[Contra-polymatroid intersection] Given contra-polymatroids , find a vector of minimum cost .
* Theorem 2 yields a -approximation, matching [24].*
Proof.
The value in Theorem 2 is always bounded by . β
Application 5**.**
[Flow cover on lines] Let be a graph and let be paths in such that . Moreover, let be a family of subpaths of . Let and define a weight , cost and let be a demand function. Find a subset of such that every demand is covered and the solution has minimum cost.
* Theorem 2 provides a -approximation, where is the maximum number of paths an edge appears in. For , this matches the best known approximation, obtained by [2]. To the best of our knowledge, no result for was known.*
Proof.
The problem can be formulated as
[TABLE]
with . Apply Corollary 2.
Therefore, for every subpath of , define . Moreover, for every path, let be the ordered set of edges in . Moreover, define and as the distance on path to the startpoint, respectively, the endpoint of . β
Application 6**.**
[Knapsack cover with precedence constraints] Same input as knapsack cover but, additionally, a directed, acyclic graph is given. Find an ideal in with weight at least of minimum cost.
* Theorem 2 provides a -approximation, where is the width of (matching [25]). The same bound holds if there are demands to be covered.*
Proof.
McCormick et al. have shown that knapsack cover with precedence constraints can be formulated in the following way [25]. For an ideal in , let be the set of vertices without any incoming edges, given that all elements from were deleted. Now, let us define as the family of all sets of vertices without incoming edges obtained after removal of an ideal with weight below . We use the ordering if and only if .
Moreover, let us define the rank function . Let be the Boolean lattice, then
[TABLE]
is the formulation derived in [25].
If is the width of , then every constraint contains at most elements. Hence, the maximum size of a witness cover is bounded by . Note that will be a binary matrix, hence, Theorem 2 obtains the desired result. β
Application 7**.**
[Generalized steiner tree] Given a graph with cost function and pairs of vertices , find a subset of edges that contains an - path for every and is of minimum cost.
* Theorem 2 provides a -approximation, matching [22].*
Proof.
We formulate the problem as discussed in [22], that is, as the following LP relaxation:
[TABLE]
In our notation, the problem will be formulated with as the Boolean lattice. The set family and system with
[TABLE]
Moreover, the ordering will be the following partition with if and only if . Let be the maximal connected components in the graph . Then if and only if there is a component with and .
In other words, the minimal elements in are the inclusionwise maximal components with respect to that contain at most one terminal from each terminal pair, and contain at least one terminal. For , consists of the family of vertex-sets containing single terminals.
We want to apply Theorem 2. Hence, we need to show that for every iteration of the algorithm, there exists a small enough multiplicity witness-cover.
Let us fix an iteration for and let be the maximal connected components in . Let be the graph obtained by contraction of the maximal connected components in . Moreover, let be the set of edges selected by the algorithm connecting these components.
By construction of the cleanup-phase, will be a forest in . If this was not the case, there is a cycle in , in other words, an edge could be removed in order to reduce the solution cost.
We construct a multiplicity witness-cover as follows. Let be the vertices corresponding to the connected components in . For every edge in , that corresponds to a set (U,S) increased by the algorithm in this iteration, we construct a witness as follows. Let be the set of vertices in the connected component of in after removal of edge . Then , as is a forest. Moreover, covers edge once.
Any edge will appear at most twice in . It appears twice, if the edge connects two of the components and . But in this case, the edge will appear in two witnesses, and . Hence, the sets constructed are a multiplicity witness-cover. The number of sets constructed is at most .
Hence, Theorem 2 yields a -approximation. β
Application 8**.**
[Minimum multicut on trees] Given a tree with edge cost and pairs of vertices , find a minimum cost subset of edges such that the forest disconnects all --pairs.
* Theorem 2 provides a -approximation, matching [19].*
Proof.
The proof is essentially the same as in Theorem 4.10 in [22]. We can formulate the problem with as the Boolean lattice. Let be the edge-set of the unique --path in , then and , if , and zero otherwise. The rank is defined as .
For this problem, we need a specific ordering of the sets in order to obtain the desired approximation guarantee. Therefore, let us root the tree at an arbitrary vertex . We say that vertex lies at depth , if the --path in consists of edges. For a pair , we define the least common ancestor as the vertex with smallest value which lies on the unique - path, call this value for pair .
Then if and only if . The revised algorithm applied to the system is essentially the algorithm discussed in [19].
In order to prove the theorem, we need to show that for every increased by the algorithm, there is a witness-cover of size at most . We will show the following. For every path there are at most two edges with positive value in the primal solution. The cleanup-phase implies that both edges have a witness . Combination of both yields the desired witness-cover. For the sake of this proof, let be the support of the solution obtained by the revised greedy algorithm.
For any given path , for which the dual was increased, let be the least common ancestor. Let be the path from to . We will see that (analogously for , the path from to ). Suppose not, then . Let us suppose that is the solution obtained by removing all edges from but the one nearest to , call it . We claim that is still a feasible solution.
Suppose not, let be any path for pair with . Then is a subpath of from some vertex to . Otherwise, had a least common ancestor of depth . This violates the ordering in the iteration was chosen. Hence, if , then . β
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] Ajit Agrawal, Philip Klein, and R Ravi. When trees collide: An approximation algorithm for the generalized steiner problem on networks. SIAM Journal on Computing , 24(3):440β456, 1995.
- 2[2] Amotz Bar-Noy, Reuven Bar-Yehuda, Ari Freund, Joseph Naor, and Baruch Schieber. A unified approach to approximating resource allocation and scheduling. Journal of the ACM (JACM) , 48(5):1069β1090, 2001.
- 3[3] Reuven Bar-Yehuda and Shimon Even. A linear-time approximation algorithm for the weighted vertex cover problem. Journal of Algorithms , 2(2):198β203, 1981.
- 4[4] Dimitris Bertsimas and Chung-Piaw Teo. From valid inequalities to heuristics: A unified view of primal-dual approximation algorithms in covering problems. Operations Research , 46(4):503β514, 1998.
- 5[5] Garrett Birkhoff, Garrett Birkhoff, Garrett Birkhoff, Etats-Unis MathΓ©maticien, and Garrett Birkhoff. Lattice theory , volume 25. American Mathematical Society New York, 1948.
- 6[6] Tim Carnes and David Shmoys. Primal-dual schema for capacitated covering problems. In International Conference on Integer Programming and Combinatorial Optimization , pages 288β302. Springer, 2008.
- 7[7] Robert D Carr, Lisa Fleischer, Vitus J Leung, and Cynthia A Phillips. Strengthening integrality gaps for capacitated network design and covering problems. In Proceedings of the eleventh annual ACM-SIAM symposium on Discrete algorithms , pages 106β115, 2000.
- 8[8] Vasek Chvatal. A greedy heuristic for the set-covering problem. Mathematics of operations research , 4(3):233β235, 1979.
