mirror of
https://github.com/Z3Prover/z3
synced 2025-04-28 11:25:51 +00:00
before getting explanations for monomials upper and low bounds
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
This commit is contained in:
parent
74ecdf3191
commit
02133bbcc5
4 changed files with 30 additions and 15 deletions
|
@ -239,6 +239,7 @@ void lar_solver::explain_implied_bound(implied_bound & ib, lp_bound_propagator &
|
|||
int a_sign = is_pos(a)? 1: -1;
|
||||
int sign = j_sign * a_sign;
|
||||
const ul_pair & ul = m_columns_to_ul_pairs[j];
|
||||
// todo : process witnesses from monomials!!!!!!!!!!!!!!!!!!!!!
|
||||
auto witness = sign > 0? ul.upper_bound_witness(): ul.lower_bound_witness();
|
||||
lp_assert(is_valid(witness));
|
||||
bp.consume(a, witness);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue