Skip to content

Commit

Permalink
readd big cuts
Browse files Browse the repository at this point in the history
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
  • Loading branch information
NikolajBjorner committed Jan 2, 2024
1 parent 84997f8 commit a7bfdcd
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions src/math/lp/gomory.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -561,11 +561,10 @@ struct create_cut {
bool feas = _check_feasible();
lra.pop(1);

if (lia.settings().get_cancel_flag())
return lia_move::undef;

if (!feas)
return lia_move::conflict;
if (!feas)
for (auto const& cut : big_cuts)
add_cut(cut);

}

// this way we create bounds for the variables in polar cases even where the terms had big numbers
Expand Down

0 comments on commit a7bfdcd

Please sign in to comment.