Competitive Online Optimization under Inventory Constraints

Qiulin Lin, Hanling Yi, John Z. F. Pang, Minghua Chen, Adam Wierman, Michael L. Honig, Yuanzhang Xiao

Abstract

This paper introduces CR-Pursuit, a novel algorithmic framework designed for online optimization under inventory constraints (OOIC). By maintaining a fixed ratio relative to the cumulative revenue of an offline optimal player, CR-Pursuit achieves the optimal competitive ratio for deterministic algorithms. The framework extends beyond traditional linear models to accommodate concave revenue functions and price elasticity, providing a unified solution for diverse applications such as power grid management and online advertising.

1. Introduction

Online Optimization under Inventory Constraints (OOIC) represents a fundamental challenge in resource management. Consider an airline with a fixed number of seats to sell over a finite horizon. Customers arrive sequentially, and the seller must decide whether to accept or reject an offer without knowing future demand or prices. This creates a temporal "entanglement": every unit of inventory sold today reduces the capacity to capture potentially higher revenue in the future. Conversely, holding inventory for high-paying customers who never arrive results in wasted capacity.

While specific instances of this problem, such as the "one-way trading" problem, have been studied extensively, existing solutions often struggle with non-linear revenue functions or complex constraints. This paper addresses these gaps by proposing a unified, optimal framework for deterministic online decision-making.

2. The CR-Pursuit Framework

The authors propose CR-Pursuit($\pi$), an algorithm characterized by its elegant simplicity and focus on the competitive ratio ($\pi$). The algorithm operates by "pursuing" a specific fraction of the revenue that an offline optimal player—one with perfect hindsight—would have earned up to that point.

2.1 Algorithmic Logic

At each time step $t$, the algorithm performs the following steps:

  1. Observation: It reviews the sequence of revenue functions or prices encountered from the start until time $t$.
  2. Hindsight Optimization: It calculates the total revenue an offline optimal player would have achieved given that specific history.
  3. Inventory Allocation: It selects a quantity $v_t$ to sell such that its cumulative revenue is exactly $1/\pi$ of the offline optimal's cumulative revenue.

To ensure the algorithm never exhausts its inventory prematurely, the authors derive a characteristic equation. This mathematical tool allows for the calculation of the smallest possible $\pi$ (the competitive ratio) that remains feasible across all possible future scenarios.

3. Key Insights and Theoretical Contributions

3.1 From Linear to Concave Revenue

A significant contribution of this work is the extension of OOIC theory to concave revenue functions. Traditional models often assume linear revenue (price $\times$ quantity). However, real-world scenarios involve price elasticity, where selling larger quantities typically requires lowering the price, leading to diminishing marginal returns. CR-Pursuit is the first framework to provide optimal guarantees for these more realistic, non-linear settings.

3.2 Unification of Problems

The authors demonstrate that CR-Pursuit serves as a general solution for a wide array of problems. By modeling disparate tasks—ranging from smart grid energy storage to online ad bidding—under the OOIC umbrella, the paper provides a single, robust theoretical foundation for what were previously treated as distinct challenges.

3.3 The Role of the Price Ratio ($\theta$)

The performance of online algorithms in this space is fundamentally limited by the dynamic range of the market, defined as $\theta = M/m$, where $M$ and $m$ are the maximum and minimum possible prices, respectively. The paper confirms that the competitive ratio scales logarithmically with this factor ($\ln \theta + 1$).

4. Results and Optimality

The paper establishes that CR-Pursuit is the optimal deterministic algorithm for OOIC. No other deterministic strategy can guarantee a better competitive ratio against an adversarial market.

Key quantitative results include:

  • General Concavity: For general concave functions, the algorithm achieves a competitive ratio $\pi^*$ that is within a constant factor of $\ln \theta + 1$.
  • Price Elasticity: In the specific context of one-way trading with price elasticity, CR-Pursuit achieves a ratio of approximately $\ln \theta + 4/3$. This result significantly narrows the gap between the theoretical lower bound and practical algorithmic performance.
  • Analytical Simplification: Beyond providing new results, the framework simplifies the proofs for existing state-of-the-art results in standard one-way trading, offering a cleaner and more intuitive path to optimality.

5. Discussion and Future Work

While CR-Pursuit provides optimal worst-case guarantees, its inherent pessimism is a notable limitation. Because the algorithm assumes an adversarial environment, it may behave too conservatively in average-case or "friendly" market conditions.

Future research directions include:

  • Adaptive Ratios: Developing versions of CR-Pursuit that can adaptively lower the ratio $\pi$ if the market appears non-adversarial, thereby capturing more revenue in typical scenarios.
  • Randomized Strategies: Investigating whether randomized algorithms can surpass the deterministic lower bound of $\ln \theta + 1$ in the concave revenue setting.

In conclusion, CR-Pursuit offers a powerful, unified, and mathematically rigorous approach to inventory-constrained online optimization, bridging the gap between theoretical optimality and practical non-linear revenue models.

Summary updated

BibTeX
@article{lin2019competitive,
  author = {Qiulin Lin and Hanling Yi and John Z. F. Pang and Minghua Chen and Adam Wierman and Michael L. Honig and Yuanzhang Xiao},
  title = {{Competitive Online Optimization under Inventory Constraints}},
  journal = {Proc. ACM Meas. Anal. Comput. Syst.},
  year = {2019},
  doi = {10.1145/3322205.3311081},
}
Figure