Is there a way to fix a parameter value when using the automatic tuning tool?
AnsweredHello,
There is a parameter I know makes my model solve orders of magnitude faster (PreQLinearization = 0). With it, the model takes less than 0.1 seconds to solve, without it, it won't solve in the 200 second time limit I set.
I would like to use the auto tune tool, however, I want Gurobi to always keep PreQLinearizaiton = 0 when it tests out other parameter values. Is there a way that I can accomplish this?
Thank you for any help you can provide!
-
You can fix parameters using the command line tuning tool via
grbtune PreQLinearization=0 model.mps
see Command-Line Tuning.
0 -
Hello,
Thank you very much for your reply. I was able to successfully being tuning with the gurobi_cl interface, and was able to set a baseline parameter "NonConvex=2". However, when I use the command:
grbtube PreQLinearization=0 NonConvex=2 model.mps
it will begin tuning. However, it will only set "NonConvex=2" and will give me the message:
Set parameter NonConvex to value 2
Unknown parameter: 'PreQLinearization' (ignored)
Do you know why it would not recognize this parameter in the command line interface/what I could do differently? Thank you again!0 -
Hi Jack,
There is no Gurobi parameter called PreQLinearization. You probably want to set PreQLinearize=0.
Best regards,
Siman0
Please sign in to leave a comment.
Comments
3 comments