2 %> Runs example 16.7 illustrating the Dikin method (Table 17.4)
4 %> @note Calls \ref
dikin 8 %> @author Michel Bierlaire
9 %> @date Sun Mar 22 17:06:32 2015
10 A = [1 2 2 1 0 0 ; 2 1 2 0 1 0 ; 2 2 1 0 0 1] ;
12 c = [-10 ; -12 ; -12 ; 0 ; 0 ; 0 ] ;
13 x0 = [ 3 ; 3 ; 3 ; 5 ; 5 ; 5] ;
15 [solution, iteres, niter, unbounded] =
dikin(A,b,c,x0,eps)
23 printf("Unbounded problem\n") ;
function dikin(in A, in b, in c, in x0, in eps, in beta)
Applies Dikin's method to solve subject to and .