Abstract
Given two matroids and on a common ground set E with base sets and , some integer , and two cost functions , we consider the optimization problem to find a basis and a basis minimizing the cost subject to either a lower bound constraint , an upper bound constraint , or an equality constraint on the size of the intersection of the two bases X and Y. The problem with lower bound constraint turns out to be a generalization of the Recoverable Robust Matroid problem under interval uncertainty representation for which the question for a strongly polynomial-time algorithm was left as an open question in Hradovich et al. (J Comb Optim 34(2):554–573, 2017). We show that the two problems with lower and upper bound constraints on the size of the intersection can be reduced to weighted matroid intersection, and thus be solved with a strongly polynomial-time primal-dual algorithm. We also present a strongly polynomial, primal-dual algorithm that computes a minimum cost solution for every feasible size of the intersection k in one run with asymptotic running time equal to one run of Frank’s matroid intersection algorithm. Additionally, we discuss generalizations of the problems from matroids to polymatroids, and from two to three or more matroids. We obtain a strongly polynomial time algorithm for the recoverable robust polymatroid base problem with interval uncertainties.
Keywords: Matroids, Robust optimization, Polymatroids, Intersection constraints
Introduction
Matroids are fundamental and well-studied structures in combinatorial optimization. Recall that a matroid is a tuple , consisting of a finite ground set E and a family of subsets , called the independent sets, satisfying (i) , (ii) if and , then , and (iii) if with , then there exists some element satisfying . As usual when dealing with matroids, we assume that a matroid is specified via an independence oracle, that, given as input, checks whether or not . Any inclusion-wise maximal set in independence system is called a basis of . Note that the set of bases of a matroid uniquely defines its independence system via Because of their rich structure, matroids allow for various different characterizations (see, e.g., [18]). In particular, matroids can be characterized algorithmically as the only downward-closed structures for which a simple greedy algorithm is guaranteed to return a basis of minimum cost for any linear cost function Moreover, the problem to find a min-cost common base in two matroids and on the same ground set, or the problem to maximize a linear function over the intersection of two matroids and can be done efficiently with a strongly-polynomial primal-dual algorithm (cf. [5]). Optimization over the intersection of three matroids, however, is easily seen to be NP-hard. See [14] for most recent progress on approximation results for the latter problem.
Optimization on matroids, their generalization to polymatroids, or on the intersection of two (poly-)matroids, capture a wide range of interesting problems. In this paper, we introduce and study yet another variant of matroid-optimization problems. Our problems can be seen as a variant or generalization of matroid intersection: we aim at minimizing the sum of two linear cost functions over two bases chosen from two matroids on the same ground set with an additional cardinality constraint on the intersection of the two bases. As it turns out, the problems with lower and upper bound constraint are computationally equivalent to matroid intersection, while the problem with equality constraint seems to be strictly more general, and to lie somehow on the boundary of efficiently solvable combinatorial optimization problems. Interestingly, while the problems on matroids with lower, upper, or equality constraint on the intersection can be shown to be solvable in strongly polynomial time, the extension of the problems towards polymatroids is solvable in strongly polynomial time for the lower bound constraint, but NP-hard for both, upper and equality constraints.
The model Given two matroids and on a common ground set E with base sets and , some integer , and two cost functions , we consider the optimization problem to find a basis and a basis minimizing subject to either a lower bound constraint , an upper bound constraint , or an equality constraint on the size of the intersection of the two bases X and Y. Here, as usual, we write and to shorten notation. Let us denote the following problem by .
Accordingly, if is replaced by either the upper bound constraint , or the lower bound constraint , the problem is called or , respectively. Clearly, it only makes sense to consider integers k in the range between 0 and , where for is the rank of matroid , i.e., the cardinality of each basis in which is unique due to the augmentation property (iii). For details on matroids, we refer to [18].
Related literature on the Recoverable Robust Matroid Problem: Problem in the special case where is known and well-studied under the name Recoverable Robust Matroid Problem Under Interval Uncertainty Representation, see [1, 8, 9] and Sect. 4 below. For this special case of , Büsing [1] presented an algorithm which is exponential in k. In 2017, Hradovich, Kaperski, and Zieliński [9] proved that the problem can be solved in polynomial time via some iterative relaxation algorithm and asked for a strongly polynomial time algorithm. Shortly after, the same authors presented in [8] a strongly polynomial time primal-dual algorithm for the special case of the problem on a graphical matroid. The question whether a strongly polynomial time algorithm for with exists remained open.
In a recent preprint, which builds upon the preprint of this paper, Iwamasa and Takazawa [11] generalize the problems , , to nonlinear convex cost functions and analyze them within the framework of discrete convex analysis [17]. Combining this with the ideas in this paper, they obtain generalizations of our results.
Our contribution. In Sect. 2, we show that both, and , can be polynomially reduced to weighted matroid intersection. Since weighted matroid intersection can be solved in strongly polynomial time by some very elegant primal-dual algorithm [5], this answers the open question raised in [9] affirmatively.
As we can solve and in strongly polynomial time via some combinatorial algorithm, the question arises whether or not the problem with equality constraint can be solved in strongly polynomial time as well, and whether there is an efficient parametric algorithm to compute the whole parametric curve with respect to k. In Sect. 3, we provide a strongly polynomial, primal-dual algorithm that constructs an optimal solution for for every feasible value of k. This algorithm can also be used to solve an extension, called , of the Recoverable Robust Matroid problem under Interval Uncertainty Representation. Our approach to solve uses the capability to solve for every k as an essential subroutine, see Sect. 4.
Then, in Sect. 5, we consider the generalization of problems , , and from matroids to polymatroids with lower bound, upper bound, or equality constraint, respectively, on the size of the meet . Interestingly, as it turns out, the generalization of can be solved in strongly polynomial time via reduction to some polymatroidal flow problem, while the generalizations of and can be shown to be weakly NP-hard, already for uniform polymatroids.
Finally, in Sect. 6, we discuss the generalization of our matroid problems from two to three or more matroids. That is, we consider n matroids , , and n linear cost functions , for . The task is to find n bases , , minimizing the cost subject to a cardinality constraint on the size of intersection . When we are given an upper bound on the size of this intersection we can find an optimal solution within polynomial time. Though, when we have an equality or a lower bound constraint on the size of the intersection, the problem becomes strongly NP-hard.
Reduction of and to weighted matroid intersection
We first note that and are computationally equivalent. To see this, consider any instance of , where , and are two matroids on the same ground set E with base sets and , respectively. Define , , and let with be the dual matroid of . Since
-
(i)
, and
-
(ii)
,
where is a constant, it follows that (X, Y) is a minimizer of for the given instance if and only if is a minimizer of for . Similarly, it can be shown that any problem of type polynomially reduces to an instance of type .
Note that, for a set S and an element e we abbreviate by and by .
Theorem 1
Both problems, and , can be reduced to weighted matroid intersection.
Proof
By our observation above, it suffices to show that can be reduced to weighted matroid intersection. Let , where are two copies of our original ground set E. We consider , two special types of matroids on this new ground set , where are the sets of independent sets of respectively. Firstly, let be the direct sum of on and on . That is, for it holds that if and only if and .
The second matroid is defined as follows: we call and a pair, if and are copies of the same element in E. If are a pair then we call the sibling of and vice versa. Then
For any , and forms a feasible solution for if and only if A is a basis in matroid and independent in matroid Thus, is equivalent to the weighted matroid intersection problem
with weight function
for some constant chosen large enough to ensure that A is a basis in . To see that is indeed a matroid, we first observe that is non-empty and downward-closed (i.e., , and implies ). To see that satisfies the matroid-characterizing augmentation property
take any two independent sets . If A cannot be augmented from B, i.e., if for every , then A must contain exactly k pairs, and for each , the sibling of e must be contained in A. This implies , i.e., is a matroid.
Weighted matroid intersection is known to be solvable within strongly polynomial time (e.g., see Frank [5]). Hence, both and can be solved in strongly polynomial time.
The same result can be obtained by a reduction to independent matching (see Appendix A), which in bipartite graphs is known to be solvable within strongly polynomial time as well (see [10]).
A strongly polynomial primal-dual algorithm for
We saw in the previous section that both problems, and , can be solved in strongly polynomial time via a weighted matroid intersection algorithm. This leads to the question whether we can solve the problem with equality constraint on the size of the intersection efficiently as well, and whether a parametric algorithm exists, which computes the whole parametric curve with respect to k.
The algorithm
In this section, we describe a primal-dual strongly polynomial algorithm for . Our algorithm can be seen as a generalization of the algorithm presented by Hradovich et al. in [9]. However, the analysis of our algorithm turns out to be much simpler than the one in [9].
Let us consider the following piecewise linear concave curve
which depends on parameter .
Fig. 1.
Visualizing
Note that is the Lagrangian relaxation of problem . Observe that any base pair determines a line that hits the vertical axis at and has negative slope . Thus, val is the lower envelope of all such lines. It follows that every base pair which intersects with curve val in either a segment or a breakpoint, and with , is a minimizer of .
Sketch of our algorithm. We first solve the problem
without any constraint on the intersection. Note that this problem can be solved with a matroid greedy algorithm. Let be an optimal solution of this problem.
If , we are done as is optimal for .
Else, if , our algorithm starts with the optimal solution for , and iteratively increases by one until . Our algorithm maintains as invariant an optimal solution for the current problem , together with some dual optimal solution satisfying the optimality conditions, stated in Theorem 2 below, for the current breakpoint . Details of the algorithm are described below.
Else, if , we instead consider an instance of for , costs and , and the two matroids and . As seen above, an optimal solution of problem corresponds to an optimal solution (X, Y) of our original problem , and vice versa. Moreover, for the initial base pair implies that . Thus, starting with the initial feasible solution for , we can iteratively increase until as described in step 2.
Note that a slight modification of the algorithm allows to compute the optimal solutions for all in only two runs: run the algorithm for and for .
An optimality condition. The following optimality condition turns out to be crucial for the design of our algorithm.
Theorem 2
(Sufficient pair optimality conditions) For fixed , base pair is a minimizer of if there exist such that
-
(i)
X is a min cost basis for , and Y is a min cost basis for ;
-
(ii)
for , and for ;
-
(iii)
for each .
The proof of Theorem 2 can be found in Appendix B.
Construction of the auxiliary digraph. Given a tuple satisfying the optimality conditions stated in Theorem 2, we construct the auxiliary digraph with red-blue colored arcs as follows (see Fig. 2):
one vertex for each element in E;
a red arc (e, f) if , , and ; and
a blue arc (f, g) if , , and
Fig. 2.

