Skip to content

Latest commit

 

History

History
16 lines (9 loc) · 748 Bytes

README.md

File metadata and controls

16 lines (9 loc) · 748 Bytes

Simplex algorithm

This is my repo for the simplex algorithm, which I need to implement for an Optimisation and Approximation class as part of my master. Please note that this is only academical work.

Dependencies

This program is written in python3 and uses numpy and tabulate

Use

python3 simplex.py input_file. By default, the program will use Bland's rule but one can specify which pivot rule to use: -r for random, -m for the maximum coefficient in the objective vector.

Example

python3 simplex.py input_file -r runs the program with the pivot rule Random.

-v allows the user to run the verbose mode