pythonperformanceoptimizationgurobihyperparameters

Tuning multiple Gurobi models at once


i want to tune the hyper parameters of Gurobi for several optimization problems at once. I have a folder with several .lp files.

At the moment i am using this code to tune one model in Python:

model = gp.read("model.lp")
model.tune()

But this code only works for one instance of my problem. I want to tune several problem instances at once. Thanks!


Solution

  • This is possible, but only via the command line tool grbtune

    https://docs.gurobi.com/projects/optimizer/en/current/features/tuning.html#command-line-tuning