Skip to content
Snippets Groups Projects
Commit 1ffc4b09 authored by chsieh16's avatar chsieh16
Browse files

Move config values for gurobi to env file

parent 46c6e98b
No related branches found
No related tags found
No related merge requests found
......@@ -81,7 +81,6 @@ def compute_min_dist(x_bound: Tuple[float, float], y_bound: Tuple[float, float],
return np.nan
assert coeff.shape == (2, 2) and intercept.shape == (2,)
with gp.Model("lane_centering_stanley") as m:
m.setParam(GRB.Param.DualReductions, 0)
print("Partition: x in [%g, %g] and y in [%g, %g]" % (x_bound + y_bound))
add_constraints(m, x_bound, y_bound,
coeff=coeff,
......
DualReductions 0
OutputFlag 0
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment