mirror of
https://github.com/Z3Prover/z3
synced 2025-04-08 02:15:19 +00:00
init value
This commit is contained in:
parent
d1f1e4ce34
commit
be653dab0e
|
@ -381,6 +381,7 @@ namespace opt {
|
|||
scoped_update _upd1(*this, "max_conflicts", UINT_MAX, m_max_conflicts);
|
||||
m_cores.reset();
|
||||
m_weight.reset();
|
||||
m_best_cost = -1;
|
||||
for (expr* s : ctx.soft())
|
||||
m_weight.insert(s, ctx.weight(s));
|
||||
|
||||
|
|
Loading…
Reference in a new issue