Optimization: principles and algorithms, by Michel Bierlaire
run1615.m
Go to the documentation of this file.
1 %> \file
2 %> Runs example 16.15 of \cite Bier15-book
3 %>
4 %> @note Calls \ref twoPhasesSimplex
5 %>
6 %> @ingroup Running
7 %> @ingroup chap16
8 %> @author Michel Bierlaire
9 %> @date Sun Mar 22 14:38:09 2015
10 
11 A = [1 2 3 0 ; -1 2 6 0 ; 0 4 9 0 ; 0 0 3 1 ] ;
12 b = [3 ; 2 ; 5 ; 1] ;
13 c = [1 ; 1 ; 1 ; 0] ;
14 [x,copt,finaltableau,feasible,bounded] = twoPhasesSimplex(A,b,c)
15 
16 
function twoPhasesSimplex(in A, in b, in c)
Solve a linear optimization problem in standard form using the tableau simplex with two phases subje...
Copyright 2015-2018 Michel Bierlaire