jainmohit2001 / simplex

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

2-Phase Simplex LP Solver

Installation

  • Requirements:
    • python>=3.9.0
  • Create a virtualenv and activate it.
pip install virtualenv
virtualenv venv

# On Windows:
venv/Scripts/activate
# On Linux:
source venv/bin/activate
  • Install the requirements using pip command:
pip install -r requirements.txt
  • To run the code, use the following command:
python main.py <filename> # Normal output
python main.py <filename> -v # For verbosity

# Example:
python main.py test1.lp -v

About


Languages

Language:Python 58.2%Language:Perl 41.8%