3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-05-03 13:55:47 +00:00

use the simple version of move_non_basic_column_to_bounds

This commit is contained in:
Lev Nachmanson 2023-10-05 20:57:54 -07:00
parent bf3817ef7c
commit f847d039bc
5 changed files with 27 additions and 33 deletions

View file

@ -43,7 +43,7 @@ namespace lp {
if (st != lp_status::FEASIBLE && st != lp_status::OPTIMAL) {
TRACE("cube", tout << "cannot find a feasible solution";);
lra.pop();
lra.move_non_basic_columns_to_bounds(false);
lra.move_non_basic_columns_to_bounds();
// it can happen that we found an integer solution here
return !lra.r_basis_has_inf_int()? lia_move::sat: lia_move::undef;
}