Skip to content

Commit

Permalink
Update version to 16.3.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
tturocy committed Jan 13, 2025
1 parent 010dfb9 commit 0319f70
Show file tree
Hide file tree
Showing 21 changed files with 34 additions and 38 deletions.
2 changes: 1 addition & 1 deletion ChangeLog
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Changelog

## [16.3.0] - unreleased
## [16.3.0] - 2025-01-13

### General
- Dropped support for Python 3.8.
Expand Down
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ dnl along with this program; if not, write to the Free Software
dnl Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
dnl

AC_INIT([gambit],[16.2.1])
AC_INIT([gambit],[16.3.0])
AC_CONFIG_SRCDIR([src/gambit.h])
AM_INIT_AUTOMAKE([subdir-objects foreign])
dnl AC_CONFIG_MACRO_DIR([m4])
Expand Down
8 changes: 4 additions & 4 deletions contrib/mac/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>16.2.0</string>
<string>16.3.0</string>
<key>CFBundleShortVersionString</key>
<string>16.2.0</string>
<string>16.3.0</string>
<key>CFBundleGetInfoString</key>
<string>Gambit version 16.2.1, (c) 1994-2025 The Gambit Project</string>
<string>Gambit version 16.3.0, (c) 1994-2025 The Gambit Project</string>
<key>CFBundleLongVersionString</key>
<string>16.2.1, (c) 1994-2025 The Gambit Project</string>
<string>16.3.0, (c) 1994-2025 The Gambit Project</string>
<key>NSHumanReadableCopyright</key>
<string>Copyright 1994-2025 The Gambit Project</string>
<key>LSRequiresCarbon</key>
Expand Down
4 changes: 2 additions & 2 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@
# built documents.
#
# The short X.Y version.
version = "16.2"
version = "16.3"
# The full version, including alpha/beta/rc tags.
release = "16.2.1"
release = "16.3.0"

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down
2 changes: 1 addition & 1 deletion doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ made.
If you are citing Gambit in a paper, we suggest a citation of the form:

Savani, Rahul and Turocy, Theodore L. (2025)
Gambit: The package for computation in game theory, Version 16.2.1.
Gambit: The package for computation in game theory, Version 16.3.0.
https://www.gambit-project.org.

Replace the version number and year as appropriate if you use a
Expand Down
10 changes: 5 additions & 5 deletions doc/pygambit.user.rst
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ the values are recorded as intended.
Reading a game from a file
~~~~~~~~~~~~~~~~~~~~~~~~~~

Games stored in existing Gambit savefiles can be loaded using :meth:`.Game.read_game`:
Games stored in existing Gambit savefiles can be loaded using :meth:`.read_efg` or :meth:`.read_nfg`:

.. ipython:: python
:suppress:
Expand All @@ -325,7 +325,7 @@ Games stored in existing Gambit savefiles can be loaded using :meth:`.Game.read_
.. ipython:: python
g = gbt.Game.read_game("e02.nfg")
g = gbt.read_nfg("e02.nfg")
g
.. ipython:: python
Expand Down Expand Up @@ -363,7 +363,7 @@ the extensive representation. Assuming that ``g`` refers to the game
.. ipython:: python
:suppress:
g = gbt.Game.read_game("poker.efg")
g = gbt.read_efg("poker.efg")
.. ipython:: python
Expand Down Expand Up @@ -562,7 +562,7 @@ As an example, consider solving the standard one-card poker game using

.. ipython:: python
g = gbt.Game.read_game("poker.efg")
g = gbt.read_efg("poker.efg")
g.max_payoff, g.min_payoff
:py:func:`.logit_solve` is a globally-convergent method, in that it computes a
Expand Down Expand Up @@ -646,7 +646,7 @@ strategies for each player), :py:func:`.liap_solve` finds one of the totally-mix

.. ipython:: python
g = gbt.Game.read_game("2x2x2.nfg")
g = gbt.read_nfg("2x2x2.nfg")
gbt.nash.liap_solve(g.mixed_strategy_profile())
Which equilibrium is found depends on the starting point. With a different starting point,
Expand Down
4 changes: 2 additions & 2 deletions doc/tools.convert.rst
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Example invocation for HTML output::

$ gambit-convert -O html 2x2.nfg
Convert games among various file formats
Gambit version 16.2.0, Copyright (C) 1994-2024, The Gambit Project
Gambit version 16.3.0, Copyright (C) 1994-2025, The Gambit Project
This is free software, distributed under the GNU GPL

<center><h1>Two person 2 x 2 game with unique mixed equilibrium</h1></center>
Expand All @@ -55,7 +55,7 @@ Example invocation for LaTeX output::

$ gambit-convert -O sgame 2x2.nfg
Convert games among various file formats
Gambit version 16.2.0, Copyright (C) 1994-2024, The Gambit Project
Gambit version 16.3.0, Copyright (C) 1994-2025, The Gambit Project
This is free software, distributed under the GNU GPL

\begin{game}{2}{2}[Player 1][Player 2]
Expand Down
8 changes: 2 additions & 6 deletions doc/tools.enummixed.rst
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,7 @@ in Figure 2 of Selten (International Journal of Game Theory,

$ gambit-enummixed e02.nfg
Compute Nash equilibria by enumerating extreme points
Gambit version 16.2.0, Copyright (C) 1994-2024, The Gambit Project
Enumeration code based on lrslib 4.2b,
Copyright (C) 1995-2005 by David Avis ([email protected])
Gambit version 16.3.0, Copyright (C) 1994-2025, The Gambit Project
This is free software, distributed under the GNU GPL

NE,1,0,0,1,0
Expand All @@ -84,9 +82,7 @@ information using the `-c` switch::

$ gambit-enummixed -c e02.nfg
Compute Nash equilibria by enumerating extreme points
Gambit version 16.2.0, Copyright (C) 1994-2024, The Gambit Project
Enumeration code based on lrslib 4.2b,
Copyright (C) 1995-2005 by David Avis ([email protected])
Gambit version 16.3.0, Copyright (C) 1994-2025, The Gambit Project
This is free software, distributed under the GNU GPL

NE,1,0,0,1,0
Expand Down
2 changes: 1 addition & 1 deletion doc/tools.enumpoly.rst
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ Computing equilibria of the strategic game :download:`e01.nfg

