This repository has been archived on 2021-09-27. You can view files and clone it, but cannot push or open issues or pull requests.
NC/mp6/Project_6_Maggioni_Claudio/exercise4.m
2020-12-19 23:50:07 +01:00

8 lines
No EOL
169 B
Matlab

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']')