mirror of
https://github.com/Z3Prover/z3
synced 2025-04-23 09:05:31 +00:00
rw
This commit is contained in:
parent
386c511f54
commit
c850259f89
3 changed files with 149 additions and 65 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue