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

Unexpected Behavior with Heuristic Solutions and Callbacks in Gurobi

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

コメント

1件のコメント

  • Mario Ruthmair
    • Gurobi Staff Gurobi Staff

    Did you set the parameter LazyConstraints=1 to tell the solver that the callback should be called for each newly found solution? See also this article.

    If yes, can you create an MRE so that we can reproduce the behavior on our side?

    Disabling presolving can indeed help in some cases since it changes the model structure and the solver's solution path. Obtaining a weaker dual bound with presolving is, however, rare. Usually, it is the opposite. Could you post the relevant parts of the two solver logs?

    0

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