# A (2/3)n3 fast-pivoting algorithm for the Gittins index and optimal stopping of a Markov chain

arXiv: https://arxiv.org/abs/2304.01840 · HTML: https://mlsanity.com/paper/2304.01840/

## Key facts

- Cited by 1 papers in the map (data through 14 Oct 2026).
- First posted on arXiv 4 Apr 2023.

## Built on by (most cited first, 1 of 1)

- [Risk-Aware Decision Making in Restless Bandits: Theory and Algorithms for Planning and Learning](https://mlsanity.com/paper/2410.23029/) (2024)

## Abstract (arXiv)

This paper presents a new fast-pivoting algorithm that computes the n Gittins index values of an n-state bandit -- in the discounted and undiscounted cases -- by performing (2/3) n3 + O(n2) arithmetic operations, thus attaining better complexity than previous algorithms and matching that of solving a corresponding linear-equation system by Gaussian elimination. The algorithm further applies to the problem of optimal stopping of a Markov chain, for which a novel Gittins-index solution approach is introduced. The algorithm draws on Gittins and Jones' (1974) index definition via calibration, on Kallenberg's (1986) proposal of using parametric linear programming, on Dantzig's simplex method, on Varaiya et al.'s (1985) algorithm, and on the author's earlier work. The paper elucidates the structure of parametric simplex tableaux. Special structure is exploited to reduce the computational effort of pivot steps, decreasing the operation count by a factor of three relative to using conventional pivoting, and by a factor of 3/2 relative to recent state-elimination algorithms. A computational study demonstrates significant time savings against alternative algorithms.
