ex2 - Ain=A; bin=Ain(:,end); keyboard row=3;col=2;...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
Ain=[1 1 -3 0 0 0 0 -1 1 1 0 1 0 -1 2 0 1 3] A0=Ain; bin=Ain(:,end); row=2;col=3; basis=[3 4 ]; disp(['original basis is: ',num2str(basis)]) keyboard disp(['pivot on row,col: ',num2str([row col])]); A=piv(Ain,row,col) basis=[ 2 4 ]; disp(['new basis is: ',num2str(basis)])
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Ain=A; bin=Ain(:,end); keyboard row=3;col=2; disp(['pivot on row,col: ',num2str([row col])]); A=piv(Ain,row,col) basis=[ 2 1]; disp(['new basis is: ',num2str(basis)]) Ain=A; bin=Ain(:,end); disp('problem is unbounded')...
View Full Document

This note was uploaded on 06/11/2011 for the course C 350 taught by Professor Wolkowicz during the Fall '97 term at Waterloo.

Ask a homework question - tutors are online