$ gambit-enumpoly e01.nfg
Compute Nash equilibria by solving polynomial systems
Gambit version 16.2.0, Copyright (C) 1994-2024, The Gambit Project
Gambit version 16.3.0, Copyright (C) 1994-2025, The Gambit Project
This is free software, distributed under the GNU GPL

NE,1.000000,0.000000,1.000000,0.000000,0.000000,1.000000
Expand Down
6 changes: 3 additions & 3 deletions doc/tools.enumpure.rst
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ Computing the pure-strategy equilibria of extensive game :download:`e02.efg

$ gambit-enumpure e02.efg
Search for Nash equilibria in pure strategies
Gambit version 16.2.0, Copyright (C) 1994-2024, The Gambit Project
Gambit version 16.3.0, Copyright (C) 1994-2025, The Gambit Project
This is free software, distributed under the GNU GPL

NE,1,0,0,0,1,0
Expand All @@ -77,7 +77,7 @@ strategies::

$ gambit-enumpure -S e02.efg
Search for Nash equilibria in pure strategies
Gambit version 16.2.0, Copyright (C) 1994-2024, The Gambit Project
Gambit version 16.3.0, Copyright (C) 1994-2025, The Gambit Project
This is free software, distributed under the GNU GPL

NE,1,0,0,1,0
Expand All @@ -88,7 +88,7 @@ only one information set; therefore the set of solutions is larger::

$ gambit-enumpure -A e02.efg
Search for Nash equilibria in pure strategies
Gambit version 16.2.0, Copyright (C) 1994-2024, The Gambit Project
Gambit version 16.3.0, Copyright (C) 1994-2025, The Gambit Project
This is free software, distributed under the GNU GPL

NE,1,0,1,0,1,0
Expand Down
2 changes: 1 addition & 1 deletion doc/tools.gnm.rst
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ the reduced strategic form of the example in Figure 2 of Selten
$ gambit-gnm e02.nfg
Compute Nash equilibria using a global Newton method
Gametracer version 0.2, Copyright (C) 2002, Ben Blum and Christian Shelton
Gambit version 16.2.0, Copyright (C) 1994-2024, The Gambit Project
Gambit version 16.3.0, Copyright (C) 1994-2025, The Gambit Project
This is free software, distributed under the GNU GPL

NE,1,0,2.99905e-12,0.5,0.5
Expand Down
2 changes: 1 addition & 1 deletion doc/tools.ipa.rst
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ the reduced strategic form of the example in Figure 2 of Selten
$ gambit-ipa e02.nfg
Compute Nash equilibria using iterated polymatrix approximation
Gametracer version 0.2, Copyright (C) 2002, Ben Blum and Christian Shelton
Gambit version 16.2.0, Copyright (C) 1994-2024, The Gambit Project
Gambit version 16.3.0, Copyright (C) 1994-2025, The Gambit Project
This is free software, distributed under the GNU GPL

NE,1.000000,0.000000,0.000000,1.000000,0.000000
Expand Down
2 changes: 1 addition & 1 deletion doc/tools.lcp.rst
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ Computing an equilibrium of extensive game :download:`e02.efg

