function vand_ex_2_2()
% Solution to Exercise 2.1 of Vanderbei.
% Michael Floater, 3 Feb 2020.

dict0 = [0,2,1;4,-2,-1;3,-2,-3;5,-4,-1;1,-1,-5]
dict1 = pivot(dict0,1,4)

