mirror of
https://github.com/Z3Prover/z3
synced 2025-07-19 10:52:02 +00:00
fix wrong simplex backtracking
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
d2db8007d8
commit
05a39cb2cf
11 changed files with 231 additions and 56 deletions
|
@ -215,6 +215,7 @@ namespace opt {
|
|||
}
|
||||
(*m_pbsls.get())();
|
||||
m_pbsls->get_model(m_model);
|
||||
mdl = m_model.get();
|
||||
}
|
||||
|
||||
void bvsls_opt(model_ref& mdl) {
|
||||
|
@ -235,6 +236,7 @@ namespace opt {
|
|||
SASSERT(res.is_sat == l_true || res.is_sat == l_undef);
|
||||
if (res.is_sat == l_true) {
|
||||
m_bvsls->get_model(m_model);
|
||||
mdl = m_model.get();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue