GRBEnv()

Constructor for GRBEnv object. If the constructor is called with no arguments, no log file will be written for the environment.

Note that the GRBEnv constructor will check the current working directory for a file named gurobi.env, and it will attempt to read parameter settings from this file if it exists. The file should be in PRM format (briefly, each line should contain a parameter name, followed by the desired value for that parameter).

In general, you should aim to create a single Gurobi environment object in your program, even if you plan to work with multiple models. Reusing one environment is much more efficient than creating and destroying multiple environments.

  GRBEnv ( )

  GRBEnv ( const string& logFileName )