Cut loop at root node of MIP

Answered

Comments

6 comments

  • Eli Towle

    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
    Comment actions Permalink
  • Fan YANG

    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
    Comment actions Permalink
  • Sonja Mars

    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
    Comment actions Permalink
  • Fan YANG

    Hi Sonja,

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

    0
    Comment actions Permalink
  • Sonja Mars

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

     

    Sonja

    0
    Comment actions Permalink
  • Fan YANG

    Hi Sonja, thanks for your reply. I understand!

    0
    Comment actions Permalink

Please sign in to leave a comment.

Powered by Zendesk