3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-23 09:05:31 +00:00
This commit is contained in:
Nikolaj Bjorner 2022-05-22 07:54:27 -04:00
parent 386c511f54
commit c850259f89
3 changed files with 149 additions and 65 deletions

View file

@ -78,6 +78,8 @@ namespace opt {
new_soft.remove(f);
continue;
}
if (!m.inc())
return false;
expr_ref_vector mux(m);
for (expr* g : trail) {
@ -160,9 +162,7 @@ namespace opt {
for (auto& mux : mutexes)
process_mutex(mux, new_soft, lower);
if (mutexes.empty())
{
if (mutexes.empty()) {
obj_map<expr, rational> dual_soft = dualize(new_soft, fmls);
mutexes.reset();
lbool is_sat = s.find_mutexes(fmls, mutexes);