from
simplex tableau and Matlab
by Chun Zheng
Solving the simplex tableau using matlab
|
| newMat=interChange(mat,row1, row2)
|
function newMat=interChange(mat,row1, row2)
temp=mat(row1,:);
mat(row1,:)=mat(row2,:);
mat(row2,:)=temp;
newMat=mat;
|
|
Contact us at files@mathworks.com