3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-28 19:35:50 +00:00

use fixed vars to explain tightening

Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
This commit is contained in:
Lev Nachmanson 2024-11-01 12:46:25 -07:00 committed by Lev Nachmanson
parent 36293ac773
commit 30f5599064
3 changed files with 56 additions and 42 deletions

View file

@ -1060,7 +1060,13 @@ namespace lp {
}
return ret;
}
bool lar_solver::has_bound_of_type(lpvar var, u_dependency*& ci, mpq& value, bool& is_strict, bool is_upper) const {
if (is_upper) {
return has_upper_bound(var, ci, value, is_strict);
} else {
return has_lower_bound(var, ci, value, is_strict);
}
}
bool lar_solver::has_lower_bound(lpvar var, u_dependency*& dep, mpq& value, bool& is_strict) const {
if (var >= m_columns.size()) {