Filter Content By
Version
Text Search
Creating the environment
The first executable statement in our example obtains a Gurobi
environment (using the GRBEnv()
constructor):
GRBEnv env = new GRBEnv("mip1.log");Later calls to create an optimization model will always require an environment, so environment creation is typically the first step in a Gurobi application. The constructor argument specifies the name of the log file.