Revised simplex algorithm