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

Callback function does not remember previous lazy constraints?

回答済み

コメント

1件のコメント

  • Mario Ruthmair
    • Gurobi Staff

    Hi Ans,

    Added (lazy) cut information is only propagated to all the solver components at specific synchronization points, especially when running multiple threads in parallel. Therefore, you may observe a solution in the lazy callback that does not respect previously added cuts. You need to consider each lazy callback independently without relying on previous calls. This might even result in adding the same lazy cut multiple times.

    Best regards,
    Mario

    0

サインインしてコメントを残してください。