Homework

Create a program mySimplex.py that will take an objective function and list of constraints (as shown below), create an appropriate simplex, print the simplex, and be able to identify the correct pivot row/column.

NOTE: The algorithm does not need to be a full implementation of the simplex algorithm, just the above parts.

Expect the objective function and constraints to appear as:

obj = [1,2,3]

constraints = (["leq",7,0,1,6], ["leq",1,2,0,20], ["leq",0,3,4,30])