$ gambit-lcp e02.efg
Compute Nash equilibria by solving a linear complementarity program
Gambit version 16.2.0, Copyright (C) 1994-2024, The Gambit Project
Gambit version 16.3.0, Copyright (C) 1994-2025, The Gambit Project
This is free software, distributed under the GNU GPL

NE,1,0,1/2,1/2,1/2,1/2
2 changes: 1 addition & 1 deletion doc/tools.liap.rst
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ Computing an equilibrium in mixed strategies of :download:`e02.efg

$ gambit-liap e02.nfg
Compute Nash equilibria by minimizing the Lyapunov function
Gambit version 16.2.0, Copyright (C) 1994-2024, The Gambit Project
Gambit version 16.3.0, Copyright (C) 1994-2025, The Gambit Project
This is free software, distributed under the GNU GPL

NE, 0.998701, 0.000229, 0.001070, 0.618833, 0.381167
2 changes: 1 addition & 1 deletion doc/tools.logit.rst
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ in Figure 2 of Selten (International Journal of Game Theory,

$ gambit-logit e02.nfg
Compute a branch of the logit equilibrium correspondence
Gambit version 16.2.0, Copyright (C) 1994-2024, The Gambit Project
Gambit version 16.3.0, Copyright (C) 1994-2025, The Gambit Project
This is free software, distributed under the GNU GPL

0.000000,0.333333,0.333333,0.333333,0.5,0.5
Expand Down
2 changes: 1 addition & 1 deletion doc/tools.lp.rst
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ strategies each, with a unique equilibrium in mixed strategies::

$ gambit-lp 2x2const.nfg
Compute Nash equilibria by solving a linear program
Gambit version 16.2.0, Copyright (C) 1994-2024, The Gambit Project
Gambit version 16.3.0, Copyright (C) 1994-2025, The Gambit Project
This is free software, distributed under the GNU GPL

NE,1/3,2/3,1/3,2/3
2 changes: 1 addition & 1 deletion doc/tools.simpdiv.rst
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ Computing an equilibrium in mixed strategies of :download:`e02.efg

$ gambit-simpdiv e02.nfg
Compute Nash equilibria using simplicial subdivision
Gambit version 16.2.0, Copyright (C) 1994-2024, The Gambit Project
Gambit version 16.3.0, Copyright (C) 1994-2025, The Gambit Project
This is free software, distributed under the GNU GPL

NE,1,0,0,1,0
2 changes: 1 addition & 1 deletion gambit.wxs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
<Product Id="8EE11AE3-2B91-4870-895B-44C46D648BD6" Name="Gambit 16" Language="1033" Version="16.2.1" Manufacturer="The Gambit Project" UpgradeCode="135FFB28-DA7C-427C-A3DA-783B805BCC22">
<Product Id="8EE11AE3-2B91-4870-895B-44C46D648BD6" Name="Gambit 16" Language="1033" Version="16.3.0" Manufacturer="The Gambit Project" UpgradeCode="135FFB28-DA7C-427C-A3DA-783B805BCC22">
<Package Description="Gambit" Comments="Software Tools for Game Theory" InstallerVersion="200" Compressed="yes" />
<Media Id="1" Cabinet="gambit.cab" EmbedCab="yes" />

Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#
# This file is part of Gambit
# Copyright (c) 1994-2023, The Gambit Project (http://www.gambit-project.org)
# Copyright (c) 1994-2025, The Gambit Project (https://www.gambit-project.org)
#
# FILE: src/python/setup.py
# Setuptools configuration file for Gambit Python extension
Expand Down Expand Up @@ -125,7 +125,7 @@ def readme():
license="GPL2+",
author="Theodore Turocy",
author_email="[email protected]",
url="http://www.gambit-project.org",
url="https://www.gambit-project.org",
project_urls={
"Documentation": "https://gambitproject.readthedocs.io/",
"Source": "https://github.com/gambitproject/gambit",
Expand Down
2 changes: 1 addition & 1 deletion src/pygambit/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@
supports, # noqa: F401
)

__version__ = "16.2.1"
__version__ = "16.3.0"
2 changes: 1 addition & 1 deletion src/pygambit/game.pxi
Original file line number Diff line number Diff line change
Expand Up @@ -651,7 +651,7 @@ class Game:
if self.is_tree:
return repr(self)
else:
return self.write("html")
return self.to_html()

def __eq__(self, other: typing.Any) -> bool:
return (
Expand Down

0 comments on commit 0319f70

Please sign in to comment.