Skip to main content

Does adding callbacks (lazy constraints) affect the heuristics?

Comments

1 comment

  • Adrien Belfer
    • First Comment
    • First Question

    Linked to my previous post, I have another question.

    Is there a way in a lazy constraint callback to “re-push” a new solution? In my context, the MIP master problem may find solutions using heuristics. These “pending” solutions are of the form (theta, u) where u contains integer variables and needs to check if lazy constraints are satisfied. 

    When a lazy constraint callback is called, only the theta may be incorrect in the solution (it comes from a Benders decomposition). However, I noticed that, once lazy constraints added, these solutions are discarded and not used by the model. In other words, there is no way to update the theta and use the updated solution.

    In my case, it would be very interesting to push the valid solution with updated theta as a valid primal solution of my master problem. This will enable to take advantage of the efforts made by heuristics to build valid solutions.

    An alternative would be to create heuristics computing true values of theta myself. However, I doubt I will be able to create heuristics as effective as those in Gurobi.

    0

Please sign in to leave a comment.