Manuscript Offprint
arXiv:2610.40626Finding Competitive Equilibria in Online Marketplaces with Platform Fees, Taxes, and Subsidies
Abstract
We study equilibrium computation in multi-unit trading networks with valuations satisfying generalized full substitutes and agent- and transaction-specific piecewise-linear transfer functions. These transfers model platform fees, taxes, subsidies, and membership discounts in online marketplaces. Our ascending procedure raises prices at different rates and reaches the minimum equilibrium price vector in finitely many iterations, each implementable in strongly polynomial time under our oracle and arithmetic models. An equilibrium allocation can then be recovered efficiently. The method extends primal-dual techniques developed for ascending auctions to handle complementarities between purchases and sales through a submodular flow formulation. In single-seller markets with substitutes and complements, our framework also extends the double-track auctions of Sun and Yang (2009) and Shioura and Yang (2015) to bidder- and good-specific transfers.
1 Introduction
Online marketplaces facilitate trade among individuals and firms across countries and regions. Agents may face different tax and subsidy regimes, while platform fees and payment rules may vary with membership status, transaction conditions, or price ranges. These frictions can create a gap between posted prices and the amounts buyers actually pay or sellers receive. The same price change may also affect monetary transfers differently across agents and transactions. Such differences shape trading incentives and complicate price discovery, raising a natural question: how can price adjustment clear markets under heterogeneous frictions?
Consider a distributor buying from manufacturers and selling to retailers in an online wholesale marketplace. Its purchasing decisions depend on the revenue it can earn from reselling those goods, net of fees. Trading networks (Hatfield et al., 2013) model these interdependent decisions, with directed edges representing potential bilateral trades. When purchases and sales face different fee schedules, uniform price increases may raise purchasing costs faster than net sales revenue. Existing work establishes conditions for equilibrium existence under frictions (Fleiner et al., 2019) and for a lattice structure of equilibrium prices (Schlegel, 2022). These results do not provide an algorithm for computing an equilibrium.
*Institute for Chemical Reaction Design and Discovery (ICReDD), Hokkaido University, Sapporo, Hokkaido, Japan. D3 Center, The University of Osaka, Osaka, Japan. Center for Advanced Intelligence Project, RIKEN, Tokyo, Japan. oki@icredd.hokudai.ac.jp
School of Science and Engineering, Chuo University, Tokyo, Japan. rsato636@g.chuo-u.ac.jp
Price adjustment in trading networks must handle complementarities between purchases and sales. Such complementarities also arise in single-seller markets. A retail platform selling complementary goods may apply different fees across categories and membership tiers. For goods such as laptops and monitors, fees in one category can affect demand in the other, complicating price adjustment. Sun and Yang (2009) and Shioura and Yang (2015) develop price-adjustment procedures for markets with substitutes within each of two groups and complements across groups, albeit without frictions.
Our goal is to develop a price-adjustment framework for computing equilibria in trading networks under heterogeneous frictions, with applications to single-seller markets. Without frictions, existing methods compute equilibria in trading networks (Candogan et al., 2021) and single-seller markets with substitutes and complements (Sun and Yang, 2009; Shioura and Yang, 2015) through welfare maximization or its dual formulation. Frictions can invalidate this characterization, preventing a direct extension of these approaches (Schlegel, 2022). We therefore extend recent primal-dual techniques for ascending auctions (Eickhoff et al., 2025; Oki and Sato, 2026) using minimum-cost submodular flow (Edmonds and Giles, 1977; Iwata et al., 2003).
-
An ascending procedure for multi-unit trading networks. We develop an ascending procedure that raises prices at different rates to accommodate heterogeneous transfers. Starting from zero prices, the procedure reaches the minimum equilibrium price vector in finitely many iterations, establishing equilibrium existence constructively. At each iteration, it determines both the set of trades whose prices increase and a direction specifying their rates of increase while keeping this set locally stable. The set and the direction can be computed in strongly polynomial time under our oracle and arithmetic models.
-
Applications to single-seller markets. Our trading-network formulation encompasses the model of Oki and Sato (2026) as a special case, recovering its minimum equilibrium good prices by projection, preserving buyer payments. We also extend the celebrated double-track auctions (Sun and Yang, 2009; Shioura and Yang, 2015) for markets with substitutes and complements to bidder- and good-specific transfers.
-
Equilibrium allocation recovery. Given equilibrium prices, we compute an equilibrium allocation maximizing total trade volume in strongly polynomial time under our oracle and arithmetic models. To compute this allocation, we use minimum-cost submodular flow, as in the price-adjustment procedure.
Our Techniques. We extend the primal-dual framework of Oki and Sato (2026) from single-seller markets to trading networks, where agents may both buy and sell and purchases and sales can be complementary. Using the twist operator (Ikebe and Tamura, 2015; Ikebe et al., 2015), we reverse sale coordinates to obtain generalized-polymatroid demand sets that may contain negative coordinates and whose rank functions need not be nonnegative or monotone. This prevents a direct application of their polymatroid-based formulation. We therefore use minimum-cost submodular flow, while retaining their lexicographic construction of price-update directions from componentwise minimal optimal dual solutions. The resulting dual effective-domain constraints yield the sign conditions needed to prove local stability without assuming monotonicity of rank.
functions. The submodular-flow formulation makes these directions computable in strongly polynomial time under our oracle and arithmetic models.
We further generalize the formulation by introducing a (signed) market-clearing vector , which equals the supply vector s in the market studied by Oki and Sato (2026) and zero in trading networks. For markets with substitutes and complements, we assign opposite signs to the supplies of the two groups. Together with a reversal of price coordinates, this enables our procedure to also implement double-track adjustment (Sun and Yang, 2009; Shioura and Yang, 2015) under heterogeneous frictions.
1.2 Other Related Work
Trading networks extend the supply-chain framework of Ostrovsky (2008) to more general network structures (Hatfield et al., 2013). A central condition in this framework is full substitutability, for which Hatfield et al. (2019) provide equivalent characterizations for agents who both buy and sell. In multi-unit settings, Ikebe and Tamura (2015) study stability in supply chain networks, while Ikebe et al. (2015) analyze stability and competitive equilibria in trading networks. More recent work examines the complexity of stability with discrete contracts (Fleiner et al., 2023), as well as convergence to equilibrium (Lock et al., 2025) and stability and fairness (Finster et al., 2026) in decentralized networks. Much of this literature assumes no frictions, whereas we focus on computing competitive equilibria under heterogeneous frictions.
Ascending auctions and related price-adjustment procedures for computing equilibrium prices have a long history, primarily in markets with substitutable goods and transferable utility; see, e.g., (Kelso and Crawford, 1982; Demange et al., 1986; Gul and Stacchetti, 2000; Ausubel, 2006). Such price adjustment has also been studied for markets with substitutes and complements (Sun and Yang, 2009; Shioura and Yang, 2015) and for markets with imperfectly transferable utility (Alkan, 1992; Dütting et al., 2015; Balkanski et al., 2024; Oki and Sato, 2026). Our framework provides a unified approach that accommodates both complementarities and heterogeneous piecewise-linear transfers.
Submodular optimization (Fujishige, 2005) and discrete convex analysis (Murota, 1998, 2003) form the basis of our analysis. Submodular flows were introduced by Edmonds and Giles (1977), and Iwata et al. (2003) give a strongly polynomial algorithm for the minimum-cost problem. Frank and Tardos (1988) provide a unified treatment of generalized polymatroids and submodular flows, while Murota and Shioura (1999) connect generalized polymatroids to discrete convexity. For a survey of discrete convex analysis in economics, see Murota (2016).
2 Preliminaries
In this section, we review the discrete convex structures and submodular flow techniques used in subsequent sections to analyze demand sets and compute price-update directions.
Let and denote the sets of nonnegative reals and nonnegative integers, respectively. For a finite set and a vector , write for its -th component, for its restriction to , and . Let denote the inner product of and . Vector inequalities are componentwise. The positive and negative supports of are and . For , is the characteristic vector of ; we write and . For in , let . For an extended-valued function , its effective domain is the set of points where is finite.
We use the exact real-arithmetic model: arithmetic operations, comparisons, and evaluations of log and exp have unit cost.
2.1 Submodular Systems and M-convex Sets
An (integral) set function is submodular if
and supermodular if is submodular. Let be a submodular function with , not necessarily monotone or nonnegative. The pair is called an (integral) submodular system (Fujishige, 2005), and its associated (integral) submodular polyhedron and base polyhedron are defined by
respectively. is bounded and consists precisely of the componentwise maximal elements of . We use the following basic operations on submodular systems:
• Restriction: for , for .
- Contraction: for , for . is the projection onto of .
• Direct sum: for on disjoint ground sets , respectively, define .
Note that these operations preserve submodularity.
We next recall the associated notions of discrete convexity.
Definition 2.1 (Murota (2003)). A nonempty subset is M-convex if for any and , there exists such that and . It is -convex if the same condition holds with .
The integer points of and are - and M-convex sets, respectively. Conversely, every bounded M-convex set equals with . The function is submodular and is called the rank function of . Every -convex set consists of the integer points of an integral generalized polymatroid (Murota and Shioura, 1999; Frank and Tardos, 1988). For bounded , define its lower and upper rank functions by and . Then, is supermodular, is submodular, and has the representation
To accommodate negative coordinates and rank functions that need not be monotone or nonnegative, we extend prior polymatroid-based frameworks (Eickhoff et al., 2025; Oki and Sato, 2026) using a submodular flow formulation.
2.2 Submodular Flow with Lexicographic Costs
We introduce the submodular flow problem and its dual (Frank and Tardos, 1988; Fujishige, 2005). We restrict the presentation to bipartite networks with all arcs directed from one part to the other, as this suffices for our purposes, while the results below hold for general networks.
Let be a finite set partitioned into two parts, and let be a set of arcs, each directed from to . Let and denote the sets of outgoing and incoming arcs at , respectively. Vectors in and are called a flow and a potential, respectively. The
For monotone and nonnegative , the polyhedron is called a polymatroid.
boundary of a flow at is for and for . For a potential and , let .
Let and be submodular systems and a cost vector. The submodular flow problem and its Legendre-Fenchel dual are the following problems:
where
By the integrality of , there exists an integral optimal flow, provided that an optimal flow exists. The following shows that optimal flows and minimal optimal potentials can be computed efficiently.
Theorem 2.2 (Iwata et al. (2003), Murota (2003)). Given value oracles of , an integral optimal flow of (1) and the componentwise minimal optimal potential, if they exist, can be computed in strongly polynomial time.
We consider the problem (1) with lexicographic cost , where and is a formal infinitesimal. We call (1) with the primary problem. The lexicographic problem minimizes the secondary cost among the optimal solutions for the primary cost . Let be an optimal potential of the primary problem. Define
By the optimality conditions for convex flows (Murota, 2003, Section 9), a feasible flow is optimal for the primary problem if and only if . The lexicographic problem therefore reduces to the following secondary problem and its dual:
We use the following decomposition of optimal potentials to construct the update direction in Section 4.2:
Theorem 2.3 (Oki and Sato (2026), Theorem 7.2 in the full version). Let be an optimal potential of (1) with , and be an optimal potential of (3). Then, is an optimal potential of (1) with . Conversely, every optimal potential of (1) with has this form for some optimal potentials and .
To solve the lexicographic problem, we represent each by the pair and compare these pairs lexicographically:
Addition, subtraction, and multiplication by real constants are performed componentwise.
Remark 2.4. The algorithms underlying Theorem 2.2 use only addition, subtraction, multiplication by real constants, and comparison on cost values. They can therefore operate directly on lexicographic pairs without assigning a numerical value to .
Remark 2.5. We can consider a version of submodular flow obtained by replacing the base polyhedra in (2) with the submodular polyhedra , i.e., the boundary polyhedron P is
The two problems with (2) and (4) can be reduced to each other in strongly polynomial time (Fujishige, 2005, Section 5.2), and Theorems 2.2 and 2.3 remain valid for the problem with (4).
3 Our Model and Demand Structures
In this section, we introduce our multi-unit trading-network model with heterogeneous transfers and establish the demand properties underlying our price-adjustment procedure. All proofs in this section are given in Appendix A.
3.1 Our Model
Consider a loopless trading network with a set of agents and a finite set of directed edges representing possible bilateral trades, with . Each trade is directed from its seller to its buyer. The capacity vector specifies the maximum number of indivisible units tradable on each edge. For each agent , let and denote the sets of outgoing edges (trades on which sells) and incoming edges (trades on which buys), respectively, and let . We write for the set of agent-trade incidences.
Remark 3.1. In the rest of this paper, we identify vectors indexed by with vectors indexed by E by setting all coordinates outside to zero. This convention also applies to sets of such vectors.
An outcome consists of a trade vector and a price vector , where is the number of units traded on . Let be the bundle of trades executed by agent . Each has a valuation function with nonempty effective domain, where encodes hard trading constraints, such as the seller's inventory constraint.
To model frictions between prices and monetary transfers, we introduce transfer functions, which are assumed to be publicly known. For each , let specify agent 's monetary transfer per unit of trade : if , buyer pays ; if , seller receives . The posted price is common to the buyer and seller, while their per-unit transfers may differ. We impose the following assumptions on these functions:
Assumption 3.2. Each transfer function is continuous, strictly increasing, and piecewise linear with finitely many pieces, and satisfies . We write for its right derivative.
At prices , define agent 's utility and demand set by
Our goal is to compute a competitive equilibrium, defined as follows.
Definition 3.3. A competitive equilibrium is a pair with and such that for every . If such a exists for , we call an equilibrium price vector.
With multi-unit trades represented as sets of unit contracts, competitive equilibrium outcomes are also trail-stable in the resulting market (Fleiner et al., 2019, Theorem 2).
To formulate our substitutability assumption, we adopt a common sign convention for purchases and sales. Following Ikebe and Tamura (2015) and Ikebe et al. (2015), we define the twist operator by
This is a natural assumption since frictions typically arise from observable factors such as platform fees, tax rates, or tariffs, which are common knowledge.
Let . Define the twisted valuation on by . The function is -concave if, for any and , there exists such that , and
Ikebe et al. (2015) extend full substitutability in trading networks (Hatfield and Kominers, 2012; Hatfield et al., 2013) to multi-unit trades, introducing the generalized full-substitutes (GFS) condition. GFS coincides with full substitutability for unit-capacity trades. They show that GFS is equivalent to -concavity of the twisted valuation. We impose GFS in this equivalent form and use properties of -concave functions in our analysis.
Assumption 3.4. For every , the valuation (i) is normalized, i.e., ; (ii) is monotone in purchases: whenever and for all ; and (iii) satisfies generalized full substitutes (GFS), equivalently, is -concave.
Remark 3.5. Oki and Sato (2026) assume that buyers' valuations are nondecreasing, whereas we require monotonicity only in purchase coordinates. Sellers may incur production costs, so may decrease as sales increase and take negative values. Monotonicity in purchases is only used in Lemma 4.5.
Condition (iii) also implies the laws of aggregate demand and supply (Ikebe et al., 2015). We can therefore apply Schlegel's lattice theorem (Schlegel, 2022, Theorem 1(i)) by expanding each trade into unit contracts.
Corollary 3.6. For any equilibrium price vectors p and r, their componentwise minimum and maximum are also equilibrium price vectors.
Fleiner et al. (2019) established equilibrium existence under full substitutability and bounded compensating variations. Our assumptions do not guarantee the latter condition. Instead, our ascending mechanism constructively establishes the existence of an equilibrium and computes the minimum equilibrium price vector.
3.2 Demand Structures and Equilibrium Prices
We study the properties of agent 's twisted demand set at price , defined by . Define agent 's twisted utility by
The twist gives all agents a common utility representation, encoding sales as negative quantities. The twisted demand set is thus given by
Let denote the componentwise minimal elements of . The following fact follows from Ikebe et al. (2015, Theorem 5.1) and Murota (2016, Theorem 4.5 and Remarks 4.1–4.2).
Fact 3.7. Under Assumption 3.4 (iii), for every , is an -convex set and is an -convex set.
By M-convexity, all elements of have the same total sum. Moreover, for every , there exists with . Therefore, these minimal elements are precisely the bundles with minimum total sum:
Using the zero-extension convention in Remark 3.1, let and denote the lower and upper rank functions of the twisted demand set , respectively, as defined in Section 2.1. We write and .
To characterize equilibrium prices, we introduce a market-clearing vector . Market clearing in twisted coordinates is expressed as , where specifies the required net purchases on each trade. In trading networks, purchases and sales cancel on each trade, so . We allow to have entries of either sign to accommodate the setting of Section 5.2. Given , a set of trades is over-demanded at if , and under-demanded if . The following lemma characterizes equilibrium prices by the absence of such sets:
Lemma 3.8. For any , there exist bundles for all satisfying if and only if no set is over-demanded or under-demanded at .
The algorithm in Section 4 raises the prices of trades in the unique minimal maximizer of . We next express this maximization problem in terms of the rank functions of the minimal twisted demand sets. Define the rank function of by
which is integer-valued and submodular in for each fixed , but need not be monotone or nonnegative. We write . Since the minimum defining is attained on (Oki and Sato, 2026, Fact A.3), whose elements have total sum , we have . Summing over agents yields
By (7), we have the following relation:
To analyze how sufficiently small price increases affect the rank functions, we use the following decomposition into contributions from the updated coordinates and their complement:
Lemma 3.9. For any with , there exists such that, for all , , and ,
To apply the proof of Oki and Sato (2026, Proposition 3.8 (ii)) in twisted coordinates, it suffices to establish the following demand inclusions, since the remaining argument does not require nonnegative demand vectors. The lemma is proved in Appendix A.3.
Lemma 3.10. For any , there exists such that, for every and all , and .
Since is supermodular, its maximizers are closed under union and intersection and thus have a unique inclusionwise minimal element.
Algorithm 1 DIRECTIONAL ASCENDING PRICE ADJUSTMENT
1: Set . 2: loop 3: Compute a direction satisfying (LSC) at , together with its support . 4: if then 5: return . 6: end if 7: Compute using (11). 8: Set . 9: end loop
4 Our Mechanism
In this section, we present a framework for computing competitive equilibria via directional price updates. These updates allow prices to rise at different rates, accommodating heterogeneous transfers. Proofs omitted from this section are given in Appendix B.
4.1 Overview
Our mechanism, presented in Algorithm 1, starts from zero prices and, at each nonterminal iteration, computes a direction and a step size for updating the prices. Following Oki and Sato (2026), we require each direction to satisfy the following local stability condition (LSC) at price , where :
(LSC)
Taking gives . The following example illustrates why prices may need to rise at different rates to satisfy (LSC).
Example 4.1. Consider a chain of three agents: seller S, intermediary I, and buyer B. The trades and each have unit capacity. Seller S has unit production cost 1, and buyer B has unit value 4. Intermediary I can resell only after purchasing: if and otherwise. All transfers are identity functions except that I pays per purchased unit. Its resale profit is therefore . This market falls outside the one-sided settings (Balkanski et al., 2024; Oki and Sato, 2026), but is still covered by our framework.
At , we have . Its rank function is nonmonotone: . Since and , we have . At for sufficiently small , resale is unprofitable and does not trade. Thus, , violating (LSC).
The direction instead keeps resale profit at zero, preserving and satisfying (LSC). At step size 2, the seller S becomes willing to trade, yielding the minimum equilibrium price vector with both trades executed.
To compute update directions satisfying (LSC), we assume access to the following oracles for each agent :
• Demand Oracle. Given , return some bundle .
• Exchange Capacity Oracle. Given , , and distinct , return the maximum such that .
The following theorem guarantees efficient computation of a direction satisfying (LSC). We prove it in Sections 4.2 and 4.3.
Theorem 4.2. For any price , a direction satisfying (LSC) at p can be computed in strongly polynomial time using the demand and exchange capacity oracles for all agents.
For computing the step size in Line 7 of Algorithm 1, we additionally assume access to the following oracle for each :
• Demand-Change Oracle. Given , return , defined as the infimum of all such that for some .
Using the (public) transfer functions , we also compute , which is the infimum of such that for some . In both definitions, . Then, the step size to the next event in Line 7 is given by
Nonterminal step sizes are positive and finite; see Appendix B.5.
Remark 4.3. Our framework applies even without access to numerical valuations, provided agents can answer the above queries. Our oracle model also includes the value-oracle model as a special case: a value oracle returning for a given bundle suffices to implement all three oracles in polynomial time.
The next theorem establishes correctness and finite termination.
Theorem 4.4. Whenever Algorithm 1 terminates, it outputs the minimum equilibrium price vector. Using the algorithm of Theorem 4.2, it terminates in finitely many iterations.
Minimality and finite termination are proved in Appendices B.1 and B.5, respectively. Here, we show that the output is an equilibrium price vector using the following invariant.
Lemma 4.5. Throughout Algorithm 1, no set is under-demanded.
At termination, no set is over-demanded by the stopping condition in Line 4 or under-demanded by Lemma 4.5. Thus, Lemma 3.8 implies that the output is an equilibrium price vector. At , an equilibrium allocation can be computed in strongly polynomial time using the demand and exchange capacity oracles; see Section 4.4.
To prove the invariant, we use (LSC) and the following characterization. This characterization is also used in the proof of Lemma 4.10.
Lemma 4.6. Let and satisfy . For sufficiently small , the following are equivalent:
(a) The direction d satisfies (LSC) at p.
(b) for every nonempty .
Proof of Lemma 4.5. We proceed by induction over iterations. At , monotonicity in purchases and allow us to choose with for all . Since for , no set is initially under-demanded by
Suppose no set is under-demanded at the current price . Let and be the update direction and step size, respectively, and let be the next price vector. Write . Since satisfies (LSC), Lemmas 3.9 and 4.6 (b) give
for any , , and sufficiently small . Since demand sets are constant on , the inequality holds throughout. Finally, finiteness of the feasible sets and continuity of utilities give for all and sufficiently small . Thus, for all , completing the induction.
4.2 Constructing Directions with LSC
This section constructs a direction satisfying (LSC) at a given price . We write and abbreviate as for . We identify each with its zero extension to . For the primal-dual formulation below, define the weights by
where is the formal infinitesimal used for lexicographic comparisons in Section 2.2. We consider the following primal-dual pair:
(P)
(D)
where the dual objective is defined by
In the following, we derive the primal-dual relation between and via reduction to the submodular flow problem. This reduction also enables us to apply Theorems 2.2 and 2.3.
Let be a copy of , and define the directed bipartite graph by
where each incidence node has a single outgoing arc to its trade node . Take with and with . Here, each is restricted to and indexed by its incidence nodes, and we identify with . Write . Let be the polyhedron (4) defined by , i.e.,
Set for each arc , and identify a flow with by . Then .
The identities and show that the boundary constraints are equivalent to and . After negating the objective, is equivalent to (1) with , where and .
We next show that negating the flow dual objective yields (D). Let be a potential on , where and . Since is the direct sum over and , the dual of (1) is
The following conditions characterize the dual objective's effective domain. Since is down-closed and unbounded below, the term for agent is finite if and only if for all , and the infimum is attained on . The term for trade is finite if and only if , and then equals , regardless of the sign of .
Set so that . The finiteness conditions give
On this domain, the flow dual objective is . Thus, and form a primal-dual pair with equal optimal values. By Theorem 2.3, we obtain the following characterization of the minimal optimal solution of . Its proof is deferred to Section B.3.
Theorem 4.7. The dual problem (D) has a unique componentwise minimal optimal solution of the form for some .
We now construct a direction from the minimal optimal solution of . With from Theorem 4.7, define by for and otherwise. At each iteration, our implementation of Algorithm 1 uses constructed at the current price as its update direction.
4.3 Proof of Theorem 4.2
Here, we show that the direction constructed above satisfies (LSC) and can be computed in strongly polynomial time.
We first show (LSC). Let be the minimal optimal solution to (D). By construction, we have . By and (12), holds for . Specifically, for with , we have
This bound leads to the following inequality, which allows us to derive the strict inequalities in Lemma 4.6 (b).
Lemma 4.8. Let be the minimal optimal solution of and the direction defined in Section 4.2. For sufficiently small and every nonempty , there exists such that ( ).
To prove Lemma 4.8, we first describe the base-polyhedron decomposition induced by . Write
We use to denote the direct sum over disjoint coordinate sets.
Lemma 4.9. For all sufficiently small and every ,
Proof. For sufficiently small , local linearity of the transfers implies that the price increase from to changes the net payments for a bundle by
By Lemma 3.10, both and hold. Since all bundles in yield the same utility at , the updated demand consists precisely of those minimizing this payment increase. The second inclusion ensures that the minimum is attained in . Conversely, any minimizer in is demanded after the update and remains componentwise minimal. Thus, consists precisely of the minimizers of the payment increase over .
Taking convex hulls gives the corresponding minimizing face of . Since the coefficients are zero on and positive on , the greedy rule decomposes this face into and a minimizing face of . On , replacing the positive coefficients by their logarithms preserves their weak ordering and hence the minimizing face.
Proof of Lemma 4.8. Fix sufficiently small for Lemma 4.9, and let . For , define and for any . The perturbed point belongs to dom : its primary components on remain one, preserving nonnegativity, and preserves the upper bounds. Thus, all coefficients are lexicographically nonnegative, and each supremum in is attained on . For each , define
In each maximization defining , the primary coefficients are one on and zero on . The primary objective therefore maximizes . The greedy decomposition separates the optimization over from that over . The former contributes a term independent of , while the latter contributes . The linear term changes by . Subtracting the value at gives
Choose sufficiently small that, for every and , the perturbation from to preserves every strict coefficient ordering on . A nonincreasing ordering for is then also valid for . The greedy solution for this ordering therefore attains both and . By (14), it extends to a point of . Evaluating both objectives at this common optimizer yields . Substituting into (15) gives .
We now establish (LSC) for .
Lemma 4.10. The direction satisfies (LSC) at p.
Proof. Fix sufficiently small for Lemmas 4.6 and 4.8. For any nonempty , take from Lemma 4.8. For , we have . Since is the componentwise minimal optimal solution of , we have . Lemma 4.8 therefore gives . Since was arbitrary and , Lemma 4.6 shows that satisfies (LSC).
The submodular flow algorithm in Theorem 2.2 requires value oracles for and , which define . Since is directly computable, it suffices to construct a value oracle for . These values can be computed efficiently using the demand and exchange capacity oracles; see Section B.4 for the proof.
Lemma 4.11. Let be the function defined in Section 4.2. Given the demand and exchange capacity oracles for all agents, the value for can be computed in strongly polynomial time.
We are now ready to prove Theorem 4.2.
Proof of Theorem 4.2. The flow formulation in Section 4.2 has nodes and arcs. By Lemma 4.11 and Theorem 2.2, the minimal optimal potential can be computed in strongly polynomial time using lexicographic pairs (Remark 2.4). Since the correspondence with dual solutions preserves componentwise order, is the minimal optimal solution of . By Theorem 4.7, we recover and set on and zero otherwise. Lemma 4.10 shows that satisfies (LSC).
Remark 4.12. The overall proof strategy is similar to that of Oki and Sato (2026), but the technical details differ. In their setting, demand vectors and the submodular functions defining our flow formulation are nonnegative, allowing a polymatroid-intersection formulation. In our setting, neither property is guaranteed due to the twist. We instead exploit the constraints imposed by dom L, which yield (13) throughout and enable the preceding analysis.
4.4 Computing Equilibrium Allocations
This section describes an algorithm for computing an equilibrium allocation from an equilibrium price , i.e., for every and . Such a profile exists by Lemma 3.8. We focus on allocations that maximize total trade volume. In our single-seller application in Section 5.1, this ensures that all supply, including zero-price goods, is allocated.
Proposition 4.13. Given an equilibrium price and access to the demand and exchange capacity oracles for all agents, an equilibrium allocation maximizing total trade volume can be computed in strongly polynomial time.
Proof. Consider the directed bipartite graph in Section 4.2, and identify a flow on with by . We consider boundary polytopes
(16)
on and , respectively, where conv denotes the convex hull. Since each is -convex, the fixed-sum slice and the singleton are base polyhedra of submodular functions . Thus, integral feasible flows correspond to equilibrium allocations in twisted coordinates. We show in Section B.4 how to compute in strongly polynomial time; is directly computable.
Set and define . For the corresponding trade vector , counting each trade on its buyer's arc gives . Thus, minimizing flow cost maximizes total trade volume. The feasible region is nonempty and bounded. By Theorem 2.2, an integral optimal flow can be computed in strongly polynomial time.
Remark 4.14. The same construction applies to the network in Section 5.2, with and , where is the twist operator defined there and is the supply vector. Feasibility requires all supply to be sold. Any integral feasible flow gives an equilibrium allocation, and we may therefore take .
5 Applications to Single-Seller Markets
In this section, we apply our framework to single-seller markets with a fixed supply of goods. We first recover the minimum equilibrium price vector in the market model of Oki and Sato (2026) via a transaction-price projection. We then extend the double-track auction (Sun and Yang, 2009; Shioura and Yang, 2015) to bidder- and good-specific transfer functions.
We consider a market with a finite set of goods and a seller supplying units of each good to a set of bidders, where each is a positive integer and . Each bidder has a coordinatewise nondecreasing valuation . Without loss of generality, normalize each valuation so that . At prices , define bidder 's utility and demand set by
where each satisfies Assumption 3.2. A competitive equilibrium consists of prices and bundles satisfying .
5.1 The Single-Seller Correspondence
We apply our trading-network framework to the market of Oki and Sato (2026) and compare the resulting prices with its minimum equilibrium prices. Assume that each valuation is -concave. The network has agents , where 0 is the seller. For each , we introduce a trade from 0 to i with capacity . The bidders' valuations and payment functions remain unchanged. The seller's transfer functions are identities. Its valuation is zero if for every , and otherwise.
Transaction prices for the same good may differ across bidders. At equilibrium, however, profit maximization requires the seller to trade only at the highest transaction price for each good. Let be the price vector returned by Algorithm 1 on this network, and let denote the minimum equilibrium price vector of the original market.
Lemma 5.1. For each , . Moreover, let be an equilibrium allocation in the trading network at maximizing total trade volume, and identify it with the bidders' bundles. Then, is a competitive equilibrium of the original market.
Proof. Let be an allocation as in the statement and define by . The seller's demanded bundle yields the maximum revenue . Hence, every executed trade in good has price , and units are sold whenever .
If good is not fully allocated, then for every . Assigning one additional unit of to any bidder is feasible and leaves all payments unchanged. By monotonicity, the enlarged bundle remains demanded. This yields another equilibrium at with greater total trade volume, contradicting the choice of . Thus, . At good prices , each bidder pays the same for and weakly more for any alternative bundle. Therefore, is a competitive equilibrium of the original market, and .
For the opposite direction, consider an equilibrium of the original market at . Assigning price to every trade and retaining the allocation gives an equilibrium in the trading network: bidder utilities are unchanged, and selling all supply maximizes seller revenue. Since is the minimum equilibrium price vector in the trading network, for all . Hence, , proving .
5.2 Substitutes and Complements
We now extend the substitutability assumption to allow complementarities. Fix a partition . Here, we adapt the twist operator to this goods partition: for and for . The twisted valuation is on . We assume that each satisfies generalized gross substitutes and complements (GSC): goods are substitutes within each group and complements across groups. Equivalently, each twisted valuation is -concave (Shioura and Yang, 2015). When , the twist is the identity and the model reduces to the setting of Section 5.1.
For good-price vectors , define the order by
Corollary 3.6 also holds in this model, with meet and join taken with respect to ; see Appendix A.1 for more details.
To apply Algorithm 1 to this market, we reverse price coordinates on , turning double-track adjustment into an ascending process. Choose for each satisfying
Unbounded transfers ensure such bounds exist. Since no bidder demands good when , every equilibrium satisfies on . We therefore restrict attention to with for all , and define the transformed prices by for and for . Increasing raises prices on and lowers them on , as in the double-track auction (Sun and Yang, 2009; Shioura and Yang, 2015). The componentwise order on corresponds to on the original prices.
Set and normalize the transfers at zero by defining
In these coordinates, each bidder's utility is given by
The added linear term preserves -concavity, and hence the transformed demand set is -convex. Each satisfies the conditions of Assumption 3.2 on its domain.
Market clearing becomes , where has entries on and on . With this , Lemma 3.8 characterizes equilibrium prices in the transformed coordinates. Assuming access to the oracles of Section 4 for the transformed demand sets, we then run our implementation of Algorithm 1 from . This corresponds to initial prices on and on .
Theorem 5.2. The double-track mechanism computes the minimum equilibrium price vector under in finitely many iterations. Each update direction is computable in strongly polynomial time under our oracle and arithmetic models.
To choose via demand queries, start with and double until each demand oracle returns at the original prices . The search terminates since is uniquely demanded for sufficiently large . Its optimality yields . It therefore suffices to choose such that for all .
This establishes equilibrium existence constructively. Among all equilibria, the output minimizes prices in and maximizes prices in . An equilibrium allocation can be obtained by applying the construction in Remark 4.14 at these prices and undoing the twist.
Proof. For the analysis, extend each on linearly beyond with a positive slope. Define and as before. The rank decomposition in Lemma 3.9 then applies in these coordinates. Use the network of Section 4.2 with goods and incidences . Take and for , and set using right derivatives. For with , equals the left derivative of at . The construction in the proof of Theorem 4.2 therefore yields a direction satisfying (LSC) in strongly polynomial time.
At , monotonicity and the choice of ensure that each bidder has a demanded bundle containing the full supply of every group-1 good and no group-2 goods. The sum of these demanded bundles in twisted coordinates is componentwise at least . Thus, no set is initially under-demanded. The induction step of Lemma 4.5 preserves this invariant throughout.
We next show that the price path remains bounded. For , choose such that for every . At , every demanded bundle has . For , at we have , and monotonicity implies for every .
At either boundary, removing from a set containing it changes by on and on . Since these changes are nonpositive, the inclusionwise minimal minimizer cannot contain . By (LSC) and the choice of step size, the active set remains the minimal minimizer before the next event. An update increasing coordinate therefore cannot cross the boundary, where must be inactive. Thus, the price path is bounded. Since each nonterminal update increases some coordinate at a fixed positive rate, its step length is finite.
The argument in Appendix B.5 applies to the transformed model and establishes finite termination. At termination, Lemma 3.8 guarantees an equilibrium. Every equilibrium price vector of the original market lies within the chosen bounds and therefore corresponds to an equilibrium price vector of the transformed model. The argument in Appendix B.1 then establishes componentwise minimality of the terminal prices. In the original price coordinates, this yields the minimum equilibrium price vector under .
6 Concluding Remarks
We developed an ascending-price procedure for multi-unit trading networks with generalized full-substitutes valuations and piecewise-linear transfers. It computes the minimum equilibrium price vector in finitely many iterations, with each direction computable in strongly polynomial time under our oracle and arithmetic models. At these prices, an equilibrium allocation maximizing total trade volume can be computed in strongly polynomial time. The method combines a twist of sale coordinates with submodular flow to compute locally stable directions. We also recover minimum good prices in the single-seller model of Oki and Sato (2026) by projection while preserving realized buyer payments, and extend double-track adjustment (Sun and Yang, 2009; Shioura and Yang, 2015) to bidder- and good-specific transfers.
Future work could explore more general transfer functions, in addition to seeking polynomial iteration bounds. Extending beyond piecewise-linear transfers would require stability and termination arguments that do not rely on locally constant marginal rates. Another direction is to identify economically natural valuation representations enabling efficient implementation of our oracles.
Acknowledgements
Taihei Oki was supported by JST FOREST Grant Number JPMJFR232L, JST BOOST Grant Number JPMJBY25A6, and JSPS KAKENHI Grant Number JP22K17853. Ryosuke Sato was supported by JST ERATO Grant Number JPMJER2301 and JSPS KAKENHI Grant Number JP26K21174.
We used OpenAI's GPT and Anthropic's Claude to assist with developing research ideas, constructing and checking proofs, and drafting and revising the manuscript. The authors take full responsibility for the content of this paper, including all mathematical claims and proofs.
References
Ahmet Alkan. Equilibrium in a matching market with general preferences. In Mukul Majumdar, editor, Equilibrium and Dynamics: Essays in Honour of David Gale, pages 1–16. Palgrave Macmillan, 1992.
Lawrence M. Ausubel. An efficient dynamic auction for heterogeneous commodities. American Economic Review, 96(3):602–629, 2006.
Eric Balkanski, Christopher En, and Yuri Faenza. An algorithm for the assignment game beyond additive valuations. In Proceedings of the 25th ACM Conference on Economics and Computation, EC'24, page 41, 2024. Full version: https://arxiv.org/abs/2406.13620.
Ozan Candogan, Markos Epitropou, and Rakesh V. Vohra. Competitive equilibrium and trading networks: A network flow approach. Operations Research, 69(1):114–147, 2021.
Gabrielle Demange, David Gale, and Marilda Sotomayor. Multi-item auctions. Journal of Political Economy, 94(4):863–872, 1986.
Paul Dütting, Monika Henzinger, and Ingmar Weber. An expressive mechanism for auctions on the web. ACM Transactions on Economics and Computation, 4(1):1:1–1:34, 2015.
Jack Edmonds and Rick Giles. A min-max relation for submodular functions on graphs. In P.L. Hammer, E.L. Johnson, B.H. Korte, and G.L. Nemhauser, editors, Studies in Integer Programming, volume 1 of Annals of Discrete Mathematics, pages 185–204. Elsevier, 1977.
Katharina Eickhoff, Meike Neuwohner, Britta Peis, Niklas Rieken, Laura Vargas Koch, and László A. Végh. Faster dynamic auctions via polymatroid sum. ACM Transactions on Economics and Computation, 13(3):13:1–13:47, 2025.
Simon Finster, Paul W. Goldberg, Edwin Lock, and Matilde Tullii. Decentralized dynamics in trading networks. In Proceedings of the 22nd Conference on Web and Internet Economics, 2026. To appear.
Tamás Fleiner, Ravi Jagadeesan, Zsuzsanna Jankó, and Alexander Teytelboym. Trading networks with frictions. Econometrica, 87(5):1633–1661, 2019.
Tamás Fleiner, Zsuzsanna Jankó, Ildikó Schlotter, and Alexander Teytelboym. Complexity of stability in trading networks. International Journal of Game Theory, 52:629–648, 2023.
András Frank and Éva Tardos. Generalized polymatroids and submodular flows. Mathematical Programming, 42:489–563, 1988.
Satoru Fujishige. Submodular Functions and Optimization, Second Edition. Elsevier, Amsterdam, 2005.
Faruk Gul and Ennio Stacchetti. The English auction with differentiated commodities. Journal of Economic Theory, 92(1):66–95, 2000.
John W. Hatfield and Scott D. Kominers. Matching in networks with bilateral contracts. American Economic Journal: Microeconomics, 4(1):176–208, 2012.
John W. Hatfield, Scott D. Kominers, Alexandru Nichifor, Michael Ostrovsky, and Alexander Westkamp. Stability and competitive equilibrium in trading networks. Journal of Political Economy, 121(5):966–1005, 2013.
John W. Hatfield, Scott D. Kominers, Alexandru Nichifor, Michael Ostrovsky, and Alexander Westkamp. Full substitutability. Theoretical Economics, 14(4):1535–1590, 2019.
Yoshiko T. Ikebe and Akihisa Tamura. Stability in supply chain networks: An approach by discrete convex analysis. Journal of the Operations Research Society of Japan, 58(3):271–290, 2015.
Yoshiko T. Ikebe, Yosuke Sekiguchi, Akiyoshi Shioura, and Akihisa Tamura. Stability and competitive equilibria in multi-unit trading networks with discrete concave utility functions. Japan Journal of Industrial and Applied Mathematics, 32:373–410, 2015.
Satoru Iwata, S. Thomas McCormick, and Maiko Shigeno. Fast cycle canceling algorithms for minimum cost submodular flow. Combinatorica, 23(3):503–525, 2003.
Alexander S. Kelso and Vincent P. Crawford. Job matching, coalition formation, and gross substitutes. Econometrica, 50(6):1483–1504, 1982.
Edwin Lock, Benjamin P. Evans, Eleonora Kreacic, Sujay Bhatt, Alec Koppel, Sumitra Ganesh, and Paul W. Goldberg. Decentralized convergence to equilibrium prices in trading networks. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 39, pages 14002–14010, 2025.
Kazuo Murota. Discrete convex analysis. Mathematical Programming, 83(1–3):313–371, 1998.
Kazuo Murota. Discrete Convex Analysis. SIAM, Philadelphia, 2003.
Kazuo Murota. Discrete convex analysis: A tool for economics and game theory. Journal of Mechanism and Institution Design, 1(1):151–273, 2016. Revised version available at https://arxiv.org/abs/2212.03598.
Kazuo Murota and Akiyoshi Shioura. M-convex function on generalized polymatroid. Mathematics of Operations Research, 24(1):95–105, 1999.
Taihei Oki and Ryosuke Sato. Ascending auctions for combinatorial markets with frictions: A unified framework via discrete convex analysis. In Proceedings of the 27th ACM Conference on Economics and Computation, EC'26, 2026. To appear. Full version: https://arxiv.org/abs/2604.10563.
Taihei Oki and Akiyoshi Shioura. Steepest descent algorithm for M-convex function minimization using long step length. SIAM Journal on Discrete Mathematics, 40(3):1369–1394, 2026.
Michael Ostrovsky. Stability in supply chain networks. American Economic Review, 98(3):897–923, 2008.
Jan C. Schlegel. The structure of equilibria in trading networks with frictions. Theoretical Economics, 17(2):801–839, 2022.
Akiyoshi Shioura and Akihisa Tamura. Gross substitutes condition and discrete concavity for multi-unit valuations: A survey. Journal of the Operations Research Society of Japan, 58(1): 61–103, 2015.
Akiyoshi Shioura and Zaifu Yang. Equilibrium, auction, and generalized gross substitutes and complements. Journal of the Operations Research Society of Japan, 58:410–435, 2015.
Ning Sun and Zaifu Yang. A double-track adjustment process for discrete markets with substitutes and complements. Econometrica, 77(3):933–952, 2009.
A Omitted Proofs in Section 3
A.1 Lattice Properties
We establish the lattice properties for trading networks and the transformed single-seller market of Section 5.2 by reducing both to unit-trade markets. This expansion is used only to establish the lattice property; our algorithm works directly with the original capacities.
Proof of Corollary 3.6. Replace each edge e by unit trades with the same endpoints and transfer functions. Extend the transfers continuously and strictly increasingly to negative prices.
Represent each agent’s choice by purchased units and retained sale units. For a bundle , write . On a sale edge , the retained quantity is . The valuation on these nonnegative counts is a translation of and remains -concave. By Shioura and Tamura (2015, Theorem 4.1), it satisfies strong substitutes: treating each unit as a distinct item yields a gross-substitutes, and hence -concave, set valuation. Utility equals this valuation minus the effective prices of the selected units, plus a term depending only on prices. The transfers preserve coordinatewise order and equality, and the number of selected units equals net purchases plus a constant. The gross-substitutes and aggregate-demand properties of -concave set valuations (Shioura and Tamura, 2015, Theorems 4.1(ii) and 4.7(i)) imply full substitutability and the laws of aggregate demand and supply for the expanded trade demand. These properties hold even when copies of the same trade have different prices.
Let and denote the equilibrium price sets of the original and expanded markets, respectively. Let assign each edge price to all its unit copies. At prices , choosing copies to match each trade quantity gives an expanded equilibrium; counting the executed copies recovers an original equilibrium. For , if and only if . By Schlegel (2022, Theorem 1(i)), is a lattice under coordinatewise minimum and maximum. Since preserves these operations, has the same lattice property.
For the setting of Section 5.2, apply the same unit-trade reduction to the transformed prices , valuations , and transfers . To enforce fixed supply, introduce one auxiliary seller per unit on and one auxiliary buyer per unit on . Each must execute exactly one trade with a bidder, with zero valuation on feasible bundles and identity transfers. These auxiliary agents satisfy full substitutability and the laws of aggregate demand and supply. After extending continuously and strictly increasingly to real prices, the preceding argument establishes these properties for the bidders' expanded demands.
At prices common to all unit trades of each good, the auxiliary agents are indifferent between bidders. The same correspondence between equilibria therefore holds, with the auxiliary constraints enforcing . Restricting to common prices and to preserves the lattice property. Since all original equilibrium prices lie within these bounds, transforming back gives the lattice property under . Nonemptiness follows from Theorem 5.2.
A.2 Proof of Lemma 3.8
Proof. Let be the Minkowski sum of the twisted demand sets. There exist bundles satisfying if and only if . Since each is -convex, so is (Murota, 2003, Theorem 4.23). Moreover, its convex hull is an integral polyhedron whose integer points are exactly the elements of (Murota, 2003, Section 4.7). Since is integral, is equivalent to . The convex hull is explicitly given by for all . Therefore, is equivalent to for all . These two inequalities exactly state that no set is over-demanded or under-demanded at , respectively.
A.3 Proof of Lemma 3.10
Proof. Fix an agent . We first show that for all sufficiently small . Choose . For every , we have . By continuity of the transfers and finiteness of , there exists such that for every such and every . Thus, no bundle outside can be demanded at , proving the first inclusion.
Next, fix and let . This implies . Suppose to the contrary that . Then, there exists with and . Since and yield the same utility at ,
where the inequality follows from and monotonicity of the transfers. Since is demanded at , this inequality implies that is also demanded there, contradicting the componentwise minimality of . Hence, . Taking establishes both inclusions simultaneously for all agents.
To obtain Lemma 3.9, we apply the proof of Oki and Sato (2026, Proposition 3.8(ii) in the full version) using the demand inclusions established above. The remaining argument uses feasible exchanges, comparisons of transfer increments, and submodularity of the rank functions. These steps do not require nonnegative demand vectors, and the argument therefore applies in twisted coordinates.
B Omitted Proofs in Section 4
B.1 Proof of Minimality in Theorem 4.4
We first show that, whenever Algorithm 1 terminates, its output is no larger than any equilibrium price vector. The proof of finite termination is deferred to Appendix B.5. The following lemma describes how and change under componentwise price increases. Its proof applies directly in twisted coordinates.
Lemma B.1 (Oki and Sato (2026), Proposition 3.6 (ii) in the full version). Let and let . For every , we have and . If the second inequality holds with equality, then and .
Proof of minimality in Theorem 4.4. Let be the price vector returned by Algorithm 1, and let be any equilibrium price vector. Suppose, for a contradiction, that . Since the algorithm starts from , consider the first update from to such that . Then,
. Let be the last point on this segment satisfying . Thus, lies strictly before , and for some .
Set . By and the choice of step size, is the inclusionwise minimal solution of (8) at . Define and . With the virtual direction , choose sufficiently small that Lemma 3.9 applies and . Since and coincide on , summing Lemma B.1 over agents yields
The three equalities follow from (7), Lemma 3.9, and the modularity of , respectively. The strict inequality holds by the minimality of and . Thus, is over-demanded at , contradicting Lemma 3.8. Hence, for every equilibrium price vector .
B.2 Proof of Lemma 4.6
Proof. Fix sufficiently small . Write every as , where and . By Lemma 3.9, we have
The second bracket equals the objective in (8) at and price , minus . Since minimizes that objective, this bracket is minimized at , which is therefore its inclusionwise minimal minimizer. Hence, holds if and only if is the unique minimizer of the first term, or equivalently, for any . This is equivalent to . Since ranges over all nonempty subsets of , this is precisely condition (b).
B.3 Proof of Theorem 4.7
We first identify the componentwise minimal optimal solution at . We then establish a least optimal solution for the lexicographic problem and identify its primary component.
Lemma B.2. At , the vector is the unique componentwise minimal optimal solution of the problem (D).
Proof. Define for . At , Section 4.2 gives . Greedy optimization over each shows that is the Lovász extension of on this box (Fujishige, 2005, Section 6.3). For any , take a chain decomposition with and , allowing . Then, . Thus, is optimal if and only if every minimizes . Since is the unique inclusionwise minimal solution of (8), every such contains . Hence, every optimal solution satisfies componentwise. Since is itself optimal, it is the unique componentwise minimal optimal solution.
Proof of Theorem 4.7. By Lemma B.2 and Theorem 2.3, (D) has an optimal solution . Let denote its optimal solution set. By conjugacy (Murota, 2003, Theorem 8.4) and the closure properties of -convexity, forms a lattice under componentwise minimum and maximum. On dom , each supremum is a maximum over the finitely many vertices of . Thus, has a finite linear description with real coefficients and lexicographic right-hand sides.
Since Z is nonempty and on Z, each coordinate attains its minimum by linear programming over lexicographic pairs. The meet of these coordinate minimizers is the unique least optimal solution .
Write . By Theorem 2.3, is optimal at . Lemma B.2 therefore gives . Since , we also have . Hence, .
B.4 Proof of Lemma 4.11
We construct value oracles for the boundary functions used in direction computation and allocation recovery. For each formulation, we provide an integral base point and an exchange capacity oracle, which together enable rank evaluation. The following lemma includes Lemma 4.11 as a special case.
Lemma B.3. Let be the function defined in Section 4.2 or 4.4. Given the demand and exchange capacity oracles for all agents, the value for can be computed in strongly polynomial time.
Proof. Let . A point of and an exchange capacity oracle suffice to evaluate in strongly polynomial time by linear optimization (Oki and Shioura, 2026).
In Section 4.2, . Starting from bundles returned by the demand oracles, maximally decrease each coordinate once using the exchange capacity oracle. By the -convexity of , this yields a point of . Exchanges within each agent preserve the minimum component sum and have the same capacities as in . Exchanges between agents have zero capacity.
In Section 4.4, , where is (16). Starting from bundles returned by the demand oracles, adjust to one coordinate at a time, taking the largest feasible step without passing the target, as in Oki and Sato (2026, Appendix B.3 in the full version). This takes at most moves and succeeds since by Lemma 3.8. At , the exchange capacity from to is the oracle output for if , and the minimum of the outputs for and otherwise.
B.5 Proof of Finite Termination in Theorem 4.4
We first show that every nonterminal update has positive finite length. We then bound the number of changes in and show that only finitely many updates can occur while remains fixed.
Lemma B.4. At every nonterminal iteration of Algorithm 1, including its transformed implementation in Section 5.2, the step size satisfies .
Proof. We treat trading networks and the transformed market with substitutes and complements using common notation. For the latter, use the transfers and their linear extensions in Section 5.2.
Piecewise linearity of the transfers and finiteness of the feasible sets imply that, for some , demands are constant for and transfer slopes are unchanged for along . Hence, .
In either model, choose with : take in trading networks, or twist an allocation assigning all supply to one bidder in the single-seller market. Suppose to the contrary that . Set . Since demand sets are unchanged, gives for every . For each agent , choose a bundle demanded at every price with . Then,
Thus, for some agent i.
For this agent, does not minimize the sum of coordinates in over the -convex set . The local optimality criterion for -convex functions (Murota, 2016, Theorem 4.4(2)) therefore yields a feasible unit move that decreases this sum. Such a move must have the form with and . The transfer slopes remain unchanged along for all . Since when , we have . As , this tends to , contradicting the optimality of for all . Hence, .
Let be the unique minimal optimal solution of used to construct , and let be the common optimal value of and . Demand sets may shrink immediately after an update begins. The next lemma shows that and nevertheless remain unchanged before the next iterate.
Lemma B.5. Consider an update from p to in Algorithm 1. The optimal value and the minimal optimal dual solution remain unchanged before reaching :
Proof. The dual problem is unchanged for , since demand sets and transfer slopes remain fixed. It therefore suffices to compare the problems at and for sufficiently small . Write . Since the transfer slopes are unchanged, the two problems have the same effective domain. On this domain, each supremum in either dual objective is attained on the corresponding base polyhedron.
Fix the primary component at . For each agent, consider the vertices maximizing the primary objective. By Lemma 4.9, all vertices attaining the secondary maximum at t remain in the updated base polyhedron. Every removed vertex has a strictly smaller secondary objective value at t. Since these values depend continuously on the secondary component and there are finitely many vertices, the removed vertices remain suboptimal in a neighborhood of t. Thus, removing them does not change the maximum in this neighborhood. The two dual objectives therefore agree there within their common effective domain.
By (LSC) and Theorem 4.7, the updated minimal optimal solution has the same primary component as . Local agreement and convexity imply that minimizes the updated objective among points with primary component . Since also has this primary component, is optimal for the updated problem, with value . By minimality, . If , interior points of the line segment joining them and sufficiently close to are optimal for both problems, contradicting the minimality of . Hence, , proving both claims.
Define the maximum over-demand value by
We first bound the decreases in the over-demand value.
Lemma B.6. Throughout Algorithm 1, is nonincreasing, with at most strict decreases.
Proof. Consider an update from to . Since demand sets remain unchanged for , (LSC) gives throughout this interval. Since prices outside remain fixed, Lemma B.1 with shows that is nonincreasing for .
Choose a sufficiently small and set . Finiteness of the feasible sets and continuity of utilities give for every . Hence, for all . Subtracting and maximizing over gives . Thus, is nonincreasing. Since it is nonnegative and integer-valued, it strictly decreases at most times.
We next bound the number of changes in .
Lemma B.7. During Algorithm 1, the set changes at most times, where .
Proof. Suppose changes at price without a decrease in . Let for sufficiently small , where is the direction of the update ending at . As above, for every . Hence, . Thus, also maximizes . Since these maximizers form a lattice with minimal element , and changes at , we obtain . For each fixed positive value of , every change strictly enlarges . There are therefore at most such changes. By Lemma B.6, takes at most positive values and strictly decreases at most times. Moreover, implies , at which point the algorithm terminates. Hence, changes at most times. Since for every feasible bundle, we have for all . Using and maximizing over gives , which proves the claimed bound.
It remains to bound the number of updates while is fixed.
Lemma B.8. On any interval where remains fixed, Algorithm 1 performs only finitely many updates.
Proof. Since prices are nondecreasing and each transfer function has finitely many linear pieces, transfer slopes change only finitely many times. It therefore suffices to consider an interval on which and all transfer slopes are fixed. The weights and the effective domain are then fixed. Since changes only finitely many times by Lemma B.6, we may further assume that it is constant. At a demand event , set for sufficiently small , where is the direction of the update ending at . As above, for every . These inclusions give for every . Since and are fixed, the sums of these quantities agree, forcing equality for every . Lemma B.1 with then gives . Thus, the minimum total sums are equal, yielding and .
These inclusions expand the feasible region of without changing its objective, giving . Together with Lemma B.5, this shows that V is nondecreasing. Since each demand set lies in a finite twisted box and the slopes are fixed, only finitely many instances of and are possible. Thus, V strictly increases only finitely many times.
We may therefore further restrict to a subinterval on which is constant. Recall that denotes the componentwise minimal optimal solution of at price . At a demand event , the preceding inclusions give for all , where and are the dual objectives at and , respectively. Hence, . Thus, is also optimal at , implying . Lemma B.5 extends this monotonicity to the entire subinterval. Since is nondecreasing and takes only finitely many values, it changes only finitely many times.
Finally, while is constant, is fixed. With fixed transfer slopes, the finitely many feasible bundles have affine utilities along the price path, yielding finitely many demand events. By Lemma B.4, each nonterminal update reaches the next event. Hence, each subinterval contains finitely many updates. Since there are finitely many such subintervals, the claim follows.
Lemmas B.7 and B.8 together imply that Algorithm 1 terminates after finitely many iterations.