Is there a way to fix a parameter value when using the automatic tuning tool?
回答済みHello,
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!
-
正式なコメント
This post is more than two years old. Some information may not be up to date. For current information, please check the Gurobi Documentation or Knowledge Base. If you need more help, please create a new post in the community forum, or try Gurobot, our chatbot interface offering instant, expert-level support. -
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
投稿コメントは受け付けていません。
コメント
4件のコメント