3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-28 11:25:51 +00:00

adding the polarity bound

This commit is contained in:
Lev Nachmanson 2023-12-23 14:02:14 -10:00 committed by Lev Nachmanson
parent d7931b9342
commit af7691224e
4 changed files with 134 additions and 99 deletions

View file

@ -31,7 +31,8 @@ lia_move int_branch::operator()() {
lia_move int_branch::create_branch_on_column(int j) {
TRACE("check_main_int", tout << "branching" << std::endl;);
lp_assert(lia.m_t.is_empty());
lia.m_t.clear();
lp_assert(j != -1);
lia.m_t.add_monomial(mpq(1), lra.column_to_reported_index(j));
if (lia.is_free(j)) {