When I start implementing negative lower bounds for some of the variables in a model, it seems like Gurobi consider them as >= 0 anyway. Do anyone know if this is the case? That Gruobi assumes that all variables are greater or equal to zero?
I have included the upper- and lower bounds in the A matrix with the corresponding limits in the b vector.
model.A = sparse([A; Aeq]);
model.obj = C';
model.sense = [repmat('<',size(A,1),1); repmat('=',size(Aeq,1),1)];
model.rhs = [b;beq];
VarType(~yidx)='C';
VarType(yidx)='I';
model.vtype = VarType;
params=struct();
params.LogToConsole = 0;
params.LogFile = 'gurobi_log.txt';
params.ResultFile = 'Results4IIS.mps';
result = gurobi(model, params);