Optimization: principles and algorithms, by Michel Bierlaire
run2604.m
Go to the documentation of this file.
1 %> \file
2 %> Runs example 26.4 of \cite Bier15-book
3 %>
4 %>
5 %> @ingroup Running
6 %> @author Michel Bierlaire
7 %> @date Sat Apr 11 12:58:38 2015
8 %> @ingroup chap26
9 
10 c = [ 1 ; -2 ] ;
11 A = [ -4 6 ; 1 1 ] ;
12 lb = [0 ; 0] ;
13 b = [5 ; 5] ;
14 ub = [5 ; 5] ;
15 ctype = "UU" ;
16 vtype = "II" ;
17 [xopt, fmin, errnum, extra] = glpk (c, A, b, lb, ub, ctype, vtype)
Copyright 2015-2016 Michel Bierlaire