[x,maxval]=simplex1([0 3 2; 1 -1 2; 2 -1 1; 6 -2 1; 5 -1 0; 16 -2 -1; 12 -1 -1; 21 -1 -2; 10 0 -1])