Skip to content

Releases: tulip-control/polytope

v0.2.5

07 Mar 07:05
Compare
Choose a tag to compare

Get it at https://pypi.org/project/polytope

Summary of changes

  • support matplotlib >= 3.6.0
  • correct cases of infinite bounding box and empty polytope; #89

v0.2.4

29 Aug 08:11
Compare
Choose a tag to compare

Get it at https://pypi.org/project/polytope

Summary of changes

  • REL: require Python >= 3.8
  • REL: require:
    • networkx >= 3.0
    • numpy >= 1.24.1
    • scipy >= 1.10.0
    • setuptools >= 65.5.1
  • REL: extra require: cvxopt == 1.3.0
  • TST: require pytest >= 7.2.1, instead of nose, 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, seed to function polytope.polytope.volume()
  • replace certain assert statements with raise statements, raising ValueError or AssertionError

v0.2.3

25 Nov 14:04
Compare
Choose a tag to compare
  • require cvxopt == 1.2.5 in requirements/extras.txt to support Python 3.9

v0.2.2

27 Mar 16:17
Compare
Choose a tag to compare
  • customizable plotting in methods Polytope.plot and Region.plot

v0.2.1

25 Nov 03:21
Compare
Choose a tag to compare
  • rename method to Polytope.contains, was are_inside
  • add method contains to Region
  • deprecate function polytope.is_inside,
    use in and contains instead
  • add arg solver to function lpsolve
  • refactor by introducing new module solvers
  • support MOSEK as solver, via function cvxopt.solvers.lp
  • require numpy >= 1.10.0
  • require matplotlib >= 2.0.0 for tests

v0.2.0

08 Jul 02:15
Compare
Choose a tag to compare
  • negate numpy.array with operator ~

v0.1.4

07 May 00:48
Compare
Choose a tag to compare
  • classes polytope.Polytope, polytope.Region:
    • add methods translation, rotation
  • require setuptools >= 23.0.0
  • require numpy >= 1.7.1
  • require scipy >= 0.18.0

v0.1.3

01 Sep 07:04
Compare
Choose a tag to compare
  • support Python 3
  • silence cvxopt >= 1.1.8

v0.1.2

10 Aug 22:56
Compare
Choose a tag to compare
  • require scipy >= 0.16
  • use scipy.optimize.linprog if cvxopt.glpk fails to import
  • PEP440-compliant version identifier vX.Y.Z.dev0+commithash
  • test on Travis CI

v0.1.1

10 Aug 22:57
Compare
Choose a tag to compare
  • silence GLPK solver's output in cvxopt
  • version that includes commit hash, when available
  • define version in polytope/version.py