Linear Constraint Integer solving for a facility allocation problem
You'll need to install the solvers locally, depending on the one you want to use
conda config --add channels http://conda.anaconda.org/gurobi
conda install gurobi
conda config --add channels conda-forge
conda install gcg papilo scip soplex zimpl
python -m pip install pulp
Run with
python facility_location.py <filename> [solver_name] [relaxed "true" or "false"]
For example, to run the toy.txt problem, using the GUROBI solver, run
python facility_location.py toy.txt scip