Skip to main content

Problem with callback function

Awaiting user input

Comments

2 comments

  • Official comment
    Simranjit Kaur
    • Gurobi Staff
    This post is more than two years old. Some information may not be up to date. For current information, please check the Gurobi Documentation or Knowledge Base. If you need more help, please create a new post in the community forum, or try Gurobot, our chatbot interface offering instant, expert-level support.
  • Jaromił Najman
    • 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

Post is closed for comments.