mirror of
https://github.com/Z3Prover/z3
synced 2025-04-28 11:25:51 +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
|
@ -442,12 +442,7 @@ int gomory::find_basic_var() {
|
|||
}
|
||||
|
||||
lia_move gomory::operator()() {
|
||||
if (lra.move_non_basic_columns_to_bounds()) {
|
||||
lp_status st = lra.find_feasible_solution();
|
||||
(void)st;
|
||||
lp_assert(st == lp_status::FEASIBLE || st == lp_status::OPTIMAL);
|
||||
}
|
||||
|
||||
lra.move_non_basic_columns_to_bounds();
|
||||
int j = find_basic_var();
|
||||
if (j == -1) return lia_move::undef;
|
||||
unsigned r = lia.row_of_basic_column(j);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue