Download and Installation
The package is available in the Python Package Index. The latest development version is available on GitHub.
Dependencies
The implementation requires SymPy, Numpy, Scipy, and NetworkX. The code is only compatible with Python 3. It is recommended to install Numba which provides just-in-time compilation of several core functions, yielding a significant speed-up.
Generated relaxations can be exported in SDPA format, which can be loaded with other solvers. We also support the use of the MOSEK solver for efficiently solving the relaxation (MOSEK has free academic licenses). The MOSEK Python package needs to be installed. Future updates will include exporting to other solver interfaces, such as CVXPY, PICOS or YALMIP.
Installation
Follow the standard procedure for installing Python modules:
$ pip install inflation
or
$ pip install git+https://github.com/ecboghiu/inflation.git@main
If you use the development version, you can download the source code from the GitHub repository and run
$ python setup.py install
in the downloaded folder.