mirror of
https://github.com/Z3Prover/z3
synced 2025-04-23 09:05:31 +00:00
remove model initialization all-together because assumption literals are not connected with model
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
a7495876fd
commit
477fd3fba0
2 changed files with 7 additions and 18 deletions
|
@ -129,16 +129,6 @@ namespace opt {
|
|||
for (auto & soft : m_soft) {
|
||||
soft.set_value(l_undef);
|
||||
}
|
||||
model_ref mdl;
|
||||
s().get_model(mdl);
|
||||
if (mdl) {
|
||||
for (auto & soft : m_soft) {
|
||||
if (!mdl->is_true(soft.s)) {
|
||||
break;
|
||||
}
|
||||
soft.set_value(l_true);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue