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

fixing calls, signs

This commit is contained in:
Nikolaj Bjorner 2023-08-22 09:29:12 -07:00
parent 818b1129a5
commit e8929041b8
2 changed files with 3 additions and 2 deletions

View file

@ -333,12 +333,13 @@ namespace lp {
if (improve_lower_bound)
term.negate();
impq bound;
if (!maximize_term_on_tableau(term, bound))
if (!maximize_term_on_corrected_r_solver(term, bound))
return false;
return false;
// TODO
if (improve_lower_bound) {
bound.neg();
if (column_has_lower_bound(j) && bound.x == column_lower_bound(j).x)
return false;
SASSERT(!column_has_lower_bound(j) || column_lower_bound(j).x < bound.x);