haudren / stabilipy

Computation of stability polyhedrons via recursive projection and cone programming

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

StabiliPy

Build Status Doc Status

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+).

Installation

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

About

Computation of stability polyhedrons via recursive projection and cone programming

License:GNU Lesser General Public License v3.0


Languages

Language:Python 100.0%