Skip to content

Commit a7bfdcd

Browse files
readd big cuts
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
1 parent 84997f8 commit a7bfdcd

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

src/math/lp/gomory.cpp

+4-5
Original file line numberDiff line numberDiff line change
@@ -561,11 +561,10 @@ struct create_cut {
561561
bool feas = _check_feasible();
562562
lra.pop(1);
563563

564-
if (lia.settings().get_cancel_flag())
565-
return lia_move::undef;
566-
567-
if (!feas)
568-
return lia_move::conflict;
564+
if (!feas)
565+
for (auto const& cut : big_cuts)
566+
add_cut(cut);
567+
569568
}
570569

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

0 commit comments

Comments
 (0)