3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-24 01:25:31 +00:00

ensure bounds propagation on changed columns after nla propagation

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2023-10-03 14:28:59 +09:00
parent 7de06c4350
commit 00ba064cd3
2 changed files with 6 additions and 7 deletions

View file

@ -1067,6 +1067,8 @@ namespace lp {
}
bool lar_solver::init_model() const {
CTRACE("lar_solver_model",!m_columns_with_changed_bounds.empty(), tout << "non-empty changed bounds\n");
TRACE("lar_solver_model", tout << get_status() << "\n");
if (get_status() != lp_status::OPTIMAL && get_status() != lp_status::FEASIBLE)
return false;
if (!m_columns_with_changed_bounds.empty())