3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-08 18:31:49 +00:00

restore the change_rows population in lar_solver

This commit is contained in:
Lev Nachmanson 2023-07-15 09:23:37 -07:00 committed by Lev Nachmanson
parent 401ec04ec3
commit 144c9a7b82

View file

@ -203,6 +203,12 @@ namespace lp {
return m_status;
}
solve_with_core_solver();
if (m_status != lp_status::INFEASIBLE) {
if (m_settings.bound_propagation())
detect_rows_with_changed_bounds();
}
clear_columns_with_changed_bounds();
return m_status;
}
@ -700,8 +706,6 @@ namespace lp {
void lar_solver::update_x_and_inf_costs_for_columns_with_changed_bounds_tableau() {
for (auto j : m_columns_with_changed_bounds)
update_x_and_inf_costs_for_column_with_changed_bounds(j);
// whoever consumes this should clear it
m_columns_with_changed_bounds.clear();
}