Parameters#

Parameters control the operation of the Gurobi solvers. There are parameters to influence performance, solution approach, and precision of the optimization process as well as to control features, logging information, or licensing settings.

Some parameters are used to configure a client program for use with a Compute Server, a Gurobi Instant Cloud instance, or a token server. These parameters must be set before starting a Gurobi environment. Refer to our discussion of Environments for details.

Algorithmic parameters must be modified before the optimization begins. While you should feel free to experiment with different parameter settings, we recommend that you leave algorithmic parameters at their default settings unless you find a compelling reason not to. For a discussion of when you might want to change algorithmic parameter values, refer to our Parameter Guidelines.

  • The Parameter Groups section lists all parameters, grouped by the aspect of Gurobi they control.

  • The Parameter Examples section provides code snippets showing how to work with parameters in each language API.

  • The Parameter Reference section provides the full detail of each parameters effect.