Skip to content

Latest commit

 

History

History
43 lines (30 loc) · 1.04 KB

README.md

File metadata and controls

43 lines (30 loc) · 1.04 KB

Linear Programming Solver with Simplex Method

This Python project aims to solve linear programming problems using the simplex method. It handles various cases including:

  • Arbitrary variables
  • Constraints on arbitrary variables (<=, >=, =)
  • Arbitrary constraints (<=, >=, =)
  • Minimize / Maximize objective function
  • Standard simplex problem cases (like Danzig)
  • Two-phase simplex problem cases (with negative b coefficients)
  • Bland's rule simplex problem cases (handling loops in Danzig's case)

Installation

To run this project, please follow the steps below:

  1. Clone the repository:
git clone https://github.com/shizi1011/Simplex_Linear_Programming.git
cd Simplex_Linear_Programming
  1. Create and activate a virtual environment (optional but recommended):
python3 -m venv env
source env/bin/activate
  1. Install the dependencies from the requirements.txt file:
pip install -r requirements.txt

Running the Project

To start the application, run the following command:

python main.py