Skip to main content

Lazy callback

Answered

Comments

2 comments

  • Jonasz Staszek
    Community Moderator Community Moderator
    Gurobi-versary
    Thought Leader
    First Question

    Hi Pratim,

    based on this article in the Gurobi Support portal, it would appear to me that the callback is run every time a new integer feasible solution is found. Perhaps someone from Gurobi Support team could confirm this?

    Best regars
    Jonasz

     

     

    0
  • Jaromił Najman
    Gurobi Staff Gurobi Staff

    Once you add a lazy constraint in a callback, it becomes part of the so-called "cut pool" and is handled as a normal constraint, i.e., every feasible point candidate is checked whether it satisfies the constraint or not. This also means that the point found in the respective callback is also directly checked whether it fulfills the lazy constraint just added in the same callback.

    Best regards, 
    Jaromił

    0

Please sign in to leave a comment.