Primal revised simplex