Skip to main content

Problem with callback function

Awaiting user input

Comments

1 comment

  • Jaromił Najman
    Gurobi Staff Gurobi Staff

    Hi Mario,

    You are saying

    This cannot be the case for the instance I am solving since I can solve the .lp file in which the lazy constraint is added manually, and I get an optimal solution from there.

    But I see that your callback has been called 23 times, so there has been probably more lazy constraints added than only one. Could you please double check that?

    Moreover, could you please share the way how you generate the lazy constraint you added to the model manually? If possible, could you please share the log output of the run of the model with manually added lazy constraint?

    Best regards, 
    Jaromił

    0

Please sign in to leave a comment.