Gurobi options in GAMS
回答済みI'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
-
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
サインインしてコメントを残してください。
コメント
1件のコメント