Auxiliary graph constructed in the algorithm for
Note Although not depicted in Fig. 2, there might well be blue arcs going from to either or , or red arcs going from to .
Observe that any red arc (e, f) represents a move in from X to . To shorten notation, we write . Analogously, any blue arc (e, f) represents a move from Y to . Like above, we write . Given a red-blue alternating path P in D we denote by the set obtained from X by performing all moves corresponding to red arcs, and, accordingly, by the set obtained from Y by performing all moves corresponding to blue arcs.
A. Frank proved the following result about sequences of moves, to show correctness of the weighted matroid intersection algorithm.
Lemma 1
(Frank [5, 12, Lemma 13.35]) Let be a matroid, and . Let and with
and for and
or for with .
Then .
This suggests the following definition.
Augmenting paths. We call any shortest (w.r.t. number of arcs) red-blue alternating path linking a vertex in to a vertex in an augmenting path.
Lemma 2
If P is an augmenting path in D, then
is min cost basis in w.r.t. costs ,
is min cost basis in w.r.t. costs , and
.
Proof
By Lemma 1, we know that is min cost basis in w.r.t. costs , and is min cost basis in w.r.t. costs . The fact that the intersection is increased by one follows directly by the construction of the digraph.
Primal update: Given satisfying the optimality conditions and the associated digraph D, we update (X, Y) to with , and , as long as some augmenting path P exists in D. It follows by construction and Lemma 1 that in each iteration satisfies the optimality conditions and that .
Dual update: If D admits no augmenting path, and , let R denote the set of vertices/elements which are reachable from on some red-blue alternating path. Note that and . For each define the residual costs
Note that, by optimality of X and Y w.r.t. and , respectively, we have that whenever , and whenever .
We compute a “step length” as follows: Compute and via
It is possible that the sets over which the minima are calculated are empty. In these cases we define the corresponding minimum to be . In the special case where this case cannot occur.
Since neither a red, nor a blue arc goes from R to , we know that both, and , are strictly positive, so that . Now, update
Lemma 3
satisfies the optimality conditions for .
Proof
By construction, we have for each
.
for , since and (as ).
for , since and .
Moreover, by construction and choice of , we observe that X and Y are optimal for and , since
whenever ,
whenever .
To see this, suppose for the sake of contradiction that for some pair with , and . Then , , , and implying in contradiction to our choice of . Similarly, it can be shown that Y is optimal w.r.t. . Thus, satisfies the optimality conditions for .
J. Edmonds proved the following feasibility condition for the non-weighted matroid intersection problem.
Lemma 4
(Edmonds [4]) Consider the digraph for cost functions (non-weighted case). If there exists no augmenting path in then is maximum among all .
Based on this result we show the following feasibility condition for our problem.
Lemma 5
If and the given instance is infeasible.
Proof
This follows by the fact that if and only if the set , even if we construct the graph without the condition that for red edges and for blue edges .
Non existence of such a path implies infeasibility of the instance by Lemma 4.
Lemma 6
If satisfies the optimality conditions and , a primal update can be performed after at most |E| dual updates.
Proof
With each dual update, at least one more vertex enters the set of reachable elements in digraph .
The primal-dual algorithm. Summarizing, we obtain the following algorithm.
Input: , , ,
Output: Optimal solution (X, Y) of
- Compute an optimal solution (X, Y) of
If , return (X, Y) as optimal solution of .
Else, if , run algorithm on , , , , and .
Else, set , .
- While , do:
- Construct auxiliary digraph D based on .
- If there exists an augmenting path P in D, update primal
-
Else, compute step length as described above.If , terminate with the message “infeasible instance”.Else, set and update dual:
- Iterate with
Return (X, Y).
As a consequence of our considerations, the following theorem follows.
Theorem 3
The algorithm above solves using at most primal or dual augmentations. Moreover, the entire sequence of optimal solutions for all with can be computed within primal or dual augmentations.
Proof
By running the algorithm for both and , where we set we obtain optimal bases for for all within primal or dual augmentations.
Remark 1
Note that an alternative method to solve for a given fixed k is to compute solutions for both and respectively, which can be done by running a matroid intersection algorithm twice. If one of those problems is infeasible, it directly follows that is infeasible. Otherwise, it holds that . We can prove that both are minimum cost bases with respect to and both are minimum cost bases with respect to . Using a similar pivot strategy as in the algorithm above one can then pivot from to and to maintaining this property and obtain a pair of bases (X, Y) such that .
Note, that this approach does not show how to directly obtain the whole parametric curve with respect to k.
Comparison to the results in [11] We would also like to point out that in a recent preprint, which is partially based on the preprint of the current paper, Iwamasa and Takazawa [11] show that problem can also be solved by combining the ideas described in Appendix A for solving and with Murota’s theory of valuated matroid intersection, as described in [15, 16]. We note that the approach in [11] could also be extended to obtain the whole parametric curve in a similar fashion as we do here. In addition, Iwamasa and Takazawa in [11] were able to generalize our results on polymatroids, as described in Sect. 5, using similar techniques as the ones described in Sect. 5.
One of the main contributions of [11] is the structured analysis and modelling (using DCA) of matroid base problems and their generalizations with intersection constraints. They also present some relations of the problems studied in this paper with the Combinatorial Optimization Problem with Interaction Costs (COPIC) studied in [2, 13].
The algorithm to solve as stated in [11] is similar to our algorithm stated above. The main difference is that the algorithm in [11] is based on an reduction to the valuated independent assignment problem, called , and the use of the existing augmenting path algorithm described in [15, 16].
There are two main differences of the algorithm in [11] to our algorithm described in this section. Firstly, the optimality conditions differ slightly. Secondly, the algorithm in [11] uses a different graph for the primal updating procedure and performs the dual updates simultaneously with their primal update.
The recoverable robust matroid basis problem–an application.
There is a strong connection between the model described in this paper and the recoverable robust matroid basis problem (RecRobMatroid) studied in [1, 8], and [9]. In RecRobMatroid, we are given a matroid on a ground set E with base set , the recoverability parameter , a first stage cost function and an uncertainty set that contains different scenarios S, where each scenario gives a possible second stage cost .
RecRobMatroid then consists out of two phases: in the first stage, one needs to pick a basis . Then, after the actual scenario is revealed, there is a second “recovery” stage, where a second basis Y is picked with the goal to minimize the worst-case cost under the constraint that Y differs in at most k elements from the original basis X. That is, we require that Y satisfies or, equivalently, that . Here, as usual, . The recoverable robust matroid basis problem can be written as follows:
| 1 |
The main motivation for this model is a decision problem with two consecutive stages. The costs for the first stage are known but the costs for the second stage are uncertain. In addition, due to environmental constraints the changes between the first and second stage solution are bounded by the recoverability parameter k. For instance, in the case of transversal matroids the two stages could correspond to the morning and afternoon shift and one has to select the sets of workers able to perform the given tasks for both shifts. With the recoverability parameter one can configure how many workers have to be selected that work both shifts. On the other hand, the case of graphic matroids corresponds to selecting two consecutive sets of communication links in a network while minimizing usage costs in both stages with an additional bound on the number of links one can change between the two stages.
There are several ways in which the uncertainty set for the costs of the second stage can be represented. One popular way is the interval uncertainty representation. In this representation, we are given functions , and assume that the uncertainty set can be represented by a set of |E| intervals:
In the worst-case scenario we have for all that . When we define and , it is clear that the RecRobMatroid problem under interval uncertainty representation (RecRobMatroid-Int, for short) is a special case of , in which .
Büsing [1] presented an algorithm for RecRobMatroid-Int which is exponential in k. In 2017, Hradovich, Kaperski, and Zieliński [9] proved that RecRobMatroid-Int can be solved in polynomial time via some iterative relaxation algorithm and asked for a strongly polynomial time algorithm. Shortly after, the same authors presented in [8] a strongly polynomial time primal-dual algorithm for the special case of RecRobMatroid-Int on a graphical matroid. The question whether a strongly polynomial time algorithm for RecRobMatroid-Int on general matroids exists remained open.
Furthermore, Hradovich, Kaperski, and Zieliński showed that an algorithm for can be used to obtain an approximation algorithm for the recoverable robust matroid basis problem with more general uncertainty sets . For details see [8, Theorem 5].
Theorem 3 directly implies the following result as a special case.
Corollary 1
RecRobMatroid-Int can be solved in strongly polynomial time. In particular we can compute solutions for all possible choices of the recoverability parameter k using just one run of the primal-dual algorithm.
Knowing solutions for all possible choices of recoverability parameter k is specifically useful if a decision maker has to balance between cost and capability of recoverability. This viewpoint inspires the first of the following variants of RecRobMatroid-Int.
Two variants of RecRobMatroid-Int. Let us consider two generalizations or variants of RecRobMatroid-Int. First, instead of setting a bound on the size of the symmetric difference of two bases X, Y, alternatively, one could set a penalty on the size of the recovery. Let be a penalty function which determines the penalty that needs to be paid as a function dependent on the size of the symmetric difference . This leads to the following problem, which we denote by .
Clearly, is equivalent to RecRobMatroid-Int if is equal to zero as long as , and otherwise. As it turns out, our primal-dual algorithm for solving can be used to efficiently solve .
Corollary 2
Problem can be solved in strongly-polynomial time.
Proof
By Theorem 3, optimal solutions can be computed efficiently for all problems within primal or dual augmentations of the algorithm above. It follows that the optimal solution to is a minimizer of
where .
Yet another variant of RecRobMatroid-Int or the more general problem would be to aim for the minimum expected second stage cost, instead of the minimum worst-case second stage cost. Suppose, with respect to a given probability distribution per element , the expected second stage cost on element is . By the linearity of expectation, to solve these problems, we could simply solve problem with .
A generalization to polymatroid base polytopes
Recall that a function is called submodular if the inequality holds for all . Function f is called monotone if for all , and normalized if . Given a submodular, monotone and normalized function f, the pair (E, f) is called a polymatroid, and f is called rank function of the polymatroid (E, f). The associated polymatroid base polytope is defined as:
where, as usual, for all . We refer to the book “Submodular Functions and Optimization” by Fujishige [6] for details on polymatroids and polymatroidal flows as refered to below.
Remark 2
We note that all of the arguments presented in this section work also for the more general setting of submodular systems (cf. [6]), which are defined on arbitrary distributive lattices instead of the Boolean lattice .
Whenever f is a submodular function on ground set E with for all , we call pair (E, f) an integer polymatroid. Polymatroids generalize matroids in the following sense: if the polymatroid rank function f is integer and additionally satisfies the unit-increase property
then the vertices of the associated polymatroid base polytope are exactly the incidence vectors of a matroid with . Conversely, the rank function which assigns to every subset the maximum cardinality of an independent set within U is a polymatroid rank function satisfying the unit-increase property. In particular, bases of a polymatroid base polytope are not necessarily vectors anymore. Generalizing set-theoretic intersection and union from sets (a.k.a. vectors) to arbitrary vectors can be done via the following binary operations, called meet and join: given two vectors the meet of x and y is , and the join of x and y is . Instead of the size of the intersection, we now talk about the size of the meet, abbreviated by
Similarly, the size of the join is Note that using these definitions we have that , where, as usual, for any , we abbreviate . It follows that for any base pair , we have
and
Therefore, it holds that if and only if both, and . The problem described in the next paragraph can be seen as a direct generalization of problem when going from matroid bases to more general polymatroid base polytopes.
The model. Let be two polymatroid rank functions with associated polymatroid base polytopes and defined on the same ground set of resources E, let be two cost functions on E, and let k be some integer. The following problem, the Recoverable Polymatroid Basis Problem which we denote by , is a direct generalization of from matroids to polymatroids.
Results obtained for and directly give us pseudo-polynomial algorithms for and .
Corollary 3
If are two integer polymatroids, problems , and can be solved within pseudo-polynomial time.
Proof
Each integer polymatroid can be written as a matroid on a pseudo-polynomial number of resources, namely on resources [7]. Hence, the strongly polynomial time algorithms we derived for problems and can directly be applied, but now have a pseudo-polynomial running time.
In the following, we first show that can be reduced to an instance of the polymatroidal flow problem, which is known to be computationally equivalent to a submodular flow problem and can thus be solved in strongly polynomial time. Afterwards, we show that the two problems and , which can be obtained from by replacing constraint by either , or , respectively, are weakly NP-hard.
Reduction of polymatroid base problem to polymatroidal flows.
The polymatroidal flow problem can be described as follows: we are given a digraph , arc costs , lower bounds , and two submodular functions and for each vertex Function is defined on , the set of subsets of the set of v-leaving arcs, while is defined on , the set of subsets of the set of v-entering arcs and
Given a flow the net-flow at v is abbreviated by . For a set of arcs , denotes the vector . The associated polymatroidal flow problem can now be formulated as follows.
As described in Fujishige’s book (see [6], page 127ff), the polymatroidal flow problem is computationally equivalent to submodular flows and can thus be solved in strongly polynomial time.
Theorem 4
The Recoverable Polymatroid Basis Problem can be reduced to the Polymatroidal Flow Problem.
Proof
Given an instance of , we construct an equivalent instance of the Polymatroid Flow Problem as shown in Fig. 3. The graph G consists of 6 special vertices and of 12|E| additional vertices denoted by , , , , , for each . The arc set consists of arcs , , , , (t, s). In addition we have arcs for each , for each , for each , for each . In addition for each we have three sets of arcs , , which we denote by respectively. We set , , and for all other arcs a. We enforce lower bounds on the flow on the two arcs by setting and and for all other arcs a. To model upper bounds on the flow along the arcs and we add the polymatroidal constraints on and and set and . We also set
All other polymatroidal constraints are set to the trivial polymatroid, hence arbitrary in- and outflows are allowed.
Fig. 3.
The Polymatroid Flow instance used to solve the Recoverable Polymatroid Basis Problem
We show that the constructed instance of the Polymatroidal Flow Problem is equivalent to the given instance of the Recoverable Polymatroid Basis Problem .
Consider the two designated vertices and such that are the red arcs, and are the green arcs in Fig. 3. Take any feasible polymatroidal flow and let denote the restriction of to the red arcs, and denote the restriction of to the green arcs. Note that there is a unique arc entering which we denote by . Observe that the constraints and for the flow going into and imply that the flow vector on the red arcs belongs to . Analogously, the flow vector satisfies . By setting and for each , we have that the cost of the polymatroid flow can be rewritten as
The constraint on the inflow into , and the constraint on the outflow out of are equivalent to . Hence, the equivalence follows.
Note that is computationally equivalent to
which we denote by , as of the direct connection between , the size of the meet of x and y, and the 1-norm of . It is an interesting open question whether this problem is also tractable if one replaces by arbitrary norms or, specifically, the 2-norm. We conjecture that methods based on convex optimization could work in this case, likely leading to a polynomial, but not strongly polynomial, running time.
Hardness of polymatroid basis problems and
Let us consider the decision problem associated to problem which can be formulated as follows: given an instance of together with some target value , decide whether or not there exists a base pair with of cost Clearly, this decision problem belongs to the complexity class NP, since we can verify in polynomial time whether a given pair (x, y) of vectors satisfies the following three conditions
-
(i)
,
-
(ii)
, and
-
(iii)
.
To verify (iii), we assume, as usual, the existence of an evaluation oracle.
Reduction from partition. To show that the problem is NP-complete, we show that any instance of the NP-complete problem partition can be polynomially reduced to an instance of -decision. Recall the problem partition: given a set E of n real numbers , the task is to decide whether or not the n numbers can be partitioned into two sets L and R with and such that .
Given an instance of partition with , we construct the following polymatroid rank function
It is not hard to see that f is indeed a polymatroid rank function as it is normalized, monotone, and submodular. Moreover, we observe that an instance of partition is a yes-instance if and only if there exist two bases x and y in polymatroid base polytope satisfying
Similarly, it can be shown that any instance of partition can be reduced to an instance of the decision problem associated to , since an instance of partition is a yes-instance if and only if for the polymatroid rank function f as constructed above there exists two bases x and y in polymatroid base polytope satisfying
More than two matroids
Another straightforward generalization of the matroid problems , , and is to consider more than two matroids, and a constraint on the intersection of the bases of those matroids. Given matroids , on a common ground set E, some integer , and cost functions , we consider the optimization problem
Analogously, we define the problems and by replacing by and respectively.
It is easy to observe that both variants and are NP-hard already for the case , since even for the feasibility question there is an easy reduction from the matroid intersection problem for three matroids.
Interestingly, this is different for . A direct generalization of the reduction for to weighted matroid intersection (for two matroids) shown in Sect. 2 works again.
Theorem 5
Problem can be reduced to weighted matroid intersection.
Proof
Let , where are M copies of our original ground set E. We consider , two special types of matroids on this new ground set , where are the sets of independent sets of respectively. Firstly, let be the direct sum of on to on . That is, for it holds that if and only if for all .
The second matroid is defined as follows: we call , a line, if to are copies of the same element in E. If and are part of the same line then we call a sibling of and vice versa. Then
For any , for all forms a feasible solution for if and only if A is a basis in matroid and independent in matroid Thus, is equivalent to the weighted matroid intersection problem
with weight function for each , for some constant chosen large enough to ensure that A is a basis in . To see that is indeed a matroid, we first observe that is non-empty and downward-closed (i.e., , and implies ). To see that satisfies the matroid-characterizing augmentation property
take any two independent sets . If A cannot be augmented from B, i.e., if for every , then A must contain exactly k lines, and for each , the siblings of e must be contained in A. This implies , i.e., is a matroid.
Acknowledgements
We would like to thank András Frank, Jannik Matuschke, Tom McCormick, Rico Zenklusen, Satoru Iwata, Mohit Singh, Michel Goemans, and Guyla Pap for fruitful discussions at the HIM workshop in Bonn, and at the workshop on Combinatorial Optimization in Oberwolfach. We would als o like to thank Björn Tauer and Thomas Lachmann for several helpful discussions about this topic. We also thank the anonymous referees for helpful comments that improved our paper.
Reduction from to independent bipartite matching
As mentioned in the introduction, one can also solve problem (and, hence, also problem ) by reduction to a special case of the basic path-matching problem [3], which is also known under the name independent bipartite matching problem [10]. The basic path-matching problem can be solved in strongly polynomial time, since it is a special case of the submodular flow problem.
Definition 1
(Independent bipartite matching) We are given two matroids and and a weighted, bipartite graph G on node sets and . The task is to find a minimum weight matching in G such that the elements that are matched in form a basis in and the elements matched in form a basis in .
Consider an instance of , where we are given two matroids on common ground set E. We create an instance for the independent matching problem as follows: Define a bipartite graph , where contains a distinct copy of E and an additional set of exactly elements. Let be the sum of , on the copy of E in and the unrestricted matroid of all subsets of . The set and the matroid are defined symmetrically and . The set A of edges in G contains an edge between if are copies of the same element of E in . In addition we add all edges if e is a copy of some element of E in and or if e is a copy of some element of E in and . See Fig. 4 for an illustration of the constructed bipartite graph.
Fig. 4.
Bipartite graph used in the reduction from to basic path-matching
Observe, that every feasible solution to the independent bipartite matching instance matches a basis of with a basis of . Respectively for , these bases consist of a basis in and all elements in . Hence at most can be matched with an arbitrary element of U, so at least k elements need to be matched using edges . This implies that the size of the intersection of the corresponding bases in is at least k.
Proof of Theorem 2
Consider the following linear relaxation of an integer programming formulation of problem val. The letters in squared brackets indicate the associated dual variables.
The dual program is then :
Applying the strong LP-duality to the two inner problems which correspond to dual variables and , respectively, yields
| 2 |
| 3 |
Thus, replacing the two inner problems by their respective duals, we can rewrite as follows:
Now, take any tuple satisfying the optimality conditions (i),(ii) and (iii) for . Observe that the incidence vectors x and y of X and Y, respectively, together with the incidence vector z of the intersection , is a feasible solution of the primal LP, while and yield a feasible solution of the dual LP. Since
the objective values of the primal and dual feasible solutions coincide. It follows that any tuple satisfying optimality conditions (i),(ii) and (iii) must be optimal for val and its dual.
Funding Information
Open access funding provided by University of Graz.
Footnotes
Stefan Lendl acknowledges the support of the Austrian Science Fund (FWF): W1230.
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Contributor Information
Stefan Lendl, Email: lendl@math.tugraz.at, Email: stefan.lendl@uni-graz.at.
Britta Peis, Email: britta.peis@oms.rwth-aachen.de.
Veerle Timmermans, Email: veerle.timmermans@oms.rwth-aachen.de.
References
- 1.Büsing C. Recoverable Robustness in Combinatorial Optimization. New York: Cuvillier Verlag; 2011. [Google Scholar]
- 2.Chassein A, Goerigk M. On the complexity of min-max-min robustness with two alternatives and budgeted uncertainty. Discrete Appl. Math. 2020;3:76109. [Google Scholar]
- 3.Cunningham WH, Geelen JF. The optimal path-matching problem. Combinatorica. 1997;17(3):315–337. doi: 10.1007/BF01215915. [DOI] [Google Scholar]
- 4.Edmonds, J.: Submodular functions, matroids and certain polyhedra, combinatorial structures and their applications (R. Guy, H. Hanani, N. Sauer and J. Schönheim, eds.). Gordon and Breach pp. 69–87 (1970)
- 5.Frank A. A weighted matroid intersection algorithm. J. Algorithms. 1981;2(4):328–336. doi: 10.1016/0196-6774(81)90032-8. [DOI] [Google Scholar]
- 6.Fujishige S. Submodular Functions and Optimization. Oxford: Elsevier; 2005. [Google Scholar]
- 7.Helgason T. Aspects of the theory of hypermatroids. In: Berge C, Ray-Chaudhuri D, editors. Hypergraph Seminar. Berlin: Springer; 1974. pp. 191–213. [Google Scholar]
- 8.Hradovich M, Kasperski A, Zieliński P. Recoverable robust spanning tree problem under interval uncertainty representations. J. Comb. Optim. 2017;34(2):554–573. doi: 10.1007/s10878-016-0089-6. [DOI] [Google Scholar]
- 9.Hradovich M, Kasperski A, Zieliński P. The recoverable robust spanning tree problem with interval costs is polynomially solvable. Optim. Lett. 2017;11(1):17–30. doi: 10.1007/s11590-016-1057-x. [DOI] [Google Scholar]
- 10.Iri M, Tomizawa N. An algorithm for finding an optimal independent assignment. J. Oper. Res. Soc. Japan. 1976;19(1):32–57. [Google Scholar]
- 11.Iwamasa, Y., Takazawa, K.: Optimal matroid bases with intersection constraints: Valuated matroids, M-convex functions, and their applications. arXiv preprint arXiv:2003.02424 (2020)
- 12.Korte B, Vygen J. Combinatorial Optimization: Theory and Algorithms. 4. Incorporated: Springer Publishing Company; 2007. [Google Scholar]
- 13.Lendl S, Ćustić A, Punnen AP. Combinatorial optimization with interaction costs: complexity and solvable cases. Discrete Optim. 2019;33:101–117. doi: 10.1016/j.disopt.2019.03.004. [DOI] [Google Scholar]
- 14.Linhares A, Olver N, Swamy C, Zenklusen R. Approximate multi-matroid intersection via iterative refinement. In: Lodi A, Nagarajan V, editors. Integer Programming and Combinatorial Optimization. Cham: Springer International Publishing; 2019. pp. 299–312. [Google Scholar]
- 15.Murota K. Valuated matroid intersection i: optimality criteria. SIAM J. Discrete Math. 1996;9(4):545–561. doi: 10.1137/S0895480195279994. [DOI] [Google Scholar]
- 16.Murota K. Valuated matroid intersection ii: algorithms. SIAM J. Discrete Math. 1996;9(4):562–576. doi: 10.1137/S0895480195280009. [DOI] [Google Scholar]
- 17.Murota K. Discrete convex analysis. Math. Program. 1998;83(1–3):313–371. [Google Scholar]
- 18.Oxley JG. Matroid Theory. Oxford: Oxford University Press; 2006. [Google Scholar]



