Optimization: principles and algorithms, by Michel Bierlaire
run1616.m
Go to the documentation of this file.
1 %> \file
2 %> Runs example 16.16 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:27:01 2015
10 
11 A = [1 3 0 4 1 ; 1 2 0 -3 1 ; -1 -4 3 0 0] ;
12 b = [2 ; 2 ; 1 ] ;
13 c = [2 ; 3 ; 3 ; 1 ; -2] ;
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