Question: 1. (10 marks) Write Python code to implement the simplex method that you have learned in class. You may choose to implement the revised simplex

1. (10 marks) Write Python code to implement the simplex method that you have learned in class. You may choose to implement the "revised simplex" method or the "tableau method. Either way, your code should take as input a linear programming problem in standard form (min c? x s.t. Ax = b, x > 0), and provide as output the optimal solution. Your code should take as input (supplied by the user) c, A and b. You can assume that all LP problems your code will solve have m (assuming A is an mxn matrix) slack variables so that you have an easy choice for the initial bfs. Your code should solve problems of size up to n
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
