Manager of Optimization Support
grbtune or call from the APITuneCriterion=0 – ignore secondary criterionTuneCriterion=1 – optimality gap as secondary criterion (default)TuneCriterion=2 – objective of the best feasible solution foundTuneCriterion=3 – best objective bound (dual bound)TuneBaseSettings to pass a set of initial parameters to try firstTuneTrials to set number of random seeds for each modelMean runtime is reduced from 42.29s to 22.73s

Mean runtime is only reduced from 510.49s to 447.24s (including timeouts)
This is actually a sign of a good benchmark!
GenX-elec models
TIMES-GEO_E4SMA_Base_scenariocplexTIMES-GEO_E4SMA_NetZero_scenariocplextemoa-US_9R_TS modelspypsa-eur models)kea and tui exhibit numerical issues with some parametersIt’s not very effective and does not result in a clearly improving parameter set
Mean runtime is reduced from 4.68s to 3.24s, but there is no consistent speedup.
Tuning is very effective and results in clearly improving parameter sets
Mean runtime is reduced from 53.81s to 7.3s, and all models are solved faster.
GenX-elec model
GenX models show violations in the final solutions (in order of \(10^{-4}\))Sienna and Tulipa models show solution violations in order of \(10^{-6}\)pypsa-eur models)Ask the Gurobi Experts for help when stuck or unsure how to start!
© Gurobi Optimization – gurobi.github.io/slides/