---
title: Pair-Demand Valuations in Markets
url: https://www.emergentmind.com/topics/pair-demand-valuations
type: topic
---

# Pair-Demand Valuations in Markets

Pair-demand valuations are valuation models in which bundles of cardinality two are the relevant objects of choice. In combinatorial markets, they arise as the $k=2$ instance of $k$-demand valuations, where a bundle’s value is determined by its best 2-subset; in bi-demand markets, each buyer may take up to two items and values a bundle as the sum of the two highest single-item values in it; in sharp multi-unit demand models, each buyer wants exactly two items or none; and in Bayesian multi-unit pricing with private demands, the analogous “pair-demand” case is the first non-trivial setting with two possible demand levels [2005.11796] [2107.05131] [1210.0203] [1704.05027]. Across these formulations, pair-demand valuations form a natural extension of unit-demand preferences, but they also mark a sharp change in equilibrium existence, algorithmic tractability, and pricing structure.

## 1. Formal models of pair-demand

The term “pair-demand” does not denote a single canonical valuation class. Instead, it refers to several closely related models in which demand is bounded by, concentrated on, or parameterized by the number two.

| Setting | Formal rule | Interpretation |
|---|---|---|
| $k$-demand, $k=2$ | $v_2(S)=\max\{\,v(T):T\subseteq S,\ |T|\le 2\}$, or equivalently $\max\{\,v(T):T\subseteq S,\ |T|=2\}$ with the convention that if $|S|<2$ then $v_2(S)=v(S)$ | The value of a bundle is the value of its best contained pair |
| Bi-demand valuations | $v_t(X)=\max\{\,v_t(X')\mid X'\subseteq X,\ |X'|\le 2\}$ | The value is the sum of the two highest single-item values in $X$ |
| Sharp multi-unit demand with $d_i=2$ | Each buyer receives either exactly two items or none | A bundle of size less than $d_i$ has no value |
| Two-demand private-demand model | Type $(v,d)$ with $d\in\{d_1,d_2\}$ and value for $n$ units equal to $v\min\{n,d\}$ | Demand is private and can take two possible levels |

For $k$-demand valuations, Deligkas, Melissourgos, and Spirakis define the extension on a finite set of indivisible items $M$ by
\[
v_k(S)=\max\{\,v(T):T\subseteq S,\ |T|\le k\},
\]
and for $k=2$ this specializes to the pair-demand rule
\[
v_2(S)=\max_{\{i,j\}\subseteq S} v(\{i,j\}).
\]
They illustrate the definition with pair-only value tables, including cases in which several pairs are simultaneously “demand sets” [2005.11796].

The bi-demand model in dynamic pricing is more structured. There is a ground set $S$ of items and a set $T$ of buyers. Each buyer $t\in T$ has a value $v_t(s)\ge 0$ for each item $s\in S$, a demand bound $b(t)=2$, and bundle value
\[
v_t(X)=\max\bigl\{\,v_t(X')\mid X'\subseteq X,\ |X'|\le 2\bigr\},
\]
which is explicitly described as the sum of the two highest single-item values in $X$ [2107.05131].

The sharp-demand model of Briest et al. is different in both objective and semantics. Items are $M=\{1,\ldots,m\}$, each with quality $q_j>0$. Buyers are $N=\{1,\ldots,n\}$, each with sharp demand $d_i=2$ and unit-quality value $v_i>0$, so item values take the correlated form $v_{ij}=v_i\cdot q_j$. Allocations are disjoint, with each $X_i$ either empty or of size $2$, and utility is
\[
u_i(p,X)=\sum_{j\in X_i}(v_{ij}-p_j)
\]
or $0$ if $X_i=\emptyset$ [1210.0203].

In the unlimited-supply Bayesian pricing model of Devanur, Haghpanah, and Psomas, the buyer’s type is $(v,d)$, where $v\ge 0$ is the private per-unit value and $d\in\{d_1,d_2\}$ is the private demand. If allocated $n$ units at price $p$, quasi-linear utility is
\[
u(v,d;n,p)=v\min\{n,d\}-p.
\]
Here the “pair-demand” perspective refers to the simplest non-trivial case with exactly two possible demands, rather than to a combinatorial pair of distinct items [1704.05027].

## 2. Boundary between unit-demand and complementarity

Pair-demand valuations generalize unit-demand, but they do not preserve the same structural guarantees. In the terminology of Deligkas–Melissourgos–Spirakis, 1-demand = unit-demand valuations form a strict subclass of 2-demand: any 1-demand function is 2-demand but not vice versa. Unit-demand valuations satisfy Gross Substitutes (GS) and always admit a Walrasian equilibrium. General 2-demand valuations, by contrast, can exhibit complementarities and need not be GS [2005.11796].

This distinction is especially important because many tractability and existence results in market design hinge on GS. The data explicitly place 2-demand valuations inside the usual hierarchy
\[
\mathrm{UD}\subset \mathrm{BA}\subset \mathrm{SubM}\subset \mathrm{XOS}\subset \mathrm{SubA},
\]
and note that intersections with the 2-demand restriction produce subclasses such as “2-demand XOS” and “2-demand budget-additive.” Even within these restricted subclasses, one loses GS and equilibrium existence becomes hard to decide [2005.11796].

At the same time, pair-demand does not automatically imply arbitrary complementarity. If the pair-values $\{v(\{i,j\})\}$ arise from a collection of additive menus,
\[
v(S)=\max_{\ell}\sum_{j\in S} w_{\ell}(j),
\]
with each $w_{\ell}$ supported on at most two items, then $v_2$ is fractionally subadditive (XOS), hence subadditive. However, not all 2-demand valuations are subadditive unless additional structure is imposed [2005.11796].

A useful conceptual consequence is that pair-demand valuations are best viewed as a threshold class. They remain close enough to unit-demand for matching-based and LP-based techniques to remain relevant in several special cases, yet they are already rich enough to produce complementarities, equilibrium non-existence, and NP-hardness. This suggests that “allowing only pairs” is not a minor perturbation of the unit-demand model, but a structurally significant change.

## 3. Welfare maximization and dynamic pricing in bi-demand markets

For bi-demand valuations, maximum social welfare admits a clean LP formulation as a maximum-weight $b$-matching problem. The market is viewed as a complete bipartite graph $G=(S,T;E)$ with edge weights $w(st)=v_t(s)$. An integral optimum corresponds to a maximum-weight $b$-matching with $b(s)=1$ for all items and $b(t)=2$ for all buyers. Relaxing integrality yields the primal LP
\[
\begin{aligned}
\max\quad & \sum_{s\in S}\sum_{t\in T} w(st)\,x_{st}\\
\text{s.t.}\quad
& \sum_{t\in T} x_{st}\le 1 &&\forall s\in S,\\
& \sum_{s\in S} x_{st}\le 2 &&\forall t\in T,\\
& x_{st}\ge 0 &&\forall (s,t)\in E.
\end{aligned}
\]
Its dual introduces $y_s\ge 0$ for item-capacity constraints and $z_t\ge 0$ for buyer-capacity constraints:
\[
\begin{aligned}
\min\quad & \sum_{s\in S} y_s + 2\sum_{t\in T} z_t\\
\text{s.t.}\quad
& y_s+z_t\ge w(st) &&\forall (s,t)\in E,\\
& y_s,z_t\ge 0.
\end{aligned}
\]
By complementary slackness, edges with equality $y_s+z_t=w(st)$ are exactly those used in some optimum $b$-matching; these edges are called “tight” or “legal” [2107.05131].

A key contribution is the selection of an optimal dual solution with distinguished structural properties. By a perturbation argument, one can choose an optimum dual $(y,z)$ such that: (a) an edge $st$ is tight if and only if it appears in at least one maximum-weight $b$-matching; (b) $y_s=0$ if and only if there is a maximum-weight $b$-matching that leaves $s$ strictly under-saturated, and analogously for $z_t=0$; and (c) this solution can be found in polynomial time by alternating modifications of the weights and re-computing a minimum cover. The tight-edge subgraph $G_{(y,z)}$ therefore captures exactly the feasible allocations at each residual stage [2107.05131].

The dynamic-pricing scheme maintains the residual instance $(S',T')$, an optimal dual cover $(y,z)$ for that instance, the tight-edge graph $G_{(y,z)}\subseteq S'\times T'$, and an “adequate ordering” $\sigma$ of $S'$ with respect to $G_{(y,z)}$. Adequacy means that whenever a buyer $t$ arrives, her top-2 neighbors in $\sigma$ induce a feasible set of two items for her. The prices are then set by
\[
p(s)=y_s+\frac{\Delta}{|S'|+1}\,\sigma(s),
\]
where
\[
\Delta=\min\Bigl\{
\min_{(s,t)\,\text{non-tight}}(y_s+z_t-w(st)),
\ \min_{v:(y,z)_v>0}(y_v)
\Bigr\}.
\]
The next buyer picks her best bundle of size $\le 2$ according to these prices, with ties broken arbitrarily; by construction she chooses exactly two legal items and thus a feasible set. The process then removes that buyer and her chosen items and repeats [2107.05131].

The proof sketch rests on two ideas. Complementary slackness ensures that legal edges support all maximum-weight matchings, while the tiny lexicographic perturbation via $\sigma$ forces each buyer to pick exactly the two smallest-indexed legal neighbors. Adequacy of $\sigma$ prevents infeasible pair selections that would destroy optimal completability. Since every buyer picks a feasible pair, after $|T|$ steps all items are allocated and the resulting allocation is a global optimum of the primal LP [2107.05131].

Computationally, each phase requires solving one maximum-weight $b$-matching, or equivalently the primal or dual LP, in a bipartite graph of size $O(|S|+|T|)$; this can be done in time $O(n^3)$ or better. Computing the special dual cover requires $O(m)$ perturbed reweightings plus matching-cover computations, and determining an adequate ordering uses standard matching-connectivity tests and recursion on strictly smaller instances. The resulting dynamic scheme is polynomial-time and, in the bi-demand case, yields a purely posted-price, tie-break-free mechanism that always achieves maximum social welfare [2107.05131].

## 4. Walrasian equilibrium: existence, hardness, and special cases

For pair-demand valuations, the Walrasian picture changes sharply relative to unit-demand. The decision problem “WalrasianExists” asks whether there is an allocation $S^*$ and prices $p$ such that $(S^*,p)$ is a Walrasian equilibrium. Deligkas–Melissourgos–Spirakis show that WalrasianExists is strongly NP-hard even when every agent’s valuation is 2-demand XOS and each agent has positive value on at most six items [2005.11796].

The hardness proof proceeds from 3-bounded 3-dimensional matching (3DM). For each $x\in X$ one creates an agent $i_x$, and for each $y\in Y\cup Z$ an item $j_y$. If $x$ belongs to triplets $(x,y_{x,\ell},z_{x,\ell})$, the corresponding agent defines additive menus $w_{x,\ell}$ supported on the two items $\{j_{y_{x,\ell}},j_{z_{x,\ell}}\}$, each with unit weight, and valuation
\[
v_x(S)=\max_{\ell\le t}\sum_{j\in S} w_{x,\ell}(j).
\]
An allocation of welfare $2|X|$ exists if and only if one can choose, for each $x$, a disjoint pair corresponding to one of its triplets, that is, a 3D matching of size $|X|$. Hence deciding Walrasian equilibrium existence is equivalent to solving the 3DM instance under the stated bounded-occurrence conditions [2005.11796].

The paper also isolates tractable special cases. For pure unit-demand markets, winner determination reduces to maximum-weight perfect matching on a bipartite graph, and prices can be recovered by solving a linear program with constraints
\[
v_i(j_i)-p_{j_i}\ge v_i(j)-p_j,
\]
together with nonnegativity on allocated items and zero prices on unallocated ones. Using the quasi-NC matching algorithm of Fenner–Gurjar–Thierauf and Lüker’s quasi-NC algorithm for 2-variable LP, the full Walrasian problem is in quasi-NC for unit-demand valuations [2005.11796].

For 2-demand single-minded valuations, each agent wants exactly one specific pair $\{a_i,b_i\}$ for value $B_i$ and has zero value for any other bundle. Winner determination then reduces to maximum-weight matching on the general graph whose vertices are items and whose edges $\{a_i,b_i\}$ carry weights $B_i$. Given the matching, one again recovers equilibrium prices by the 2-variable LP trick. The running time is $O(m^3)$ or better using Edmonds’ blossom algorithm plus polynomial-time LP [2005.11796].

Economically, the distinction is explicit: unit-demand agents enjoy GS, and prices can be adjusted without creating demand cycles; once agents can value pairs, complementarities may arise, GS fails, and equilibria may not exist. The special cases show that matching-based reductions still survive when the pair structure is sufficiently sparse or rigid, but the general 2-demand XOS setting already lies in strongly NP-hard territory [2005.11796].

## 5. Revenue maximization with sharp pair demand

In the sharp multi-unit demand model with $d_i=2$ and correlated values $v_{ij}=v_i q_j$, the central objects are envy-free pricing and competitive equilibrium. An allocation $X=(X_1,\ldots,X_n)$ consists of disjoint sets, with each $X_i$ either empty or of size $2$, and prices satisfy $p=(p_1,\ldots,p_m)\ge 0$. The pair $(p,X)$ is envy-free if every winning buyer prefers her assigned pair to every other 2-set and has nonnegative utility, while every losing buyer derives nonpositive utility from every 2-set. It is a competitive equilibrium if it is envy-free and every unsold item has price zero. Revenue is $\sum_i\sum_{j\in X_i} p_j$ [1210.0203].

For this pair-demand case, the main complexity statements are explicit. Under $v_{ij}=v_i q_j$ and sharp $d_i=2$ demands, a competitive equilibrium may or may not exist, but there is a polynomial-time algorithm in $(n,m)$ that tests existence and, if one exists, returns a revenue-maximizing competitive equilibrium. For envy-free pricing, because $\Delta=2$ is constant, the general constant-$d$ algorithm runs in polynomial time and computes a revenue-maximizing envy-free pricing; by contrast, for arbitrary demands the envy-free optimization problem is NP-hard [1210.0203].

The competitive-equilibrium algorithm has two stages. Stage 1 finds a “candidate winner set” $S^*$ by partitioning buyers by distinct $v$-levels $A_1,\ldots,A_K$, highest values first, and maintaining the residual supply $D\leftarrow m$. If $2|S_k|>D$, the algorithm checks whether there is a subset $S'\subseteq S_k$ with $2|S'|=D$; if so, it moves to Stage 2, and otherwise declares that no equilibrium exists. If $2|S_k|\le D$, it adds $S_k$ to $S^*$ and decreases $D$ by $2|S_k|$. The claim is that if any competitive equilibrium exists, this procedure finds $S^*$ equal to the set of winners in some competitive equilibrium [1210.0203].

Stage 2 fixes the unique “greedy” allocation $X^*$ that assigns the top-quality items to buyers in $S^*$ in descending order of $v_i$. Prices are then obtained from an exponential-size LP maximizing revenue subject to nonnegativity, zero price on unallocated items, winner envy-freeness constraints
\[
v_i q_j-p_j \ge v_i q_{j'}-p_{j'} \qquad \forall i\in S^*,\ j\in X_i^*,\ j'\notin X_i^*,
\]
and loser constraints
\[
\sum_{j\in T}(v_i q_j-p_j)\le 0 \qquad \forall i\notin S^*,\ T\subseteq M,\ |T|=2.
\]
Because separation for loser constraints takes $O(m\log m)$ by sorting $v_i q_j-p_j$, the ellipsoid method solves the LP in polynomial time. Stage 1 runs in $O(K\cdot \mathrm{poly}(n,m))$, and Stage 2 is polynomial in $(n,m)$ [1210.0203].

For envy-free pricing, the algorithm specializes the general bounded-demand method to $\Delta=2$. Candidate winner sets $S$ satisfy $d(S)=2|S|\le m$ and the monotonicity condition that no buyer with higher $v$ can become a loser and still be envy-free. In the pair-demand case, the total number of candidate sets is $|D|=O(n\cdot m)$, and they can be generated by a simple DP in time $O(nm)$. For each candidate set, the method either enumerates small subsets $T$ of items when $\ell=2|S|\le 4$, or fixes the top-4 items and uses a dynamic program Solve-DLP to choose the remaining $\ell-4$ items. The subroutine MaxRevenue$(S,T)$ is a tiny LP, constant-size when $\Delta=2$, and decides in $O(1)$ time whether prices exist for the fixed allocation and, if so, returns revenue-maximizing prices [1210.0203].

Several simplifications are specific to pair demand: every winner blocks exactly $2$ units of supply; subset-sum checks reduce to checking whether $D$ is even and at most $2|S_k|$; the loser checks involve only subsets of size at most $2$; and Solve-DLP has only two phases. These observations explain why the bounded-demand framework becomes particularly explicit in the $d_i=2$ case [1210.0203].

## 6. Bayesian multi-unit pricing with two possible demands

In the unlimited-supply single-buyer model with type $(v,d)$ and $d\in\{d_1,d_2\}$, the central regularity notion is decreasing marginal revenue (DMR). For a distribution with CDF $F$ and density $f$, DMR means that
\[
R(v)=v(1-F(v))
\]
is concave in $v$, equivalently
\[
R''(v)\le 0,
\]
or, equivalently, $v f(v)-(1-F(v))$ is non-decreasing in $v$. In the two-demand setting, both conditional distributions $F_1$ and $F_2$ are assumed to satisfy DMR [1704.05027].

Under DMR, the optimal menu is deterministic. The seller posts two prices $p_1\le p_2$, offering $d_1$ units for price $p_1$ and $d_2$ units for price $p_2$. A buyer of type $(v,d)$ chooses whichever bundle maximizes
\[
\max\{\,v d_j-p_j : j\le d\}.
\]
Expected revenue is
\[
R(p_1,p_2)=q_1\,\mathbb{E}_{v\sim F_1}\bigl[p_1\mathbf{1}\{v d_1\ge p_1\}\bigr]
+q_2\,\mathbb{E}_{v\sim F_2}\bigl[\text{price paid by a type }d_2\text{ buyer}\bigr].
\]
For a $d_2$-buyer, the relevant thresholds are
\[
t_{2,1}=\frac{p_2-p_1}{d_2-d_1},\qquad t_{2,0}=\frac{p_2}{d_2},\qquad t_{1,0}=\frac{p_1}{d_1},
\]
which determine whether the buyer purchases the $d_2$-bundle, the $d_1$-bundle, or nothing. Writing these regions out yields a closed-form expression for $R(p_1,p_2)$, and the key proposition is that under DMR the map $(p_1,p_2)\mapsto R(p_1,p_2)$ is jointly concave on the convex domain $\{0\le p_1\le p_2\}$ [1704.05027].

Concavity gives both structure and computation. The proof partitions the $(p_1,p_2)$-plane into regions where the threshold ordering is fixed, shows concavity of each piece via DMR, and then checks that both the values and gradients agree on boundaries, yielding global concavity. As a consequence, the optimal prices are determined by either an interior optimum or one of two boundary faces [1704.05027].

The closed-form solution uses the monopoly-reserve points
\[
r_i=\arg\max_{v\ge 0} d_i\,v\,(1-F_i(v)),\qquad i=1,2,
\]
and $\alpha=d_1/d_2$. Three cases arise. In Case A, if $\alpha r_2\le r_1\le r_2$, the separate-reserves solution $(p_1,p_2)=(r_1,r_2)$ is feasible and optimal. In Case B, if $r_1<\alpha r_2$, the optimum lies on the lower boundary $p_1=\alpha p_2$, so $p_2=r_2$ and $p_1=\alpha r_2$. In Case C, if $r_1>r_2$, the optimum lies on the upper boundary $p_1=p_2=v$, where $v^*$ maximizes
\[
q_1 d_1 v(1-F_1(v))+q_2 d_2 v(1-F_2(v)).
\]
In all cases, the problem reduces to maximizing a concave function on a convex set, so standard convex-optimization methods yield a polynomial-time algorithm to any desired precision [1704.05027].

Taken together, these results show that the significance of pair-demand depends on market architecture. In combinatorial exchange, it is the first setting in which complementarities decisively disrupt Walrasian existence and tractability. In dynamic pricing for bi-demand buyers, LP duality and tight-edge structure are still strong enough to support welfare-optimal posted prices. In revenue maximization, the same cardinality restriction can either permit polynomial-time envy-free and competitive-equilibrium pricing under correlated values, or admit a deterministic and concave optimal price curve under DMR in the single-buyer unlimited-supply model.

Source: https://www.emergentmind.com/topics/pair-demand-valuations