mirror of
https://github.com/Z3Prover/z3
synced 2025-04-28 19:35:50 +00:00
fixes in branching
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
This commit is contained in:
parent
236edad8dc
commit
530f77281c
9 changed files with 20 additions and 40 deletions
|
@ -42,8 +42,8 @@ namespace lp {
|
|||
if (st != lp_status::FEASIBLE && st != lp_status::OPTIMAL) {
|
||||
TRACE("cube", tout << "cannot find a feasiblie solution";);
|
||||
lra.pop();
|
||||
lra.set_status(lp_status::OPTIMAL);
|
||||
lra.move_non_basic_columns_to_bounds();
|
||||
find_feasible_solution();
|
||||
// it can happen that we found an integer solution here
|
||||
return !lra.r_basis_has_inf_int()? lia_move::sat: lia_move::undef;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue