polytope
polytope copied to clipboard
Geometric operations on polytopes of any dimension
In the author's own words: > This PR should really have a unit test that demonstrates the error in projection_interhull and its fix, but I need this for a fix...
The function `is_convex` has an inconsistent return type, returning either a boolean or a tuple. This causes the tuple unpacking at line 1226 to fail: https://github.com/tulip-control/polytope/blob/beadd1263adda6093c8ced3db1afd1a6ceeb069c/polytope/polytope.py#L1226 when either https://github.com/tulip-control/polytope/blob/beadd1263adda6093c8ced3db1afd1a6ceeb069c/polytope/polytope.py#L999-L1000 or...
I've added support for gurobipy in the solvers, and added a test that works fine. Let me know if you need anything else.
Bumps [numpy](https://github.com/numpy/numpy) from 1.18.1 to 1.22.0. Release notes Sourced from numpy's releases. v1.22.0 NumPy 1.22.0 Release Notes NumPy 1.22.0 is a big release featuring the work of 153 contributors spread...
The purpose of the function `region_diff()` is to remove a set of polytopes (a region, the subtrahend) from one polytope (the minuend). The result may be a single polytope if...
When attempting to construct the Minkowski sum of two [-1, 1]^3 cubes using the method described in [section 2 of this paper](https://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.87.4266&rep=rep1&type=pdf), I end up projecting a 6D polytope with...
Bumps [cvxopt](http://cvxopt.org) from 1.2.5 to 1.2.7. [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a...
Recently I discovered the `__repr__` function in python. It seems that it would be useful implement this function such that objects can be recreated from log outputs. http://stackoverflow.com/a/19597196
Add the Trove classifier and a CI test environment for Python 3.10. Make any changes to the package `polytope` that may be necessary in order to ensure compatibility with Python...
e.g. [here](https://wiki.python.org/moin/NumericAndScientific/Libraries), recommended after its overhaul, so that people will encounter the revised API the first time they try it.