Source: https://www.hec.ca/en/cams/help/topics/The_steps_of_the_simplex_algorithm.pdf