- REL: require
cvxopt == 1.3.3inrequirements/extras.txt
- support
matplotlib >= 3.6.0 - correct cases of infinite bounding box and empty polytope; #89
- REL: require Python >= 3.8
- REL: require:
networkx >= 3.0numpy >= 1.24.1scipy >= 1.10.0setuptools >= 65.5.1
- REL: extra require:
cvxopt == 1.3.0 - TST: require
pytest >= 7.2.1, instead ofnose, for Python >= 3.10 compatibility - CI: test using GitHub Actions
API:
- add function
polytope.polytope.enumerate_integral_points() - always recompute the volume when calling the
function
polytope.polytope.volume() - add parameters
nsamples,seedto functionpolytope.polytope.volume() - replace certain
assertstatements withraisestatements, raisingValueErrororAssertionError
- require
cvxopt == 1.2.5inrequirements/extras.txtto support Python 3.9
- customizable plotting in methods
Polytope.plotandRegion.plot
- rename method to
Polytope.contains, wasare_inside - add method
containstoRegion - deprecate function
polytope.is_inside, useinandcontainsinstead - add arg
solverto functionlpsolve - refactor by introducing new module
solvers - support MOSEK as solver, via function
cvxopt.solvers.lp - require
numpy >= 1.10.0 - require
matplotlib >= 2.0.0for tests
- negate
numpy.arraywith operator~
- classes
polytope.Polytope,polytope.Region:- add methods
translation,rotation
- add methods
- require
setuptools >= 23.0.0 - require
numpy >= 1.7.1 - require
scipy >= 0.18.0
- support Python 3
- silence
cvxopt >= 1.1.8
- require
scipy >= 0.16 - use
scipy.optimize.linprogifcvxopt.glpkfails to import - PEP440-compliant version identifier
vX.Y.Z.dev0+commithash - test on Travis CI
- silence GLPK solver's output in
cvxopt - version that includes commit hash, when available
- define version in
polytope/version.py
This initial release has very few changes since its break from TuLiP, and is primarily intended to provide a reference version that easily integrates with legacy code developed assuming polytope is a part of TuLiP.