This is matlab implementation of the two-phase simplex method for better understanding of the algorithm.
-
Smallest Index Rule (SIR): Blend's rule
-
Largest Index Rule (LIR): Reverse of SIR
-
Successive Ratio Rule (SRR): Lexicographic order
$ matlab -r main t = importdata('./data/XXX.txt', ' '); mode = 'SIR'; -5 -6 -1 -4 -5 0 0 0 20 2 1 1 1 1 0 0 10 1 0 2 1 0 1 0 5 1 1 1 0 0 0 1 