From 480cc89053d112c4889bf80f81b0a052bf31de33 Mon Sep 17 00:00:00 2001 From: Diego Manzanas Date: Wed, 28 Aug 2024 17:31:13 -0500 Subject: [PATCH] Revert params to default on gurobi due to errors to get objval in many instances --- code/nnv/engine/utils/lpsolver.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/nnv/engine/utils/lpsolver.m b/code/nnv/engine/utils/lpsolver.m index ccde224ea..41c320658 100644 --- a/code/nnv/engine/utils/lpsolver.m +++ b/code/nnv/engine/utils/lpsolver.m @@ -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