polytope

Geometric operations on polytopes of any dimension

OTHER License

Downloads
6.5K
Stars
74
Committers
14
polytope - v0.2.5 Latest Release

Published by slivingston 8 months ago

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

Summary of changes

polytope - v0.2.4

Published by slivingston about 1 year ago

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
polytope - v0.2.3

Published by johnyf almost 4 years ago

  • require cvxopt == 1.2.5 in requirements/extras.txt to support Python 3.9
polytope - v0.2.2

Published by johnyf over 4 years ago

  • customizable plotting in methods Polytope.plot and Region.plot
polytope - v0.2.1

Published by johnyf almost 7 years ago

  • 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
polytope - v0.2.0

Published by johnyf over 7 years ago

  • negate numpy.array with operator ~
polytope - v0.1.4

Published by johnyf over 7 years ago

  • classes polytope.Polytope, polytope.Region:
    • add methods translation, rotation
  • require setuptools >= 23.0.0
  • require numpy >= 1.7.1
  • require scipy >= 0.18.0
polytope - v0.1.3

Published by johnyf about 8 years ago

  • support Python 3
  • silence cvxopt >= 1.1.8
polytope -

Published by johnyf about 8 years ago

  • silence GLPK solver's output in cvxopt
  • version that includes commit hash, when available
  • define version in polytope/version.py
polytope -

Published by johnyf about 8 years ago

  • 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
polytope -

Published by johnyf over 10 years ago

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.