mirror of
https://github.com/Z3Prover/z3
synced 2025-04-12 04:03:39 +00:00
detect more m_terms_to_tighten
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
This commit is contained in:
parent
307af0fd97
commit
dd19b381d8
|
@ -769,7 +769,11 @@ namespace lp {
|
||||||
}
|
}
|
||||||
|
|
||||||
void update_column_bound_callback(unsigned j) {
|
void update_column_bound_callback(unsigned j) {
|
||||||
if (!lra.column_is_int(j) || !lra.column_is_fixed(j))
|
if (!lra.column_is_int(j))
|
||||||
|
return;
|
||||||
|
if (lra.column_has_term(j))
|
||||||
|
m_terms_to_tighten.insert(j); // the boundary of the term has changed: we can be successful to tighten this term
|
||||||
|
if (!lra.column_is_fixed(j))
|
||||||
return;
|
return;
|
||||||
TRACE("dio", tout << "j:" << j << "\n"; lra.print_column_info(j, tout););
|
TRACE("dio", tout << "j:" << j << "\n"; lra.print_column_info(j, tout););
|
||||||
m_changed_columns.insert(j);
|
m_changed_columns.insert(j);
|
||||||
|
|
Loading…
Reference in a new issue