Installation
Python versions¶
Flipy suports Python 3.6 and newer.
Dependencies¶
Flipy does not require any third party packages. However, to solve a linear programming problem, a linear solver is required.
Flipy currently supports Gurobi and CBC as the backend solver.
- CBC:
Flipy comes with a CBC solver so you don't have to do anything. However, if you want to user a different version of CBC, please set the environment variable
CBC_SOLVER_BINto the designated CBC solver executable. - Gurobi:
To use Gurobi, make sure you have a valid Gurobi license file, and
gurobipyis installed in your Python environment. You can find details from Gurobi's documentation.
Installation¶
The latest offical version of Flipy can be installed with pip:
pip install flipy
The latest development version can be get with Git.
git clone https://github.com/freewheel/flipy.git
cd flipy
python setup.py install