StabiliPy is a Python package that provides a simple interface to compute static equilibrium polygons and robust static equilibrium polyhedrons.
This problem is a projection problem, and uses the recursive projection method to compute those regions. You can thus use this package to compute arbitrary convex projections by recursive projection.
The documentation is available at: https://stabilipy.readthedocs.io
This package is distributed under the GNU Lesser General Public License version 3 or above (LGPLv3+).
In order to install all possible backends use:
sudo apt-get install liblapack-dev libatlas-dev libblas-dev libgmp-dev libppl-dev
Followed by:
pip install cython && pip install -r requirements.txt
Then:
pip install .
Should do the trick !
Notes on the apt dependencies:
- You need LAPACK, Atlas and BLAS to install CVXOPT
- You need Cython to install pycddlib
- You need Cython, gmp, and the Parma Polyhedra Library to install pyparma
As for the python dependencies:
- If you are running Python 2, you need to install
enum34. Beware that this package may conflict with the regularenumpackage. - If you are running Python 3, you need to install
futurefor compatibility purposes. - You need
numpy,scipy,matplotlibandcvxoptto run the program. - It is recommended to install
pyparmaandpycddlibto access every backend.