3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-22 16:45:31 +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

@ -434,7 +434,6 @@ namespace opt {
return th.mk_ge(m_fm, v, val);
}
if (typeid(smt::theory_lra) == typeid(opt)) {
smt::theory_lra& th = dynamic_cast<smt::theory_lra&>(opt);
SASSERT(val.is_finite());

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;