Solving the simplex cycle