3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-06-07 06:33:23 +00:00
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2020-03-19 09:39:21 -07:00
parent 31ff658f5e
commit 044d6316ca
2 changed files with 0 additions and 3 deletions

View file

@ -372,9 +372,7 @@ namespace opt {
else
verbose_stream() << "(optsmt upper bound: " << (-v) << ")\n";
);
expr_ref tmp(m);
for (unsigned i = idx+1; i < m_vars.size(); ++i) {
m_s->maximize_objective(i, tmp);
m_lower[i] = m_s->saved_objective_value(i);
}
m_best_model = m_model;