mirror of
https://github.com/Z3Prover/z3
synced 2025-04-22 16:45:31 +00:00
parent
31ff658f5e
commit
044d6316ca
2 changed files with 0 additions and 3 deletions
|
@ -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());
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue