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 regularenum
package. - If you are running Python 3, you need to install
future
for compatibility purposes. - You need
numpy
,scipy
,matplotlib
andcvxopt
to run the program. - It is recommended to install
pyparma
andpycddlib
to access every backend.