Skip to content

Commit

Permalink
Revert params to default on gurobi due to errors to get objval in man…
Browse files Browse the repository at this point in the history
…y instances
  • Loading branch information
mldiego committed Aug 28, 2024
1 parent 1e8437e commit 480cc89
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions code/nnv/engine/utils/lpsolver.m
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@
% Define solver parameters
params = struct; % for now, leave default options/params
params.OutputFlag = 0; % no display
params.OptimalityTol = 1e-09;
params.FeasibilityTol = 1e-09;
% params.OptimalityTol = 1e-09;
% params.FeasibilityTol = 1e-09;
result = gurobi(model, params);
fval = result.objval; % get fval value from results
% get exitflag and match those of linprog for easier parsing
Expand Down

0 comments on commit 480cc89

Please sign in to comment.