Skip to main content

About using 'LazyConstraints' Parameter

Answered

Comments

1 comment

  • Ryuta Tamura
    • Gurobi Staff

    Hi Junseo,

    Which means, I am using model.cbGet, not model.cbLazy in the callback.

    I think you are talking about model.cbCut, not model.cbGet.  Are you enabling PreCrush=1 when using model.cbCut? PreCrush parameter shuts off a few reductions to apply user cuts. If this is not set, some user cuts may be ignored. LazyConstraint=1 also disables some dual reductions. If PreCrush was not enabled in your code, the user cuts may have been recognized by setting LazyConstraint=1.

    Thanks,
    Ryuta

     

    0

Please sign in to leave a comment.