% Use ipdriver to solve
%
% min cx subject to A*x=b, x>=0,
%
A = [1 1 -1 0; 3 1 0 -1];
b = [3 6];
c = [2 1 0 0];
[x,y,s] = ipdriver(c,A,b);
%load AFIRO etc
% Example AFIRO from Netlib.
%
% Netlib [1] provide a set of linear programming test problems. These
% problems in MATLAB format can be downloaded from [2]. See the readme
% file in [1] to find the problems that do not have upper bounds on the
% variables (no entry in column BR).
%
% [1] http://www.netlib.org/lp/data
% [2] http://users.clas.ufl.edu/hager/coap/Pages/matlabpage.html
%
Reviews
There are no reviews yet.