Skip to main content

how to run gurobi with just gomory algorithm?

Answered

Comments

3 comments

  • Jaromił Najman
    Gurobi Staff Gurobi Staff

    I just want to run gomory algorithm

    Do you mean Gomory cuts? Then, in addition to the parameters you already set, you have to set the GomoryPasses parameter as well. A value of 10-50 should be fine. You should not need to set any additional parameters.

    Setting the PreCrush parameter should not be necessary unless you are using a MIPStart (cf. How do I use MIP starts?).

    Best regards, 
    Jaromił

    0
  • Zehao Zhao
    Gurobi-versary
    First Question
    First Comment

    thanks for the clearifications. Yes, i mean gomory cuts. Gomorypasses specify the maximum cuts.

    1. I am wondering: if Gurobi has a functionality to only run gomory cuts to solve a pure two-variable integer programming problem?

    2. In addition, say if i want to solve a pure two-variable integer programming problem, what is the fastest way gorobi can do? (what parameters to be setted?)

    0
  • Jaromił Najman
    Gurobi Staff Gurobi Staff

    Yes, i mean gomory cuts. Gomorypasses specify the maximum cuts.

    Cuts=0 turns off all cuts (also Gomory Cuts). Thus, you have to set GomoryPasses.

    if Gurobi has a functionality to only run gomory cuts to solve a pure two-variable integer programming problem?

    You can make Gurobi work with Gomory Cuts only with the settings we discussed in the above comments.

    In addition, say if i want to solve a pure two-variable integer programming problem, what is the fastest way gorobi can do? (what parameters to be setted?)

    Do you mean that your problem consists of only 2 integer variables? I guess that Gurobi would solve this model in presolve. Probably even if presolve is turned off and only some very basics simplification operations are performed. Nevertheless, I would first start with default settings and see how long Gurobi takes. From there, you can have a look at Most important parameters for MIPs.

    Best regards, 
    Jaromił

    0

Please sign in to leave a comment.