Installation#
The Anaconda distribution is needed to have some of opyrability’s dependencies.
From PyPI/conda (Windows, Linux and macOS):#
The following commands will install opyrability and all dependencies on any OS (Windows, Linux and macOS):
pip install opyrability
Then install Cyipopt from conda:
conda install -c conda-forge cyipopt
From conda (Linux and macOS only):#
The single command below will install opyrability and all requirements/dependencies on Linux/macOS operating systems automatically:
conda install -c codes-group -c conda-forge opyrability
Using in a Google Colab environment:#
You can set up opyrability in your Google Colab session as follows:
!pip install -q condacolab
import condacolab
condacolab.install()
!conda install -c codes-group -c conda-forge opyrability
Dependencies#
Opyrability is allowed to exist thanks to the following libraries that are dependencies:
Numpy - Linear Algebra.
Scipy - Scientific computing in Python.
Polytope - Computational Geometry.
matplotlib - 2D/3D Plots.
tqdm - Fancy progress bars (why not?).
CVXOPT - Linear programming, allowing access to GLPK in Python.
cyipopt - IPOPT wrapper in Python for nonlinear programming.
JAX - JAX for automatic differentiation!