Question: Revised simplex method. Help!

We have been asked to write a general code for the revised simplex method in Maple.  We have been trying for several days but haven't got anywhere.  We think we have written (a very basic) code for the first iteration but we don't know how to do a loop so that it keeps going until the solution has been found. 

PS its a maximisation problem.

Please Wait...