Configuration Files#

These files are read automatically when a Gurobi environment is created, and configure how Gurobi connects to a license or server and which parameter values are applied.

gurobi.lic#

The Gurobi license file. It is read automatically when an environment is created. In addition to license information, it can contain configuration parameters such as ComputeServer, TokenServer, or ServerPassword.

gurobi.env#

An optional parameter file in PRM format that Gurobi reads automatically from the current working directory when an environment is created. It can be used to set both configuration parameters (e.g., ComputeServer, TokenServer) and algorithmic parameters (e.g., Method, Cuts). Each line should contain a parameter name, followed by the desired value for that parameter.