Skip to main content
Ctrl+K

lemke documentation

  • API reference
  • File formats
  • GitHub
  • API reference
  • File formats
  • GitHub

lemke#

lemke is a pure Python implementation of Lemke’s algorithm for linear complementarity problems (LCPs), including its application to computing a Nash equilibrium of a bimatrix game.

Installation#

pip install git+https://github.com/gambitproject/lemke.git
  • API reference
    • lemke.lemke
    • lemke.bimatrix
    • lemke.randomstart
    • lemke.utils
    • lemke.columnprint
  • File formats
    • Common rules
    • LCP files
    • Bimatrix files

next

API reference

On this page
  • Installation
Show Source

© Copyright 2026, Bernhard von Stengel.

Created using Sphinx 9.1.1.

Built with the PyData Sphinx Theme 0.23.0.