3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-08 02:15:19 +00:00

init value

This commit is contained in:
Nikolaj Bjorner 2022-05-01 15:21:45 -07:00
parent d1f1e4ce34
commit be653dab0e

View file

@ -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));