Skip to content

shizi1011/Simplex_Linear_Programming

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages