Optimization: principles and algorithms, by Michel Bierlaire
run1612pivoting.m
Go to the documentation of this file.
1 %> \file
2 %> Runs example 16.12 illustrating the pivoting
3 %>
4 %> @note Calls \ref pivoting
5 %>
6 %> @ingroup Running
7 %> @ingroup chap16
8 %> @author Michel Bierlaire
9 %> @date Sun Mar 22 12:45:21 2015
10 tab = [0 1.5 1 1 -0.5 0 10 ; 1 0.5 1 0 0.5 0 10 ; 0 1 -1 0 -1 1 0 ; 0 -7 -2 0 5 0 100 ] ;
11 newtab = pivoting(tab,3,2)
12 
13 
function pivoting(in tab, in l, in j)
Pivot the tableau.
Copyright 2015-2018 Michel Bierlaire