Gurobi environment object. Gurobi models are always associated with an environment. You must create an environment before can you create and populate a model. You will generally only need a single environment object in your program.
While the .NET garbage collector will eventually collect an unused
GRBEnv object, an environment will hold onto resources (Gurobi
licenses, file descriptors, etc.) until that collection occurs. If
your program creates multiple
GRBEnv objects, we recommend
that you call GRBEnv.Dispose
when you are done using one.