I would like my code to reuse a single gurobi license instead of one per model.
The following works for me:
const GRB_ENV = Gurobi.Env() m1 = Model(solver=GurobiSolver(GRB_ENV)) m2 = Model(solver=GurobiSolver(GRB_ENV)) ...
The question is how to do this if I’m using some functions from a package that also use gurobi? I cannot insert
GRB_ENV in those functions without editing the package code.