Skip to content

Commit

Permalink
Implement PHCpack-based backend for solving polynomial systems.
Browse files Browse the repository at this point in the history
This extends `enumpoly_solve` with the option to use `PHCpack` [1]_
to solve the systems of polynomial equations.

Closes #165.

.. [1] https://homepages.math.uic.edu/~jan/PHCpack/phcpack.html
  • Loading branch information
tturocy committed Oct 17, 2024
1 parent cbd942f commit d7d6c0f
Show file tree
Hide file tree
Showing 16 changed files with 315 additions and 874 deletions.
3 changes: 3 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@
of supports to search.
- `to_arrays` converts a `Game` to a list of `numpy` arrays containing its reduced strategic form.
(#461)
- Integrated support (in Python) for using `PHCpack` to solve systems of polynomial equations in
`enumpoly_solve` based on an implementation formerly in the `contrib` section of the
repository. (#165)

### Fixed
- When parsing .nfg files, check that the number of outcomes or payoffs is the expected number,
Expand Down
2 changes: 0 additions & 2 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@
## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
##

SUBDIRS = contrib

ACLOCAL_AMFLAGS = -I m4

EXTRA_DIST = \
Expand Down
5 changes: 1 addition & 4 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -145,8 +145,5 @@ AC_SUBST(WX_CXXFLAGS)
REZFLAGS=`echo $CXXFLAGS $WX_CXXFLAGS | sed 's/-mthreads//g' | sed 's/-g//g' | sed 's/-O. / /g' | sed 's/-I/--include-dir /g'`
AC_SUBST(REZFLAGS)

AC_CONFIG_FILES([Makefile
contrib/Makefile
contrib/scripts/Makefile
contrib/scripts/enumpoly/Makefile])
AC_CONFIG_FILES([Makefile])
AC_OUTPUT
23 changes: 0 additions & 23 deletions contrib/Makefile.am

This file was deleted.

25 changes: 0 additions & 25 deletions contrib/scripts/Makefile.am

This file was deleted.

15 changes: 0 additions & 15 deletions contrib/scripts/enumpoly/Makefile.am

This file was deleted.

111 changes: 0 additions & 111 deletions contrib/scripts/enumpoly/README

This file was deleted.

40 changes: 0 additions & 40 deletions contrib/scripts/enumpoly/countsupport.py

This file was deleted.

Loading

0 comments on commit d7d6c0f

Please sign in to comment.