Gurobi options in GAMS
AnsweredI've recently moved to Gurobi and we use GAMS.
Have been struggling to implement Gurobi options, is there a way to use Gurobi options directly? With a file or something like that.
For instance, I want to use the following options and have not found a GAMS correspondence:
Scaleflag;
MIPFocus;
Thank you in advance,
1
-
Official comment
This post is more than three 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 create a solver options file that contains the Gurobi-specific parameters you want to use. For example:
Model mymodel / all /;
$onecho > gurobi.opt
mipfocus 1
scaleflag 2
$offecho
mymodel.optfile = 1;
option Solver=gurobi;
solve mymodel using mip minimizing z;0
Post is closed for comments.
Comments
2 comments