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

add to m_touched_rows only when bound

propagation is required
This commit is contained in:
Lev Nachmanson 2023-07-17 08:00:01 -10:00
parent 013d5dc4db
commit bfc37bd266

View file

@ -619,11 +619,10 @@ namespace lp {
}
void lar_solver::add_touched_row(unsigned rid) {
m_touched_rows.insert(rid);
if (m_settings.bound_propagation())
m_touched_rows.insert(rid);
}
bool lar_solver::use_tableau_costs() const {
return m_settings.simplex_strategy() == simplex_strategy_enum::tableau_costs;
}