Competitive Bundle Trading
Abstract
Allocating a set of resources to an online sequence of customers is a fundamental problem in online algorithms with an extensive history. However, the natural extension where the algorithm is also allowed to purchase inventory from suppliers, who also arrive online, is essentially unexplored. We study this general trading problem under the objective of profit maximization, which is the difference between revenue from sales and cost of purchases. Maximizing the difference between two competing quantities is significantly more challenging than the sell-only case.
We show a logarithmic competitive ratio relative to the optimal offline solution. Our algorithm is an exponential-weight–update dynamic pricing scheme, and our analysis dual-fits the algorithm’s profit with respect to a linear programming relaxation that upper bounds the optimal offline profit; we also prove (nearly) matching lower bounds. Finally, we extend our results by designing an incentive-compatible mechanism for the setting in which customers are strategic and may misreport their true valuations.
Keywords and phrases:
Online algorithms, competitive analysis, algorithmic game theory, mechanism design, dynamic pricing, resource allocationCategory:
Track A: Algorithms, Complexity and GamesFunding:
Niv Buchbinder: Supported by ISF grant 3001/24 and BSF grant 2022418.Copyright and License:
2012 ACM Subject Classification:
Theory of computation Online algorithms ; Theory of computation Algorithmic game theoryEditors:
Sayan Bhattacharya, Danupon Nanongkai, Michael Benedikt, and Gabriele PuppisSeries and Publisher:
Leibniz International Proceedings in Informatics, Schloss Dagstuhl – Leibniz-Zentrum für Informatik
1 Introduction
Consider the basic task of selling an initial inventory of goods to an online sequence of customers. Every time step, a customer arrives and specifies a bundle of goods they wish to purchase as well as the price they are willing to pay for that bundle. Upon arrival of each customer, the algorithm must immediately and irrevocably decide whether to accept the transaction and sell off the requested bundle, and the goal is to maximize the total revenue obtained over the course of this sequence. This problem, which reduces to a packing integer (or linear) program whose columns arrive in an online fashion, has been studied extensively under a wide range of models, including fully adversarial environments [5, 36, 18, 16, 6], random-arrival settings [22, 26, 2, 34, 1, 32], and various other stochastic assumptions [27, 23, 3] (see also Section 1.3). When the constraint matrix is integral and the RHS is , even the offline version captures very difficult computational problems such as maximum independent set; hence it is standard to make a “large inventory” assumption that the RHS values are sufficiently large with respect to the matrix entries.
The general, adversarial version of this online inventory-selling problem was introduced by foundational work of Awerbuch, Azar, and Plotkin [5] more than 30 years ago in the context of online routing; they gave logarithmic competitive ratio guarantees. Their model was later generalized by Leonardi and Marchetti-Spaccamela [36] (see also [15], Chapter 13). Subsequent work further extended these results, both in offline and online settings, to capture combinatorial auctions with the objective of maximizing social welfare or revenue [4, 11, 35, 24, 16, 27]. Surprisingly however, the following natural generalization is poorly understood. What happens if the algorithm is not only selling an initial inventory, but also replenishing the inventory over time by buying from suppliers?
From Selling to Trading.
Concretely, suppose that every time step either a customer arrives as before, or a supplier arrives and announces a bundle they wish to sell and the price they wish to sell at. The new goal of the algorithm is to choose when to accept buy/sell transactions so as to maximize the cumulative profit over the online sequence, i.e. the difference between revenue from sales and expenses from purchases. This problem seem significantly harder than the sell-only special case, which might explain why it has not been studied until now. For one, here the number of transactions can be arbitrarily large, whereas in the sell-only case, the number of transactions is limited by the initial number of items. Secondly, max profit objectives of the form are already challenging in offline scenarios with full information; online, an uncareful algorithm may easily incur negative profit. We call this problem online bundle trading. To the best of our knowledge, no competitive online algorithm (or even good offline approximation) is known for this setting.
Further extensions.
The description above already captures many of the important aspects of the online trading problem, but in practice the story is more involved still. For one, customers/suppliers may be willing to buy/sell more than a single kind of bundle (though the reader should remember this so-called single-minded case for simplicity): in general they have a valuation function for bundles and will accept any bundle at the price at which they value that bundle. Since arbitrary valuation functions may be computationally challenging, we assume access to a demand oracle that, given item prices, returns a utility maximizing bundle.111While answering a demand query may be NP-hard in general, it is natural in our context to assume that customers and suppliers can efficiently identify their preferred bundles; otherwise, it would be unreasonable to expect a mechanism to meet their demands. Second, customers and suppliers may be strategic and unwilling to reveal their true reservation prices. We refer to this variant as the unknown valuation setting, and to the simpler version, where all valuations are known, as the known valuation setting. For the unknown valuation case, the goal is to design incentive compatible mechanisms. A formal definition of our model appears in Section 2.
1.1 Our results
Our main result is logarithmic competitive algorithms for the online trading problem for both the known and unknown valuation settings against optimal offline solutions. Let be the maximum size of a bundle of any customer and let be the maximum to minimum ratio of the value of any bundle of a customer. The algorithm is presumed to have access to upper bounds on these values.
Theorem 1 (Main Theorem, informal).
For every instance of the online trading problem with a demand oracle for the valuations, large enough inventory compared with the bundle sizes and every , there is an
-
-competitive deterministic algorithm for the known valuation case.
-
-competitive randomized incentive compatible online algorithm for the unknown valuation case.
The competitive ratio of both algorithms is with respect to an optimal offline fractional solution, where supplier values at any time step are larger.
As in previous work (e.g., [5, 36]), we assume that the inventory is large. The main additional assumption in our analysis is that the optimal offline solution to which we compare our online algorithm’s profit sees the same sequence of customers/suppliers as the online algorithm, except its suppliers’ valuations are higher for some fixed .222Instead of using a value augmentation for the suppliers, we could also use a reduction in the customers’ values and we would obtain similar results. We have arbitrarily chosen the first option. This assumption can be seen as a form of resource augmentation, which is a common assumption for many online problems (see, e.g., [44, Chapter 4], for a survey): beyond providing a tractable benchmark when competing with the true optimum is impossible, resource augmentation analysis concretely quantifies the value of the additional resource. Our lower bounds, presented below, show that without such augmentation, no competitive algorithm can exist. In fact, we do not know how to design even an offline approximation algorithm for our problem without this assumption.
In the unknown valuation setting, our incentive compatible mechanism is (almost) a posted price mechanism. The algorithm posts prices per unit for each item type, and these may change over time between different suppliers and customers. The price of each bundle , denoted by , is the sum of prices of the items of .333Technically, the prices of the bundles to customers is slightly more complex. See Section 1.2 for more details. Given these prices, each customer purchases a bundle maximizing her utility (so long as this utility is nonnegative) and is charged price . Similarly, a supplier sells a bundle maximizing her utility paying a price (as long as this utility is nonnegative).
We complement our algorithmic results with nearly matching lower bounds that show our competitive ratio is best possible up to constant factors.
Theorem 2 (Lower Bound, informal).
For the online trading problem (even for the known valuation setting and single minded customers/suppliers), when comparing to an optimal offline fractional solution for which supplier values are larger:
-
The competitive ratio of any deterministic or randomized algorithm is . In particular, no algorithm can achieve a finite competitive ratio without resource augmentation (that is, when ).
-
There exists a constant , such that if the inventory from an item type is smaller than times the number of items of type in at least one of the bundles, then the competitive ratio of any deterministic algorithm is unbounded.
1.2 Techniques
Our algorithms are natural to both describe and implement. Assume by scaling that the values of the customers for any bundle is in the range , and that this range is known to the algorithm. At any time step , our algorithm maintains values for every item type that can be viewed as a “base” price per one unit of that item type. Our algorithm can be seen as a dynamic pricing algorithm that changes its prices per unit of item type based on the current inventory: when the inventory of an item type is full, the base price for that item is , and the price increases exponentially as the inventory of the item type decreases. Dynamic pricing of this form is a common practice in retail and is used frequently (see e.g. [21] for a survey).
Known valuations.
The base price of any bundle , denoted by , is the sum of base prices of the items in the bundle . Upon an arrival of a customer, the customer is allocated a bundle that maximizes if this value is non-negative, and is charged a price of for the bundle. We remark that in the known valuation setting we may choose a bundle that maximizes the standard utility of the customer defined as . However, is used later in the unknown valuation setting in which we do not want to charge a customer with an arbitrarily small price, and would like the base price of a bundle to be at least . Upon arrival of a supplier, the price per unit of each item type is scaled down by a factor of . The algorithm purchases from the supplier a bundle that maximizes if this value is non-negative, and pays a value of for the bundle.
Our analysis uses a dual fitting approach that significantly generalizes arguments previously used to analyze the customer-only setting [17, 16] (see also [18] for a survey on the primal-dual approach in online algorithms). Here we work with a natural linear programming relaxation for the profit maximization objective which, unlike the customer-only setting, is no longer a pure packing problem. The dual has several moving parts; among other things, it involves the prices generated during the algorithm execution. Interestingly, we relate the primal and dual objectives by way of a weighted generalization of KL divergence whose properties are useful to us.
Unknown valuations.
Obtaining an incentive compatible mechanism requires several technical steps.444We note that some of these ideas extend previous techniques that were used in [4] to obtain an incentive compatible mechanism for the customer-only setting. The algorithm starts by randomly sampling, once and for all before the online sequence begins, a value from a carefully chosen distribution. Next, when a customer arrives the algorithm sets a price for bundle of . The customer purchases a bundle that maximizes her utility as long as this utility is non-negative, and is charged a price of . A delicate technicality is that even if the customer decides not to purchase the bundle because of this additional additive , but would have purchased the bundle if was , then the algorithm still updates the price per unit to future customers/suppliers as if the bundle was sold to the current customer (hence, our incentive compatible mechanism is not a simple posted price mechanism and requires a bidding phase). In the supplier case, the algorithm behaves almost identically to the known valuation setting, except that the algorithm posts a price of rather than the supplier’s true value, .
The algorithm for the known valuation setting has two free parameters that control the base prices . We show that for the unknown valuation setting, if we carefully tune these parameters, the analysis in the known valuation setting extends naturally.
1.3 Related Work
The most relevant related work to our setting is the following.
Customer only setting.
As discussed, the adversarial version of this problem was introduced by Awerbuch, Azar, and Plotkin [5] and later generalized significantly [36, 4, 11, 18, 35, 24, 16] (see also [15], Chapter 13). The “large inventory” assumption is required even for this easier customer-only setting [5, 36, 15, 16]. We note that our large inventory requirement is slightly higher and in particular depends on the value of . Additionally, whereas the customer only settings [15, 16] admits a competitive ratio that deteriorates (i.e. increases) smoothly as the size of the inventory shrinks, our setting exhibits a threshold phenomenon. Our theorems show that for large enough , there are constants such that if the inventory is larger than times the number of items of type in any bundle, then our (deterministic) algorithm has logarithmic competitive ratio. However, if the inventory is smaller than times the number of items of type in any bundle, then no deterministic algorithm can have a finite competitive ratio.
The large inventory assumption is also assumed in relaxed stochastic models such as the random arrival model. In this model the customers are chosen adversarially, but are given to the algorithm in a random order [22, 26, 2, 34, 1, 32]. In this relaxed model, it is possible to obtain a much better approximation when the inventory of each item type is large enough ( items of each type) [34, 1, 32] which is known to be tight [23]. We also remark that in the random arrival model with only customers, the optimal offline solution does not depend on the order of arrival. In our more general setting in which both customers and suppliers arrive, the optimal offline solution and its value crucially depend on the arrival order. It is an interesting open problem whether improved competitive ratio is possible in our more general setting but with additional stochastic assumptions.
Prophet trading.
Correa et al. [20] initiated the study of a general prophet trading problem in which both buyers and sellers arrive sequentially. In their model (but our notation) the algorithm holds an inventory of at most items of a single item type, and faces a sequence of prices for this item. The prices are drawn from known distributions , and the realization of the prices are revealed in a random order. At each time step , the algorithm is allowed to both buy or sell items at the current price with the goal of maximizing the profit (the revenue obtained from selling the item minus the purchasing costs). They design a static single-threshold price algorithm (i.e. buy or sell depending on whether today’s price is above or below a fixed threshold) that they show is constant competitive, and they also prove a constant lower bound. Recent work [43] extends their setting further to handle multiple item types and matroid constraints on the inventory. Even more recent work by Azar et al. [8] gave a -competitive algorithm and a matching lower bound for the adversarial order prophet trading problem. As in our setting, they allowed both the algorithm and the adversary to start trading with a full inventory (alternatively, they allow an additive constant of initial inventory cost in the competitive ratio).
We may view [20, 8] as a (very) restricted stochastic case of our known valuation setting in which at each time step both a customer and a supplier arrive, and each wishes to buy/sell any quantity of a single item type at a fixed price per unit. The general problem we study allows for arbitrary bundles containing multiple item types, and adversarial customers/suppliers valuations for bundles. Because our setting is harder, we (a) only obtain logarithmic competitive ratios, and (b) need the additional assumptions of a large inventory, and of a weaker offline benchmark that sees supplier prices that are higher. Our lower bounds show that both (a) and (b) are unavoidable. Unlike [20, 8], our algorithms require a more sophisticated dynamic pricing scheme.
Apart from the related work already discussed, there are several other important lines of work reminiscent of (but distinct from!) our problem.
(Online) Bilateral Trading.
Bilateral Trading has been studied extensively since the seminal work of Myerson and Satterthwaite [41] (see also [14, 9]). Perhaps the closest version to our setting is the online bilateral trade problem, where at every time step a buyer and seller arrive as a pair. Each has a private valuation functions for a good. The algorithm, which plays the role of the trading platform, posts a price for the good, and buyer and seller proceed with trade so long as both are willing to trade at this price. A common goal is to maximize the gain from trade defined as the sum of utilities of the buyer and the seller [19, 12, 10]. This setting is very different from ours (even for a single item type): the objective is different, and furthermore buyers and sellers arrive and depart simultaneously, so the algorithm cannot stockpile goods in inventory for later trades.
Two-Way Trading and Portfolio Selection.
The problem of online portfolio selection has been extensively studied (see e.g., [37] or [15, Chapter 14]). For example, in a simple one way trading model introduced by El-Yaniv et al. [25], a trader faces a a sequence of prices and would like to maximize her profit from selling a single item. Even closer to our setting is the Two-way trading problem in which a trader with an initial one unit of money observes a sequence of prices of a stock, and is allowed to buy/sell the stock at the given price with the goal of maximizing her final wealth [28, 29]. Despite the seeming similarity, the focus on a single-item type, the lack of inventory constraints, and the lack of restrictions on the number of units per transaction make this problem very different from ours.
Other.
In additional nearby work of [42], we wish to allocate goods to buyers, both of whom appear and perish according to a Poisson process; buyers have linear or submodular valuation functions and desire bundles respecting downward closed constraint families (e.g. they only want want independent sets of a matroid). Similar problems have also been studied in the operations research community. See e.g, network revenue management problem ([30, Chapter 7]). This last line of research usually makes stochastic (as opposed to adversarial) assumptions about the input [31, 33, 40, 39, 38].
Finally, we remark that our linear formulation is an extension of the dual formulation of the positive body chasing problem introduced in [13]. A major difference is that in our problem we require an integral solution, and [13] does not maintain an integral dual. Furthermore we seek an incentive compatible mechanism, which is not a concern of [13].
2 Preliminaries
In this section, we formally define the problem considered in this paper and introduce notation.
Problem Statement.
The algorithm maintains an inventory of item types , and we use to denote the set . At any time , the algorithm is required to hold an (integral) amount of item type such that for some positive integer inventory . The upper bound constraint on the inventory arises naturally from storage limitations, risk management policies, or regulatory restrictions. We assume that initially the inventory of both the algorithm and the adversary are full, for all . Alternatively, this assumption can be replaced by adding an extra additive constant to the competitive ratio that is independent of the length of the sequence. Time steps are partitioned into time steps in which a customer arrives, and time steps in which a supplier arrives (i.e. ).
-
At time steps , a customer arrives and provides a menu of bundles . Each bundle contains items of type and has a value to the customer. The customer would like to purchase at most a single bundle .
-
At time steps , a supplier arrives and similarly provides a menu of bundles . A bundle has items of type and has a value of to the supplier. The supplier would like to sell at most one bundle .
At any time step , the algorithm can buy/sell up to a single bundle from a supplier/customer. The (integral) inventory of items of type , , must remain in the range at all time steps. However, when the algorithm purchases a bundle from a supplier it may dispose of any items that are not required for free if it already holds an inventory of items of type and cannot increase the inventory of this item type. We use and to refer to time steps in which the algorithm sells or buys a bundle respectively (as opposed to deciding not to buy/sell), and is the bundle allocated to the customer, or bought from the supplier. We study two different settings for this model:
-
In the known valuation setting the values of the bundles are known to the algorithm and the price it charges or pays is the bundle’s value. Hence, the profit of the algorithm is .
-
In the unknown valuation setting the algorithm we design an incentive compatible mechanism. Here, at time step , the algorithm posts (compactly) a price for each bundle and the customer buys a bundle maximizing her utility if this utility is non-negative. Similarly, at time step , the algorithm posts prices for the bundles and the supplier sells a bundle that maximizes her utility if this utility is non-negative. The goal of the algorithm is maximizing its profit .
A special case of our setting is when the customers (or suppliers) are single minded, meaning that each customer would like to purchase a single bundle of items (or a bundle containing ) and has a value to this bundle. Similarly, a supplier would like to sell to the algorithm a single bundle (or a subset of the bundle ) and has a value to this bundle.
In the simpler setting of single minded customers/suppliers the bundle that maximizes the utility can be computed trivially. In case that the number of bundles in the menu is exponential, we assume that we are given a demand oracle to the customers/suppliers. That is, given a price per unit of each item type at the arrival of a customer, the customer is able to output a bundle maximizing its utility . Similarly, upon an arrival of a supplier at time step , it may output a bundle that maximizes .
Our algorithm is given a parameter , and we compare the profit obtained by our algorithm with an optimal solution that maximizes the profit, but the value of each supplier to each bundle is instead of . We note that instead of using a value augmentation for the suppliers, we could also use a reduction in the customers’ values to achieve similar results, and we arbitrarily have chosen the first option. As our proof is via duality of a fractional relaxation of the problem, the optimal solution can be fractional.
Additional Notation.
Define be the largest size of a bundle of a customer, as well as and to be the minimum and maximum value of a bundle to a customer. We assume the values are all known to the algorithm upfront. Without loss of generality we scale these values and assume that .
All logarithms in this paper are base . We use a weighted generalization of KL divergence. Given a weight function , define
| (2.1) |
It is known that for nonnegative vectors (one can check this is true term by term above).
3 The Algorithm
In this section we prove our main theorem that we state here formally.
Theorem 3.
For every instance of the online trading problem with a demand oracle for the valuations, and for every , there is
-
Known valuations: A deterministic online algorithm that is -competitive provided that the inventory for any item type is times the number of items of type in any bundle for some large enough constant .
-
Unknown valuations: A randomized incentive compatible online algorithm that is -competitive in expectation provided that the inventory for any item type is times the number of items of type in any bundle for some large enough constant .
The competitive ratio of both algorithms is with respect to an optimal offline fractional solution, where supplier valuations at any time step are larger.
In Section 3.1 we present our main algorithm for the known valuation setting proving the first part of the theorem. In Section 3.2 we show how to modify our algorithm in order to design an incentive compatible algorithm for the unknown valuations setting proving the second part of the theorem.
3.1 The Known Valuation Setting
We first consider known valuation setting. Our algorithm has two parameters and that are chosen later. The algorithm requires the following assumption on the inventory size of each item type compared with the number of items of type in bundles presented to the algorithm.
Assumption 4 (Large inventory).
For any item type , time , and a bundle , we require that .
The formal description of our algorithm appears as Algorithm 1, and we first describe it less formally. At any time step , the algorithm maintains values for each item type that depends on the current inventory . When the inventory of item is full , and increases exponentially as the inventory decreases to 0. Intuitively, at this point, the reader may think of the value as the base price per one unit of an item of type just before the arrival of the customer/supplier at time step (although our incentive compatible version of the algorithm in Section 3.2 requires a more delicate setting of the prices). Using this intuition, the price for a bundle is . Next,
-
Customer arrival: As , the algorithm allocates a bundle that maximizes the utility of the customer if this utility is non-negative and charge the customer . Otherwise, no bundle is allocated.
-
Supplier arrival: The algorithm offers to the supplier prices that are times smaller, and buys a bundle that maximizes the utility of the supplier if it is non-negative, and otherwise no bundle is bought.
Let and be the time steps in which the algorithm sells or buys a bundle respectively (as opposed to deciding not to buy/sell), and let be the bundle that was sold/bought from the customer/supplier. In order to make our subsequent presentation simpler, define for every the quantity
We prove the following theorem.
Theorem 5.
Given parameter and , and assuming that for any item type , time , and a bundle , , Algorithm 1 maintains a feasible integral inventory, such that
where is an optimal offline fractional solution whose buying costs from a supplier at any time step is .
The first part of Theorem 3 follows by setting , and .
We start with a couple of simple observations.
Observation 6.
Item prices are always positive, i.e. for all and , we have .
Proof.
The algorithm explicitly maintains that in Line 9, which in turn implies that .
We make another observation that comes from rearranging the price update rule (3.1).
Observation 7.
Define . Then, for all and , it holds that .
Proof.
Manipulating the price update rule (3.1), we get . Subtracting from and dividing by yields the claim.
Before bounding the competitive ratio, one might worry whether Algorithm 1 even maintains a feasible integral solution (namely why never goes below ). We prove that this is indeed the case.
Lemma 8.
Algorithm 1 produces a feasible integral solution.
Proof.
Clearly, is integral since all bundles are integral. Furthermore, as already noted, we maintain explicitly. The only thing remaining to argue is that .
We claim that whenever the algorithm decides to sell a bundle with to a customer, we have that . To see this, note that otherwise since and by Observation 6 we have, , which means that the algorithm does not sell the bundle to the customer (see Line 6).
Rearranging (3.1), whenever the algorithm decides to sell a bundle with :
where the second equality follows since , and the last inequality follows since . By Assumption 4 we have that , and we conclude that . We remark that the analysis here does not require the full strength of Assumption 4 that is used later in the proof.
Analysis via Duality
To prove the competitiveness stated in Theorem 5 we present an LP formulation for the fractional version of the problem in which supplier valuations are inflated by . We then construct a feasible solution to the dual problem whose value is times the value obtained by the algorithm. Theorem 5 then follows directly by weak duality.
In the LP below, we may think of and respectively as the indicators for whether bundle is allocated to the customer and supplier at time , and as before, as the number of items of type in inventory at time . The constraints are straightforward updating the inventory (which is in ), and requiring that at most a single bundle is allocated at any time . Note that by making (3.2) and (3.3) inequalities (as opposed to equalities) we are allowing a free disposal of items.
| (3.2) | |||||
| (3.3) | |||||
| (3.4) | |||||
| (3.5) | |||||
| (3.6) | |||||
The dual formulation has variables that correspond to Constraints (3.2) and (3.3), variables and corresponding to constraints (3.4) and (3.5), and variables that correspond to Constraints (3.6).
| (3.7) | |||||
| (3.8) | |||||
| (3.9) | |||||
We have suggestively reused the name for the dual variables: indeed, we will soon use the values from (3.1) to set these.
Constructing the dual solution.
We fit the following dual to Algorithm 1. Recall that and are the time steps in which Algorithm 1 decides to sell or buy a bundle respectively. We set
We need to show dual feasibility, and that the cost of the algorithm is related to the dual cost. We start with the first.
Lemma 9.
The solution is feasible to .
Proof.
By construction we have , , and , and by Observation 6 also .
By the behavior of the algorithm (Line 9), if , then and hence . Hence, it remains to check constraints (3.7) and (3.8).
Consider first any time in which no bundle is sold. In this case, by line 6 of Algorithm 1, for all we have (note the strict inequality), as for any bundle , it means that for every , and therefore setting and noticing that in this case satisfies constraints (3.7). Next, consider any time in which a bundle is allocated to a customer. By the definition of , we have for any
Thus, we get that for any , , where the first inequality holds since the values only increase at time steps .
Similarly, let be a time in which no bundle is allocated to the supplier. Line 9 of Algorithm 1 guarantees that in this case for all we have , and therefore setting satisfies constraints (3.8). Finally, at times , in which a bundle is bought from the supplier, we have for all ,
The first inequality holds since the values only decrease at time steps . Hence, we satisfy the dual constraints (3.7) and (3.8).
The remaining challenge is to relate the cost of the algorithm to the cost of the dual solution. This is proved in Lemma 10. Theorem 5 follows directly by combining Lemma 9 and Lemma 10 along with weak duality.
Lemma 10.
Let for every time step . Then, the value of the dual solution is bounded as
Proving Lemma 10 requires several intermediate claims.
Claim 11.
Recall that . For time steps in which the trader allocates a bundle to a customer or a supplier we have the following.
| (3.10) | ||||
| (3.11) |
Proof.
Consider a time step . Then,
| (3.12) | ||||
| (3.13) | ||||
| (3.14) |
Step (3.12) follows by using Observation 7 twice, and the fact that . Inequality (3.13) follows by Assumption 4. Inequality (3.14) follows since Next, at a time step we have,
| (3.15) | |||
| (3.16) | |||
| (3.17) | |||
| (3.18) | |||
Inequality (3.15) follows by Assumption 4 and the fact that . Equalities (3.16) and (3.17) follow by using Observation 7, and by the fact that if then , which means . Inequality (3.18) follows from Assumption 4. The final inequality follows since .
Claim 12.
The following inequality holds: .
Proof.
By the non-negativity of the KL divergence, we have that for all ,
Summing up the inequalities for all time steps , we get
| (3.19) | ||||
| (3.20) | ||||
| (3.21) |
Inequality (3.19) follows by adding the term that equals 0. Equality (3.20) is a telescoping sum. Finally, inequality (3.21) follows by plugging inequalities (3.10) and (3.11) from Claim 11, and since . Dividing by concludes the proof.
We are finally ready to prove Lemma 10.
Proof of Lemma 10.
First, for all time steps , we have
| (3.22) |
The penultimate inequality follows because for any , we have . The last inequality is due to Claim 11 and since .
Using this together with Claim 12, we bound the value of the dual solution (except for the value of ) as follows:
| (3.23) | |||
| (3.24) | |||
| (3.25) | |||
| (3.26) | |||
| (3.27) |
Step (3.23) follows from (3.22) and the fact that , are all when . Step (3.24) follows from adding times the inequality of Claim 12. Step (3.25) holds since and , and (3.26) since . Step (3.27) follows since
Finally, by the construction of the dual solution, we have . Adding this to the final inequality, we get:
The last inequality follows firstly since as , , and for . For every , we have . More crucially, by the properties of the algorithm at each time step in which the algorithm sells a bundle to a customer, we have (see Line 6), and at each time step in which the algorithm buys a bundle from a supplier, we have (see Line 9).
3.2 The Unknown Valuation Setting
In this section we prove the second part of Theorem 3 by designing an incentive compatible algorithm. Our incentive compatible algorithm is based on Algorithm 1 and its analysis with the following changes. We initially sample a random threshold (in a way that is described formally later). Then,
-
When a customer arrives, the algorithm sets a price for each bundle for every bundle . The customer buys the bundle maximizing her utility if this utility is nonnegative. Additionally, regardless of whether any bundle is allocated in round , if is non-negative, the algorithm subtracts the bundle contents from the inventory and updates the values accordingly as done by our algorithm for the known value setting, Algorithm 1. Note that as , then whenever , then is also non-negative. Formally, as the machanism may update the prices even if a bundle is not allocated to the customer, the incentive compatible mechanism is not a posted price mechanism, and requires a bidding phase.
-
When a supplier arrives, the algorithm sets a price for every bundle . The supplier sells the bundle maximizing his utility if this utility is nonnegative.
In addition to the above changes, the algorithm chooses the parameters and carefully as we describe in the formal description of Algorithm 2.
Remark 13.
We remark that in Step 8 the inventory is updated even if eventually in Step 9 the algorithm does not allocate the bundle to the customer (since is too large). The algorithm can be lazy and delay disposing items until the inventory exceeds the capacity. However, for our analysis, we require that the algorithm updates the values as if the items were allocated.
We begin with the following observation.
Observation 14.
Algorithm 2 is incentive compatible.
Proof.
We observe that Algorithm 2 sets prices for each bundle in Steps 6 and 11 allocates to the customers/suppliers a bundle that maximizes their utility with respect to these prices (if it is non-negative). Hence, we get that the algorithm is incentive compatible. Next, we have the following claim.
Claim 15.
At any time step , the inventory of the algorithm , the values and the identity of is the same in Algorithm 2 as in Algorithm 1.
Proof.
The claim follows inductively on the time steps . We observe that whenever a supplier arrives, the allocation is identical in both algorithms (only the price paid is different). Whenever a customer arrives at time step , as is simply an additive shift, the bundle chosen in Step 5 in Algorithm 1 is the same as the bundle chosen by Algorithm 2 in Step 7. Moreover, even if the bundle is not allocated to the customer in Step 9 (which can happen if is too large), the algorithm still updates its inventory in Step 8 (as in Step 6 of Algorithm 1) as well as the values that depend on the inventory.
By the above claim, we get by the analysis of Algorithm 1 that the inventory of Algorithm 2 is always feasible. Moreover, the dual solution as constructed in Section 3.1 is also feasible. Therefore, setting the parameters , and (Line 2 of Algorithm 2) we get, by Theorem 5 that,
Next, let be the time steps in which Algorithm 1 sells bundle to the customer at price or pays the supplier a cost of . Algorithm 2 updates its inventory the same way in these steps. However, it pays the supplier a higher price of and charges the customer a (random) lower price of if the bundle is allocated to the customer. Nevertheless, the next lemma bounds from below the expected profit of Algorithm 2.
Lemma 16.
The expected profit of Algorithm 2 is at least,
Proof.
By construction, for all time steps , the algorithm pays . Consider a time step in which . If then the algorithm’s expected revenue is at least
Otherwise, let be such that, . The total expected revenue of the algorithm is:
The last inequality follows since Plugging into Lemma 16, the algorithm’s expected revenue is at least,
Combining this with the upper bound on the optimal profit we get,
where the final inequality uses the fact that for . Finally, note that . Hence, the algorithm is -competitive concluding the proof of the second part of Theorem 3.
4 Lower Bounds
In this section, we prove our lower bound theorem.
Theorem 17.
For the online trading problem (even for the known valuation setting and single minded customers/suppliers), when comparing to an optimal offline fractional solution for which supplier values are larger:
-
The competitive ratio of any deterministic or randomized algorithm is . This holds even if all the items are of a single type. In particular, without the supplier value augmentation, the competitive ratio of any algorithm is unbounded.
-
There exists a constant , such that if the inventory from an item type is less than times the number of items of type in some of the bundles, then the competitive ratio of any deterministic algorithm is unbounded. This holds even with respect to an optimal solution that can hold a single item from each type.
In Section 4.1 we prove the first statement of the theorem. Due to space considerations, we leave the second part of the proof (which is similar) to the full version [7].
4.1 Lower Bound
In this section we prove that the competitive ratio of any deterministic or randomized algorithm is , even in the special case where all items are of a single type. In particular, without the value augmentation of the suppliers, the competitive ratio is unbounded. We prove two lower bounds separately: (a) even when all customers and suppliers wish to buy or sell a single item (), but the value for the item is in for some arbitrary value ; (b) even when the value of the bundles requested are in the range (i.e. ), but the bundles may contain up to items for an arbitrary . The two lower bounds are very similar, but we show them separately for clarity.
Our bounds hold even when the algorithm is allowed to sell or buy items fractionally. Observe that any randomized algorithm for the trading problem (against an oblivious adversary!) induces a feasible fractional solution , where is the expected inventory item type that algorithm holds at time . Therefore, the lower bound we prove holds even for randomized algorithms.
Intuition.
In the hard input sequence we construct, there are unbounded number of phases. In each phase, the adversary presents to the algorithm a stream of suppliers each selling at exponentially decreasing cost a full inventory’s worth of the same item. As long as the algorithm purchases “enough” of the items, the phase continues. Otherwise, the adversary presents a set of customers offering to buy items at a price times the last (cheapest) supplier’s price, and the phase ends. If the last suppliers arrive with a cheapest price per unit of item of , then the optimal solution purchases a full inventory for a price per unit of (paying times the price paid by the algorithm), and immediately sells at a price per unit of , making profit of per unit. On the other hand, we argue that we can define “enough” such that the algorithm needs to spend too much money over the course of the sequence to make more than a fraction of this optimal profit. We repeat this construction an arbitrary number of times in phases to amortize away any initialization constants.
In the lower bound the decreasing prices per unit are achieved via suppliers with decreasing values. In the lower bound, the decreasing prices are instead achieved via suppliers with (roughly) fixed values but increasing sizes of bundles. There is an additional technical complexity in the second bound that stems from the fact that bundle sizes must be integral, and to achieve this we vary valuations slightly in the range .
4.1.1 Proof of the lower bound
Lemma 18.
The competitive ratio of any deterministic or randomized algorithm is . This holds even if , all the items are of a single type, and the customers/supplier are single minded.
Proof.
We assume that is such that , and let be an integer (thus larger than 3). The input sequence is divided into phases, each of which consists of an adaptive sequence of steps in which suppliers arrive, followed by one single step in which customers arrive. We denote by the inventory of the algorithm at the beginning of the phase (before step ), and let be the (potentially fractional) inventory of the algorithm before the -th step. Let (so that and ).
At the -th step, suppliers arrive, each offering to sell a single item with value . The algorithm may purchase some fraction of items from the suppliers, thus increasing its inventory to . If , then customers arrive, each wanting to purchase a single item with value , and the phase ends. Otherwise we continue to step . Let be the final time step in which suppliers arrive. Thus the inventory of the algorithm before the arrival of the last suppliers is . These suppliers have value , and thus the customers have value .
Note that every phase must eventually end because at each step in which no customer arrives (and the phase continues) we have , and for all , we have . Note also that due to our choice of , the values of all the suppliers and customer are indeed in the range .
Let and be the profit of the algorithm and the adversary in a single phase. To complete the proof of the lower bound, we compare these two quantities.
Bounding.
: The adversary can buy items from the last suppliers and then immediately sell the entire inventory to the customers.555Technically, in the first phase, the adversary’s inventory is full and it does not need to pay to fill its inventory, which only helps our analysis. In every subsequent phase, the inventory of the adversary is initially empty. To purchase the items, it pays (this is times the price offered to the algorithm by the suppliers in the last step). Hence, its total trading profit in the phase is
Bounding.
: To analyze the profit of Alg, we imagine that it represents the inventory it holds as a subset of the interval . We further imagine that when buying, it fills the interval from left to right, and when it sells it clears inventory from right to left (i.e. LIFO, see Figure 1). This is purely for accounting purposes and will not change the total profit of the algorithm. Next, we partition the inventory in the interval into (sub-)intervals indexed by , where the th interval is the inventory between . The algorithm maintains the following invariant.666Note that the algorithm did not pay for its starting inventory: to account for this, we can imagine the algorithm starts the game with a profit of which it then pays to ensure the invariant holds. This adds an absolute constant to the profit of the algorithm, which can be amortized to after sufficiently many phases.
Invariant 1.
The price paid per unit for the -th interval is at least .
Proof.
Since the algorithm fills its inventory according to the LIFO policy, the occupied inventory at time is always the interval . Suppose that , in other words the algorithm partially fills the interval in time step . Then , so by construction the suppliers in time step have value at least , and hence the fraction of the -th interval covered by is bought at no less than this price.
To conclude the proof, recall is the final time step in which suppliers arrive, and the inventory of the algorithm before the arrival of the last suppliers is . As the phase ends this means that meaning that (the algorithm did not fill more than a single sub-interval). The profit the algorithm can make from selling items in the interval is at most
If the algorithm chooses to further sell inventory the range , which was purchased at a price per item of at least , the algorithm makes no profit (and will even lose money for selling from the range ).
We conclude that the competitive ratio of the algorithm is at least .
4.1.2 Proof of the lower bound
Lemma 19.
The competitive ratio of any deterministic or randomized algorithm is . This holds even if , all the items are of a single type, and the customers/supplier are single minded.
Proof.
This time we construct an instance for every . We assume that is a power of that divides , and is such that . Let be an integer, which by this assumption is at least .
Again, the input is divided into phases, each of which consists of an adaptive sequence of suppliers, followed by one set of customers. We denote by the inventory of the algorithm at the beginning of the phase (before step ), and let be the (potentially fractional) inventory of the algorithm before the -th step. Let (so that and ). Additionally define . By our choice of , we have , for . Let be the smallest power of greater than , and define . We have .
At the -th step, suppliers arrive, each offering to sell items at value . Note divides and is also a power of 2 less than , so is integral. The algorithm may purchase some fraction of items from the suppliers, thus increasing its inventory to . If , then customers arrive, each offering to buy a bundle of items for a price of , and the phase ends. Otherwise we continue to step . Note that every phase must eventually end because at each step in which no customer arrives (and the phase continues) we have , and for all we have . Once again let be the final time step in which suppliers arrive.
Bounding .
The adversary can buy items from each of the last suppliers, thus buying items in total and filling its inventory.777Once again, in the very first phase the adversary starts with a full inventory and does not have to make any purchases. Then it can sell items to each of the customers, thus selling items in total and clearing its inventory. Its total profit (it pays times more than the algorithm to the suppliers) is:
where we used that by definition.
Bounding .
Once again, to analyze the profit of Alg we imagine that it fills the interval from left to right when buying, and clears it from right to left when selling. We again partition into (sub-)intervals indexed by , where the th interval is the inventory between . The invariant we maintain this time is very similar to the one before.888The algorithm does not pay for its initial inventory, but this adds a constant to the algorithm’s profit which amortizes to after enough phases.
Invariant 2.
The price paid per unit for the -th interval is at least .
Proof.
The LIFO policy ensures that the occupied portion of the inventory at time step is the interval . Suppose that (the algorithm fills some part of the th interval at time ). Then , so the suppliers at time step offer a bundle of items with value such that the price per unit is . This is precisely the price per unit paid for the portion of the -th interval covered in this step.
Hence, when the customers arrive at the end of the phase with wishing to buy a bundle of size at price , their value per item is . By construction, the customers arrive at time when (), so the profit of the algorithm from selling the cheapest items in the interval is at most,
If the algorithm chooses to further sell inventory the range , which was purchased at a price per item of at least , the algorithm makes no profit (and will even lose money for selling from the range ).
We conclude that the competitive ratio of the algorithm is at least .
References
- [1] Shipra Agrawal and Nikhil R. Devanur. Fast algorithms for online stochastic convex programming. In Proceedings of the Twenty-Sixth Annual ACM-SIAM Symposium on Discrete Algorithms, SODA 2015, San Diego, CA, USA, January 4-6, 2015, pages 1405–1424. SIAM, 2015. doi:10.1137/1.9781611973730.93.
- [2] Shipra Agrawal, Zizhuo Wang, and Yinyu Ye. A dynamic near-optimal algorithm for online linear programming. Oper. Res., 62(4):876–890, 2014. doi:10.1287/OPRE.2014.1289.
- [3] C. J. Argue, Anupam Gupta, Marco Molinaro, and Sahil Singla. Robust secretary and prophet algorithms for packing integer programs. In Joseph (Seffi) Naor and Niv Buchbinder, editors, Proceedings of the 2022 ACM-SIAM Symposium on Discrete Algorithms, SODA 2022, Virtual Conference / Alexandria, VA, USA, January 9 - 12, 2022, pages 1273–1297. SIAM, 2022. doi:10.1137/1.9781611977073.53.
- [4] Baruch Awerbuch, Yossi Azar, and Adam Meyerson. Reducing truth-telling online mechanisms to online optimization. In Lawrence L. Larmore and Michel X. Goemans, editors, Proceedings of the 35th Annual ACM Symposium on Theory of Computing, June 9-11, 2003, San Diego, CA, USA, pages 503–510. ACM, 2003. doi:10.1145/780542.780616.
- [5] Baruch Awerbuch, Yossi Azar, and Serge A. Plotkin. Throughput-competitive on-line routing. In 34th Annual Symposium on Foundations of Computer Science, pages 32–40. IEEE Computer Society, 1993. doi:10.1109/SFCS.1993.366884.
- [6] Yossi Azar, Niv Buchbinder, T.-H. Hubert Chan, Shahar Chen, Ilan Reuven Cohen, Anupam Gupta, Zhiyi Huang, Ning Kang, Viswanath Nagarajan, Joseph Naor, and Debmalya Panigrahi. Online algorithms for covering and packing problems with convex objectives. In IEEE 57th Annual Symposium on Foundations of Computer Science, FOCS 2016, Hyatt Regency, New Brunswick, New Jersey, USA, October 9-11, 2016, pages 148–157. IEEE Computer Society, 2016. doi:10.1109/FOCS.2016.24.
- [7] Yossi Azar, Niv Buchbinder, Roie Levin, and Or Vardi. Competitive bundle trading. CoRR, abs/2507.23047, 2025. doi:10.48550/arXiv.2507.23047.
- [8] Yossi Azar, Niv Buchbinder, Roie Levin, and Or Vardi. Trading prophets with initial capital. In To appear in the SIAM Symposium on Simplicity in Algorithms (SOSA26), 2026.
- [9] Moshe Babaioff, Amitai Frey, and Noam Nisan. Learning to maximize gains from trade in small markets. In Dirk Bergemann, Robert Kleinberg, and Daniela Sabán, editors, Proceedings of the 25th ACM Conference on Economics and Computation, EC 2024, New Haven, CT, USA, July 8-11, 2024, page 195. ACM, 2024. doi:10.1145/3670865.3673463.
- [10] François Bachoc, Nicolò Cesa-Bianchi, Tommaso Cesari, and Roberto Colomboni. Fair online bilateral trade. In Advances in Neural Information Processing Systems 38: Annual Conference on Neural Information Processing Systems 2024, NeurIPS 2024, Vancouver, BC, Canada, December 10 - 15, 2024, 2024. URL: http://papers.nips.cc/paper_files/paper/2024/hash/419ce7cb77aa90868c16882ce4257a69-Abstract-Conference.html.
- [11] Yair Bartal, Rica Gonen, and Noam Nisan. Incentive compatible multi unit combinatorial auctions. In Joseph Y. Halpern and Moshe Tennenholtz, editors, Proceedings of the 9th Conference on Theoretical Aspects of Rationality and Knowledge (TARK-2003), Bloomington, Indiana, USA, June 20-22, 2003, pages 72–87. ACM, 2003. doi:10.1145/846241.846250.
- [12] Martino Bernasconi, Matteo Castiglioni, Andrea Celli, and Federico Fusco. No-regret learning in bilateral trade via global budget balance. In Proceedings of the 56th Annual ACM Symposium on Theory of Computing, STOC 2024, pages 247–258. Association for Computing Machinery, 2024. doi:10.1145/3618260.3649653.
- [13] Sayan Bhattacharya, Niv Buchbinder, Roie Levin, and Thatchaphol Saranurak. Chasing positive bodies. In 64th IEEE Annual Symposium on Foundations of Computer Science, FOCS 2023, Santa Cruz, CA, USA, November 6-9, 2023, pages 1694–1714. IEEE, 2023. doi:10.1109/FOCS57990.2023.00103.
- [14] Liad Blumrosen and Shahar Dobzinski. (almost) efficient mechanisms for bilateral trading. Games Econ. Behav., 130:369–383, 2021. doi:10.1016/J.GEB.2021.08.011.
- [15] Allan Borodin and Ran El-Yaniv. Online computation and competitive analysis. Cambridge University Press, 1998.
- [16] Niv Buchbinder and Rica Gonen. Incentive compatible mulit-unit combinatorial auctions: A primal dual approach. Algorithmica, 72(1):167–190, 2015. doi:10.1007/S00453-013-9854-4.
- [17] Niv Buchbinder and Joseph Naor. Improved bounds for online routing and packing via a primal-dual approach. In 47th Annual IEEE Symposium on Foundations of Computer Science (FOCS 2006), 21-24 October 2006, Berkeley, California, USA, Proceedings, pages 293–304. IEEE Computer Society, 2006. doi:10.1109/FOCS.2006.39.
- [18] Niv Buchbinder and Joseph Naor. Online primal-dual algorithms for covering and packing. Math. Oper. Res., 34(2):270–286, 2009. doi:10.1287/MOOR.1080.0363.
- [19] Nicolò Cesa-Bianchi, Tommaso Cesari, Roberto Colomboni, Federico Fusco, and Stefano Leonardi. Bilateral trade: A regret minimization perspective. Math. Oper. Res., 49(1):171–203, 2024. doi:10.1287/MOOR.2023.1351.
- [20] José Correa, Andrés Cristi, Paul Duetting, MohammadTaghi Hajiaghayi, Jan Olkowski, and Kevin Schewior. Trading prophets. In Kevin Leyton-Brown, Jason D. Hartline, and Larry Samuelson, editors, Proceedings of the 24th ACM Conference on Economics and Computation, EC 2023, London, United Kingdom, July 9-12, 2023, pages 490–510. ACM, 2023. doi:10.1145/3580507.3597813.
- [21] Arnoud V Den Boer. Dynamic pricing and learning: historical origins, current research, and new directions. Surveys in operations research and management science, 20(1):1–18, 2015.
- [22] Nikhil R. Devanur and Thomas P. Hayes. The adwords problem: online keyword matching with budgeted bidders under random permutations. In John Chuang, Lance Fortnow, and Pearl Pu, editors, Proceedings 10th ACM Conference on Electronic Commerce (EC-2009), Stanford, California, USA, July 6–10, 2009, pages 71–78. ACM, 2009. doi:10.1145/1566374.1566384.
- [23] Nikhil R. Devanur, Kamal Jain, Balasubramanian Sivan, and Christopher A. Wilkens. Near optimal online algorithms and fast approximation algorithms for resource allocation problems. J. ACM, 66(1):7:1–7:41, 2019. doi:10.1145/3284177.
- [24] Shahar Dobzinski, Noam Nisan, and Michael Schapira. Truthful randomized mechanisms for combinatorial auctions. J. Comput. Syst. Sci., 78(1):15–25, 2012. doi:10.1016/J.JCSS.2011.02.010.
- [25] Ran El-Yaniv, Amos Fiat, Richard M. Karp, and G. Turpin. Optimal search and one-way trading online algorithms. Algorithmica, 30(1):101–139, 2001. doi:10.1007/S00453-001-0003-0.
- [26] Jon Feldman, Monika Henzinger, Nitish Korula, Vahab S. Mirrokni, and Clifford Stein. Online stochastic packing applied to display ad allocation. In Algorithms - ESA 2010, 18th Annual European Symposium, Liverpool, UK, September 6-8, 2010. Proceedings, Part I, volume 6346 of Lecture Notes in Computer Science, pages 182–194. Springer, 2010. doi:10.1007/978-3-642-15775-2_16.
- [27] Michal Feldman, Nick Gravin, and Brendan Lucier. Combinatorial auctions via posted prices. In Piotr Indyk, editor, Proceedings of the Twenty-Sixth Annual ACM-SIAM Symposium on Discrete Algorithms, SODA 2015, San Diego, CA, USA, January 4-6, 2015, pages 123–135. SIAM, 2015. doi:10.1137/1.9781611973730.10.
- [28] Stanley P. Y. Fung. Optimal online two-way trading with bounded number of transactions. Algorithmica, 81(11-12):4238–4257, 2019. doi:10.1007/S00453-018-00534-9.
- [29] Stanley P. Y. Fung. Online two-way trading: Randomization and advice. Theor. Comput. Sci., 856:41–50, 2021. doi:10.1016/J.TCS.2020.12.016.
- [30] Guillermo Gallego and Huseyin Topaloglu. Revenue Management and Pricing Analytics. Springer New York, NY, 2019.
- [31] Guillermo Gallego and Garrett J. van Ryzin. A multiproduct dynamic pricing problem and its applications to network yield management. Oper. Res., 45(1):24–41, 1997. doi:10.1287/OPRE.45.1.24.
- [32] Anupam Gupta and Marco Molinaro. How the experts algorithm can help solve lps online. Math. Oper. Res., 41(4):1404–1431, 2016. doi:10.1287/MOOR.2016.0782.
- [33] Stefanus Jasin. Reoptimization and self-adjusting price control for network revenue management. Oper. Res., 62(5):1168–1178, 2014. doi:10.1287/OPRE.2014.1297.
- [34] Thomas Kesselheim, Klaus Radke, Andreas Tönnis, and Berthold Vöcking. Primal beats dual on online packing lps in the random-order model. SIAM J. Comput., 47(5):1939–1964, 2018. doi:10.1137/15M1033708.
- [35] Ron Lavi and Chaitanya Swamy. Truthful and near-optimal mechanism design via linear programming. J. ACM, 58(6):25:1–25:24, 2011. doi:10.1145/2049697.2049699.
- [36] Stefano Leonardi and Alberto Marchetti-Spaccamela. On-line resource management with application to routing and scheduling. Algorithmica, 24(1):29–49, 1999. doi:10.1007/PL00009270.
- [37] Bin Li and Steven C. H. Hoi. Online portfolio selection: A survey. ACM Comput. Surv., 46(3):35:1–35:36, 2014. doi:10.1145/2512962.
- [38] Will Ma, Calum MacRury, and Jingwei Zhang. Online contention resolution schemes for network revenue management and combinatorial auctions. CoRR, abs/2403.05378, 2024. doi:10.48550/arXiv.2403.05378.
- [39] Yuhang Ma, Paat Rusmevichientong, Mika Sumida, and Huseyin Topaloglu. An approximation algorithm for network revenue management under nonstationary arrivals. Oper. Res., 68(3):834–855, 2020. doi:10.1287/OPRE.2019.1931.
- [40] Constantinos Maglaras and Joern Meissner. Dynamic pricing strategies for multiproduct revenue management problems. Manuf. Serv. Oper. Manag., 8(2):136–148, 2006. doi:10.1287/MSOM.1060.0105.
- [41] Roger B. Myerson and Mark A. Satterthwaite. Efficient mechanisms for bilateral trading. Journal of Economic Theory, 29(2):265–281, 1983.
- [42] Neel Patel and David Wajc. Combinatorial stationary prophet inequalities. In David P. Woodruff, editor, Proceedings of the 2024 ACM-SIAM Symposium on Discrete Algorithms, SODA 2024, Alexandria, VA, USA, January 7-10, 2024, pages 4605–4630. SIAM, 2024. doi:10.1137/1.9781611977912.164.
- [43] Surbhi Rajput, Ashish Chiplunkar, and Rohit Vaish. Trading prophets: How to trade multiple stocks optimally. In Proceedings of the SIAM Symposium on Simplicity in Algorithms (SOSA25), pages 238–252, 2025. doi:10.1137/1.9781611978315.19.
- [44] Tim Roughgarden, editor. Beyond the Worst-Case Analysis of Algorithms. Cambridge University Press, 2020.
