Parameter tuning tool
When confronted with the task of choosing parameter values that might
lead to better performance on a model, the long list of Gurobi
parameters may seem intimidating. To simplify the process, we include
a simple automated parameter tuning tool. From the interactive shell,
the command is
gurobi> m = read('misc07') gurobi> m.tune()The tool tries a number of different parameter settings, and eventually outputs the best ones that it finds. For example:
Tested 16 parameter sets in 81.24s Baseline parameter set: mean runtime 2.71s Improved parameter set 1 (mean runtime 1.15s): Heuristics 0.001 VarBranch 1 Improved parameter set 2 (mean runtime 1.26s): VarBranch 1In this case, it found that setting the
RINSparameter to 0 for model
misc07reduced the runtime from 2.39s to 1.72s.
Note that tuning is meant to give general suggestions for parameters that might help performance. You should make sure that the results it gives on one model are helpful on the full range of models you plan to solve. You may sometimes find that performance problems can't be fixed with parameter changes alone, particulary if your model has severe numerical issues.
Tuning is also available as a standalone program. From a command prompt, you can type:
> grbtune c:\gurobi800\win64\examples\data\p0033
Please consult the Automated Tuning Tool section of the Gurobi Reference Manual for more information.