Skip to main content

Cut loop at root node of MIP

Answered

Comments

7 comments

  • Official comment
    Simranjit Kaur
    Gurobi Staff 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 why not try our AI Gurobot?.
  • Eli Towle
    Gurobi Staff Gurobi Staff

    Hi Fan,

    The MIPNODE callback is called once for each cut pass that occurs at the root node. This is described in more detail in the callback codes documentation.

    I hope this helps. Thanks!

    Eli

    0
  • Fan YANG
    Gurobi-versary
    Conversationalist
    First Question

    Hi Eli,

    Thanks for your reply. I set 

    model.set(GRB_IntParam_Cuts, 0);

    which means to shut off cuts.

    Then why Gurobi still inserts cuts?

    Best regards,

    Fan

     

    0
  • Sonja Mars
    Gurobi Staff Gurobi Staff

    Hi Fan,

     

    Gurobi is not inserting cuts if you turn off cuts. However, there are also other things going on in the root node, like for examples heuristics and this can also cause a log line to be printed.

    Also can you share a log file?

    Best regards,

    Sonja

    0
  • Fan YANG
    Gurobi-versary
    Conversationalist
    First Question

    Hi Sonja,

    Thanks for your reply. I got your point. I attached a picture. 

    0
  • Sonja Mars
    Gurobi Staff Gurobi Staff

    OK, cool. This confirms that no cuts are generated and these are more or less heuristics that generate these lines.

     

    Sonja

    0
  • Fan YANG
    Gurobi-versary
    Conversationalist
    First Question

    Hi Sonja, thanks for your reply. I understand!

    0

Post is closed for comments.