Skip to main content

Gurobi options in GAMS

Answered

Comments

2 comments

  • Official comment
    Simranjit Kaur
    • Gurobi Staff
    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.
  • Eli Towle
    • Gurobi Staff

    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.