On price-induced minmax matchings
Christoph D\"urr, Mathieu Mari, Ulrike Schmidt-Kraepelin

TL;DR
This paper investigates a combinatorial pricing problem where a seller sets item prices to maximize transactions from sequential buyers with equal budgets, analyzing the worst-case scenarios and bounds of pricing strategies.
Contribution
It provides new characterizations of subgraphs resulting from pricing schemes and improves the bounds on the performance ratio of pricing strategies.
Findings
Improved upper bound of 3/5 on the performance ratio.
Lower bound of 1/2 + 2/n for the performance ratio.
Characterizations of subgraphs from pricing schemes.
Abstract
We study a natural combinatorial pricing problem for sequentially arriving buyers with equal budgets. Each buyer is interested in exactly one pair of items and purchases this pair if and only if, upon arrival, both items are still available and the sum of the item prices does not exceed the budget. The goal of the seller is to set prices to the items such that the number of transactions is maximized when buyers arrive in adversarial order. Formally, we are given an undirected graph where vertices represent items and edges represent buyers. Once prices are set to the vertices, edges with a total price exceeding the buyers' budgets are evicted. Any arrival order of the buyers leads to a set of transactions that forms a maximal matching in this subgraph, and an adversarial arrival order results in a minimum maximal matching. In order to measure the performance of a pricing strategy, we…
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
TopicsAuction Theory and Applications · Game Theory and Voting Systems · Optimization and Search Problems
On price-induced minmax matchings
Christoph Dürr CNRS, Sorbonne Université, LIP6, France. Work partially done while C.D. was affiliated with CNRS, University of Chile, CMM. Funded by the French National Research Agency grant ANR-19-CE48-0016, the Center for Mathematical Modeling grant ANID FB210005, BASAL funds for center of excellence from ANID-Chile, Deutsche Forschungsgemeinschaft grant BR 4744/2-1, the European Research Council (ERC) grant 639945 (ACCORD), and the ERC CoG grant 772346 (TUgbOAT).
Mathieu Mari University of Warsaw and IDEAS-NCBR, Poland
Ulrike Schmidt-Kraepelin Centro de Modelamiento Matemático, Universidad de Chile, Chile. Work partially done while affiliated with TU Berlin, Germany.
Abstract
We study a natural combinatorial pricing problem for sequentially arriving buyers with equal budgets. Each buyer is interested in exactly one pair of items and purchases this pair if and only if, upon arrival, both items are still available and the sum of the item prices does not exceed the budget. The goal of the seller is to set prices to the items such that the number of transactions is maximized when buyers arrive in adversarial order.
Formally, we are given an undirected graph where vertices represent items and edges represent buyers. Once prices are set to the vertices, edges with a total price exceeding the buyers’ budgets are evicted. Any arrival order of the buyers leads to a set of transactions that forms a maximal matching in this subgraph, and an adversarial arrival order results in a minimum maximal matching. In order to measure the performance of a pricing strategy, we compare the size of such a matching to the size of a maximum matching in the original graph. It was shown by Correa et al. [IPCO 2022] that the best ratio any pricing strategy can guarantee lies within . Our contribution to the problem is two-fold: First, we provide several characterizations of subgraphs that may result from pricing schemes. Second, building upon these, we show an improved upper bound of and a lower bound of , where is the number of items.
1 Introduction
Imagine a seller, who has a set of items and needs to choose prizes for each . There are buyers interested in purchasing exactly two items, provided that the total cost does not exceed their budget and that none of the two items is already sold. We focus on buyers with equal budgets and assume wlog that this budget is . The seller knows the preferred bundles of the buyers, but not the order in which they arrive. The goal is to choose the prices so to maximize the number of transactions in the worst case, that is in the worst arrival order of the buyers. In a more general setting, this problem has been studied for the case of random buyer valuations in [FGL15, Cor+22].
The problem can be stated formally in terms of a matching problem. Given a graph , the vertices correspond to the items and the edges to the buyers.111We remark that, in general, two buyers may request the same pair of items implying that may have parallel edges. However, since all buyers have equal budget, we can assume without loss of generality that is simple. Any feasible set of transactions corresponds to a matching in the graph, i.e., a set of edges such that no two edges share a common endpoint. A matching with the largest cardinality is called maximum. A maximal matching is such that it cannot be extended by any additional edge and a maximal matching with minimum cardinality is called a minmax matching. The minmax ratio of a graph is the ratio between the cardinalities of a minmax matching and a maximum matching.
It is well known that the minmax ratio of any graph is at least , as any maximal matching is at least half of the size of a maximum matching. A maximum matching can be computed in polynomial time, but finding a minmax matching is NP-hard [YG80], and even hard to approximate within any factor better than under the strong unique game conjecture [DMM21].
For given prices for vertices of the graph, the set of edges with total price at most 1 over the endpoints is denoted . We denote by the graph restricted to these edges. An edge set is called keepable if there exist prices such that . The goal is to choose prices such that the size of a minmax matching in is as large as possible.222In the auction literature, the objective is typically to maximize the (worst case) sum of collected prices. In our setting, this is essentially equivalent to our objective, since we can enforce that all prices are arbitrarily close to . The performance is measured by comparison with the maximum matching in the original graph . The largest ratio achievable is called the competitive ratio of the given graph. Our main goal is to determine the smallest competitive ratio among all graphs, also referred to as the competitive ratio of the problem. While Correa et al. [Cor+22] showed that the competitive ratio is in , we contribute to this problem as follows:
- •
In Section 2, we provide several characterizations of keepable edge sets.
- •
In Section 3, we improve the upper bound to 3/5.
- •
In Section 4, we provide a minor improvement on the lower bound. Formally, we show that the competitive ratio is at least , where is the number of nodes (items).
Related Work
Posted-price Mechanisms
Our problem falls into the realm of designing posted-price mechanisms for combinatorial auctions. In general, buyers may be interested in buying any subset of items, often referred to as bundles. A posted-price mechanism sets prices for the items and buyers pay the sum of the item prices of their allocated bundle. While posted-price mechanisms usually fail to maximize social welfare, they are inherently transparent. Much of the research focuses on the existence of Walrasian equilibria, i.e., prices for the items such that every buyer obtains a utility maximizing bundle [Arr51, Deb51]. In contrast, we deviate from such an envy-freeness requirement by assuming that agents arrive sequentially.
The model that is closest to ours was initiated by Feldman et al. [FGL15a] and recently revisited by Correa et al. [Cor+22]. Here, buyers arrive in a worst-case order, but the valuations of the buyers over bundles are drawn randomly. Correa et al. [Cor+22] prove the existence of prices that guarantee an -approximation of the optimal social welfare obtained by any allocation mechanism (not necessarily posted-price), where is the size of a largest bundle with positive valuation by any buyer. Our setting is a special case of theirs obtained by setting and considering buyers’ valuations that are single-minded (i.e., have positive valuation for exactly one bundle) and deterministic.
Another related and well-studied problem is the graph pricing problem. Similar to our setting, buyers are interested in purchasing bundles of size two, however, a crucial assumption is that there is infinite supply of the items (aka digital goods) and buyers may have different budgets. Balcan and Blum [BB06] show that there exists an efficient algorithm providing a -approximation to the optimal pricing scheme. Later, Lee [Lee15] proves that the problem cannot be approximated with a constant smaller than , assuming the unique games conjecture. Friggstad and Mahboub [FM21] study the graph pricing problem with limited supply, but deviate from our assumption that buyers arrive in a worst-case order.
Minmax Matchings
Finding a maximal matching of minimum size (i.e., a minmax matching) is a notoriously hard problem, as witnessed by a long line of research: Yannakakis and Gavril [YG80] showed that the minmax matching problem is NP-hard, even in planar graphs or bipartite graphs of maximum degree 3. Moreover, the problem remains NP-hard for the case of planar bipartite graphs, planar cubic graphs [HK93], and -regular bipartite graphs [DET14]. In contrast, there exists a polynomial-time algorithm for series-parallel graphs [RP88].
Regarding approximation, Gotthilf et al. [GLR09] showed that there exists a approximation algorithm. However, this is essentially tight since the problem is hard to approximate with a constant smaller than in general graphs [DLM19] (assuming the unique games conjecture), and even in bipartite graphs [DMM21] (assuming any of two strengthenings of the unique games conjecture).
2 Keepable sets
In this section we provide several characterizations of keepable edge sets. In other words, we ask for which edge sets exist prices such that if and only if .
For a given set of edges , an alternating walk is a sequence of vertices with , even and such that for every and it belongs to if and only if is odd. Note that a walk can contain an edge several times, as in Figure 1. A standard argument shows that if there is an alternating walk, then there exists an alternating walk which contains every edge at most twice (once for each direction of traversal).333If an alternating walk traverses an edge twice in the same direction, then we can decompose the walk into two alternating walks of smaller size. Restricting repeatedly to one of the walks eventually shows the claim. Alternating walks containing each edge at most once, are called alternating cycles. Our first characterization of keepable edge sets is based on alternating walks.
Lemma 1**.**
A set is keepable if and only if there is no alternating walk with respect to .
Proof.
The proof uses a procedure, which, given , will either generate prices such that or will generate an alternating walk with respect to . For this procedure, let be a sufficiently small constant, e.g., would do. Initialise a counter . Repeat the following steps while possible.
- •
If there exists a vertex incident to only edges in , then set ; increment by one; remove and its incident edges from .
- •
If there exists a vertex incident to only edges not in , then set ; increment by one; remove and its incident edges from .
We consider two cases. If the procedure completed with an empty graph, we claim . Indeed, a vertex that received the price was connected at that moment to vertices which eventually received prices strictly smaller than , by the increase of . As a consequence as required. On the other hand, a vertex that received the price was connected at that moment only to vertices , which eventually received prices strictly larger than , and hence as required.
In the case the procedure completed with a non-empty graph , we claim that it contains an alternating walk. Construct a directed graph from , by making a copy of every vertex in , and generating for every edge in the arcs if belongs to , and the arcs if does not belong to . This directed graph has positive in- and out-degree. By selecting one incoming and one outgoing arc at every vertex, the selected arcs form a collection of directed cycles. Each of them translates into an alternating walk in . ∎
We remark that the symmetric nature of alternating walks implies that is keepable if and only its complement is keepable.
The previous proof implies implicitly a different characterization of keepable sets. The procedure described in the proof processes vertices in some order. If is keepable, then every processed vertex has the following property: Among the not yet processed vertices that are adjacent to , either all of them are connected to via an edge in or none of them is.
Corollary 1**.**
A set is keepable if and only if there is a total order on the vertices and a subset such that every edge with belongs to if and only if .
By grouping vertices along the total order, alternating between vertices in and outside of , we directly obtain yet another characterization of keepable sets. See Figure 2 for illustration.
Corollary 2**.**
A set is keepable if and only if there is an ordered partition of the vertices into sets , such that an edge is in if and only if is odd, where are such that . The order of the sets is important, hence the name ordered partition. For convenience we assume even, and we allow some of the sets to be empty.
In some cases we can simplify the ordered partition in such a way that it defines the same keepable set. Suppose that for the partition , we have for some . Then replacing the sets by the single set preserves the keepable set it defines.
The algorithm that proves our lower bound (Section 4) constructs a set of keepable edges, by starting with all edges and evicting iteratively more and more edges. Such a construction can be done using the previous corollary.
We start by defining the following dynamic labeling of edges. An edge can be labeled evicted, definitely kept or temporarily kept. We define an action, called refinement by a given vertex set , which changes the edge labels. Initially all edges are temporarily kept. A refinement by a set changes the edge labels as follows.
- •
temporarily kept edges with both endpoints in are evicted,
- •
temporarily kept edges with no endpoints in are definitely kept,
- •
the labels of all other edges are unchanged.
Note that for given vertex sets, the edge labels depend on the order in which the refinement is done. For example, if an edge has both endpoints in and none in , then refining by and then by will evict the edge. However a refinement by and then by will definitely keep the edge.
Lemma 2**.**
An edge set is keepable if and only if there exists a sequence of vertex sets , such that after refinements by these sets, consists of all temporarily and definitely kept edges.
Proof.
We start by proving the backwards direction of the claim and use the keepable edge set characterization of Corollary 2. We have to show how a refinement by a vertex set can update the ordered partition, such that the edge labels are as required. For a given ordered partition , we label edges as follows. For an edge , let be such that . Without loss of generality assume . If is even, the edge is evicted. If is odd and , the edge is temporarily kept. But if is odd and or , the edge is definitely kept. In the right side of Figure 2, dotted edges are evicted, thin solid edges temporarily kept and thick solid edges definitely kept.
There is one special case to the above defined edge labels. Before the very first refinement, we have the trivial partition , but we label all edges as temporarily kept.
After the first refinement by set , we have the partition . The edges are labeled as required: Within edges are definitely kept, between and they are temporarily kept and edges within are evicted.
Now, let be an ordered partition obtained by some refinements done in the past, and consider a refinement by a vertex set . We update the partition as follows. Assume is even. For every , we replace the 2 sets by the 4 sets (in this order), see Figure 3.
Let be an arbitrary edge, and such that . We assume without loss of generality. Let be the index of the sets to which respectively belong after the replacement.
Observe that and have the same parity, and so have and .
This already implies that if was evicted, then is even, and so is , hence is still evicted.
If was definitely kept, then was odd and was either or at least . In case , then after the replacement we have either in case both endpoints or no endpoint belongs to or in case exactly one endpoint belongs to . In both cases the edge is still definitely kept. Similarly if , then after the replacement we still have , and as a result the edge is still definitely kept.
If was temporarily kept, then is odd and . We have to consider 4 cases, depending whether belongs to and whether belongs to . The cases are depicted in Figure 3.
In case both endpoints belong to (edge in Figure 3), we have . Hence before the replacement belonged to a lower indexed set, and now belongs to a smaller indexed set. And since this later index is odd, the edge is evicted.
In case no endpoint belongs to (edge in Figure 3), we have . As a result the edge is definitely kept.
In the other two remaining cases (edges and in Figure 3), , and the edge remains temporarily kept.
This establishes that the update of the ordered partition leads to the required edge labeling. Therefore the set of kept edges is keepable.
It remains to show the other direction of the proof. Given an ordered partition, we show that there is a sequence of vertex sets, which lead by refinements to this partition. It is sufficient to show a single step. Namely, given an ordered partition (assuming without loss of generality to be a power of 2), we can construct an ordered partition and a vertex set such that refining by results in . Simply define , and . Inspecting the definition of a refinement proves the claim. ∎
3 Upper bound
In this section, we prove an improved upper bound for the competitive ratio of our problem. To this end, we make use of our characterization of keepable edge sets via alternating walks (Lemma 1).
Proposition 1**.**
Let be the Peterson graph. The size of a minmax matching in is , and there exist no prices such that the size of a minmax matching in is larger than . Thus, the competitive ratio of is .
Proof.
We show that on the Petersen graph, the ratio is 3/5. In this graph, there is an optimum matching of size 5 (see Figure 4), and we show that the algorithm cannot select a keepable subset of the edges, such that in the induced subgraph the minmax matching has size 4.
The proof uses a 01-integer program formulation of the problem, which we run on a solver to certify infeasibility.
We want to decide if there is an edge set , with the following properties:
- •
is keepable.
- •
admits a matching of size .
- •
Every matching of size in can be extended to a matching of size .
The existence of such a set would imply that every minmax matching of the graph restricted to edge set has size at least 4. Hence if no set has these properties, then the ratio is at most for the Petersen graph.
We introduce a binary variable for every edge , such that is the characteristic vector of . To ensure that is keepable, we use the characterization involving alternating walks. There are at least 25 even length cycles in the Petersen graph, which are depicted in Figure 5 up to rotations. For each cycle denote its edge sets taken in alternation. We need to enforce that is not alternating along the cycle, so we need to prevent and as well as and . Denoting by , we write the constraint
[TABLE]
To enforce that admits a matching of size we introduce variables for every matching of size . We require and add constraints such that implies . Formally for every matching of size we add the constraint
[TABLE]
Finally we introduce for every matching of size a variable with the following interpretation. If then . So we add the following constraints
[TABLE]
where the second sum ranges over all edges such that is a matching.
We used a standard integer linear programming solver to show that the above described linear program has no integer solution. The instance is so small (250 variables, 431 constraints) that the solver GLPK gives the answer within a second. The source code can be found at https://www.lip6.fr/Christoph.Durr/pricing/petersen.py.
Note that it is not necessary to show that the Petersen graph contains only those 25 even length cycles, depicted in figure 5. Indeed, if we would have missed some walks, our linear program would be a relaxation. And this does not weaken the fact that the solver certifies infeasibility. ∎
4 Lower bound
Let be the given graph and a maximum matching in . We know that the size of every minmax matching in is at least . Moreover, there are graphs for which this inequality is tight, for example the path of length 3. In this section we show that it is always possible to restrict the graph to a particular keepable edge set and obtain a minmax matching of strictly larger size.
Proposition 2**.**
For every graph , there exist prices such that the size of a minmax matching in is at least , where is a maximum matching in .
There are two weaknesses of this result. First, we could not strengthen it to a constant lower bound. Second, even if the proof is constructive, it needs to compute multiple minmax matchings. Since this is an NP-hard problem, it raises the question if such prices can be computed in polynomial time.
Proof.
Instead of constructing prices directly, we define the following refinement algorithm, which makes use of our characterization of keepable edge sets from Lemma 2. The algorithm starts by labeling all edges to be temporarily kept and fixes a maximum matching . We will later show that, during the entire execution of the algorithm, , where is defined as in Lemma 2, i.e., as the set of temporarily kept and definitely kept edges. The algorithm repeats the following steps, see Figure 6 for an example.
- •
Compute a minmax matching for the graph .
- •
If , we are done and stop the procedure.
- •
Otherwise, consider the symmetric difference between and . It consists of a collection of paths of length 3, each consisting of two inner nodes and two endpoints. Let be the set of inner nodes of these paths, which are exactly all vertices matched by .
- •
Refine the edge labels by , which results in evicting from all edges with both endpoints in . In particular, all edges in are evicted.
By Lemma 2, is keepable at all times. Moreover, in every iteration, every edge has at least one endpoint in , simply because is a maximal matching. As a result, at any moment, edges are either evicted or temporarily kept, but never definitely kept.
We now argue that during the entire execution of the algorithm. In every iteration, consists of the inner nodes of length of paths , where edges in form the outer edges. Hence, each edge in has exactly one endpoint in and therefore remains temporarily kept.
Hence, any minmax matching in has size at least , and, after termination, has size at least .
It remains to argue that the algorithm terminates eventually. Since the algorithm evicts a minmax matching of size at least in each iteration, the procedure terminates after iterations. ∎
The presented algorithm stops as soon as holds. One might be wondering whether the algorithm could continue evicting edges as long as possible. More precisely, the algorithm would still refine by the inner nodes of paths of length three in the symmetric difference , while it would ignore longer alternating paths. Let’s call this the extended refinement algorithm.
Unfortunately, this algorithm is not guaranteed to provide an improved minmax ratio. While the refinement strategy would preserve the optimal matching , maybe surprisingly, the size of a minmax matching can even decrease to . We discuss such an example in Figure 7.
5 Final remarks
We studied a matching problem which is motivated by posted price mechanisms for online combinatorial auctions. In particular, we were interested in the competitive ratio of our problem, i.e., the ratio between a maximum matching in the original graph, and the maximum size of a minmax matching in any price-induced subgraph. To this end, we gave four characterizations of subgraphs that can be induced by pricing schemes. Building upon these, we were able to reduce the range of the competitive ratio from to .
As the problem is far from being solved, we see many interesting directions for future work. Besides the remaining gap between the lower and upper bound, we remark that the competitive ratio for bipartite graphs could be anywhere between and , as the Peterson graph, which we used for our upper bound, is not bipartite.
Moreover, our motivation from combinatorial auctions leads to a range of interesting questions in more general settings. For example, can our characterizations be generalized to the case when buyers have different budgets or when buyers are interested in bundles of size larger than ?
While we focused on understanding the existence of pricing schemes with good competitive ratio, an orthogonal question is whether an optimal pricing scheme, i.e., one that maximizes the size of induced minmax matchings (per instance), can always be found in polynomial time, and if not, how good can it be approximated? We remark that many related problems in the literature are NP-hard and even hard to approximate.
Acknowledgments.
The authors would like to thank José Correa for having introduced this problem to us, as well as for valuable discussions. We would also like to thank Moritz Buchem and Roland Vincze for interesting discussions on the problem.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[Arr 51] Kenneth J Arrow “An extension of the basic theorems of classical welfare economics” In Proceedings of the Second Berkeley Symposium on Mathematical Statistics and Probability 2 , 1951, pp. 507–533
- 2[Deb 51] Gerard Debreu “The coefficient of resource utilization” In Econometrica JSTOR, 1951, pp. 273–292
- 3[YG 80] Mihalis Yannakakis and Fanica Gavril “Edge dominating sets in graphs” In SIAM Journal on Applied Mathematics 38.3 SIAM, 1980, pp. 364–372
- 4[RP 88] MB Richey and R Gary Parker “Minimum-maximal matching in series-parallel graphs” In European Journal of Operational Research 33.1 Elsevier, 1988, pp. 98–105
- 5[HK 93] Joseph Douglas Horton and Kyriakos Kilakos “Minimum edge dominating sets” In SIAM Journal on Discrete Mathematics 6.3 SIAM, 1993, pp. 375–387
- 6[BB 06] Maria-Florina Balcan and Avrim Blum “Approximation algorithms and online mechanisms for item pricing” In Proceedings of the Seventh ACM Conference on Electronic Commerce (EC) , 2006, pp. 29–35
- 7[GLR 09] Zvi Gotthilf, Moshe Lewenstein and Elad Rainshmidt “A (2-cnn) Approximation Algorithm for the Minimum Maximal Matching Problem” In Proceedings of the Sixth International Workshop on Approximation and Online Algorithms (WAOA) Springer, 2009, pp. 267–278
- 8[DET 14] Marc Demange, Tınaz Ekim and Cerasela Tanasescu “Hardness and approximation of minimum maximal matchings” In International Journal of Computer Mathematics 91.8 Taylor & Francis, 2014, pp. 1635–1654
