type = 'max';
A = [4 3; 4 1; 4 2];
sign = [-1 ; -1 ; -1 ];
h = [12 ; 8 ; 8 ];
c = [3 4];
[z,x_B,index_B] = simplex (type,A,h,c,sign);
histogram([index_B x_B']')