%load a netlib problem
load agg3.mat;
% model- a struct with the model
% see http://www.gurobi.com/documentation/7.5/refman/matlab_gurobi.html
% for a full list of fields
model.A = A;        % constraint matrix
model.rhs = b;      % rhs vector
model.sense = '=';  % type of constraints
model.obj = c;      % cost vector
model.lb = lo;      % lower bounds on x
model.ub = hi;      % upper bounds on x

% params - a struct with options 
% see http://www.gurobi.com/documentation/7.5/refman/parameter_descriptions.html
% for a full list of options
params.OutputFlag = 1;  % Tell gurobi to do some output while solving

% run gurobi solver
[results] = gurobi(model,params);