Getting started
Installation
This package requires that you have python 3.7+ installed and it is recommended you use a virtual environment. To install this package you need to:
1. clone this repo
git clone git@github.com:bsgip/echo.git
2. go into echo directory
cd echo
3. with your virtual environment active install using pip
pip install --group all .
Note
This package is not on pypi. Doing pip install echo will NOT install this package. It will install a different package.
Solver executable
echo uses pyomo module to solve optimisation problems and thus needs at least one solver package installed.
The following solvers can be used.
Free for academic use only
CPLEX (recommended): This has been tested the most. It requires a license but is free for academic users. To install, follow instructions IBM website.
GUROBI: Minimal testing: It requires a license but is free for academic users. Check gurobi website for instructions on installing.
Open source
CBC: This solver can be used provided you only include linear costs (no quadratic costs or regularisation). Information on the solver is available here. For installing on ubuntu run
sudo apt-get install -y coinor-cbc1