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

Find all alternative solutions for incumbent in lazy constraints

回答済み

コメント

1件のコメント

  • Mario Ruthmair
    • Gurobi Staff

    Hi Joonmo Sung,

    I am not entirely sure if I understand your approach. With parameter PoolSearchMode=2, you ask the solver to generate ALL feasible solutions. Together with LazyConstraints=1, the lazy constraint callback will be called for each incumbent.

    How do you define alternative solutions diverging from one particular incumbent? If this is problem-specific, you might need to handle this during the callback, but adding multiple lazy constraints during a single callback execution does not ensure that all those constraints are actually considered in the model (since one is enough to cut off the considered incumbent).

    Best regards,
    Mario

    0

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