Skip to content

rzimmerdev/linear-programming

Repository files navigation

progmat-2023

Linear Constraint Integer solving for a facility allocation problem

Installation

You'll need to install the solvers locally, depending on the one you want to use

Using Conda for Solvers

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

Install pulp

python -m pip install pulp

Usage

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

About

Linear Constraint Integer solving for a facility allocation problem

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages