Skip to main content
QUICK REVIEW

[Paper Review] An experimental analysis of Lemke-Howson algorithm

Bruno Codenotti, Stefano Rossi|ArXiv.org|Nov 20, 2008
Opinion Dynamics and Social InfluencePhysics and Astronomy17 references14 citations
TL;DR

This paper presents a novel heuristic enhancement to the Lemke-Howson algorithm for computing Nash equilibria in bimatrix games, significantly improving performance on uniformly random games by limiting pivot path length and reinitializing from each pivot. The key contribution is a linear-time average-case complexity (vs. degree-7 polynomial for standard Lemke-Howson), enabling efficient computation in games up to 1000×1000 size.

ABSTRACT

We present an experimental investigation of the performance of the Lemke-Howson algorithm, which is the most widely used algorithm for the computation of a Nash equilibrium for bimatrix games. Lemke-Howson algorithm is based upon a simple pivoting strategy, which corresponds to following a path whose endpoint is a Nash equilibrium. We analyze both the basic Lemke-Howson algorithm and a heuristic modification of it, which we designed to cope with the effects of a 'bad' initial choice of the pivot. Our experimental findings show that, on uniformly random games, the heuristics achieves a linear running time, while the basic Lemke-Howson algorithm runs in time roughly proportional to a polynomial of degree seven. To conduct the experiments, we have developed our own implementation of Lemke-Howson algorithm, which turns out to be significantly faster than state-of-the-art software. This allowed us to run the algorithm on a much larger set of data, and on instances of much larger size, compared with previous work.

Motivation & Objective

  • To evaluate the empirical performance of the Lemke-Howson algorithm on large-scale bimatrix games, where prior studies were limited by implementation efficiency.
  • To address the computational inefficiency caused by poor pivot choices in the standard Lemke-Howson algorithm, which can lead to long path lengths.
  • To design and implement a memory-efficient heuristic that reduces average running time while maintaining correctness and scalability.
  • To demonstrate that the heuristic achieves linear average runtime on uniformly random games, contrasting with the polynomial (degree ~7) scaling of the standard algorithm.

Proposed method

  • Developed a custom, highly optimized implementation of the Lemke-Howson algorithm, outperforming existing state-of-the-art software in speed and scalability.
  • Proposed a novel heuristic that limits the number of pivoting steps per initial pivot (capping parameter), restarting the algorithm from each of the 2n possible pivots up to the cap value.
  • If no equilibrium is found within the cap steps across all pivots, the algorithm performs a full Lemke-Howson run from the last pivot.
  • The heuristic maintains only one tableau at a time, ensuring memory usage remains at the level of the standard algorithm, unlike prior multi-path approaches.
  • Used a capping parameter (optimized at ~10 steps) to balance early termination probability and path length, minimizing average computation time.
  • Conducted extensive experiments on uniformly random games of increasing size (up to 1000×1000), measuring average pivoting steps and termination probability.

Experimental results

Research questions

  • RQ1How does the average running time of the standard Lemke-Howson algorithm scale with game size in uniformly random bimatrix games?
  • RQ2Can a heuristic modification of the Lemke-Howson algorithm reduce the average number of pivoting steps while maintaining correctness and low memory usage?
  • RQ3What is the optimal capping value for the heuristic that minimizes average computation time across different game sizes?
  • RQ4How does the probability of requiring the final pivot (i.e., full Lemke-Howson run) vary with the capping parameter in large games?
  • RQ5To what extent does the heuristic enable computation of equilibria in games beyond the practical limits of the standard algorithm?

Key findings

  • The standard Lemke-Howson algorithm exhibits an average running time roughly proportional to a polynomial of degree 7 with respect to game size, as shown in Figure 2.
  • The proposed heuristic achieves linear average running time on uniformly random games, with the average number of pivoting steps increasing linearly with game size.
  • The optimal capping value for the heuristic is approximately 10 steps, and this value remains stable across different game sizes, as confirmed by extended analysis.
  • For 100×100 games, the probability of needing to execute the full Lemke-Howson algorithm (i.e., reaching the last pivot) drops below 1% when the capping value exceeds 20.
  • The heuristic enables computation of equilibria in games of size up to 1000×1000 within reasonable time, whereas the standard algorithm is limited to games of size a few hundred.
  • The distribution of steps for the heuristic is similar to that of the standard algorithm but less sparse and non-monotonic, reflecting the aggregation of multiple short feasible paths from different pivots.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.