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.
This program is written in python3 and uses numpy and tabulate
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.
python3 simplex.py input_file -r
runs the program with the pivot rule Random.
-v
allows the user to run the verbose mode