メインコンテンツへスキップ

Problem with callback function

ユーザーの入力を待っています。

コメント

2件のコメント

  • 正式なコメント
    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

投稿コメントは受け付けていません。