function test_simplex()
% Testing simplex.m
% Michael Floater, 04 March 2020.

% Exercise 2.2 of Vanderbei.
A = [2,1; 2,3; 4,1; 1,5]
c = [2;1]
b = [4;3;5;1]

[description,x,eta,it,B,N,dict] = simplex(A,b,c)

% Exercise 2.1 of Vanderbei.
A = [2,1,1,3;1,3,1,2]
c = [6;8;5;9]
b = [5;3]

[description,x,eta,it,B,N,dict] = simplex(A,b,c)

% Exercise 5.7 of Vanderbei.
A = [-1,-1,-1;2,-1,1]
c = [2;-6;0]
b = [-2;1]

[description,x,eta,it,B,N,dict] = simplex(A,b,c)

