gambitproject / gambit

Gambit: The package for computation in game theory
http://www.gambit-project.org
GNU General Public License v2.0
406 stars 151 forks source link

FEAT: Ensure that all Nash equilibrium methods are callable as a function in Python #342

Closed tturocy closed 1 year ago

tturocy commented 1 year ago

All Nash equilibrium methods should be callable as a function, in both C++ and Python.

tturocy commented 1 year ago

This is now complete, with the signal exception of enumpoly_solve. This is something of a more thorny set of issues to unpick, and as such #376 picks this up with a more detailed discussion; for 16.1 at least we won't expose this method in pygambit.

In C++, Nash algorithms all now have interfaces with functions, so using the classes directly is no longer required. However, the command-line tool interfaces have not been migrated. As we progress and look at each method individually, we will refactor the C++ implementations accordingly.