mirror of
https://github.com/Z3Prover/z3
synced 2025-05-16 20:24:45 +00:00
integrate opt with push/pop/check-sat
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
7c4bd23b3d
commit
fdaeb9bb73
7 changed files with 207 additions and 191 deletions
|
@ -51,7 +51,7 @@ namespace opt {
|
|||
|
||||
|
||||
void optsmt::set_cancel(bool f) {
|
||||
m_cancel = true;
|
||||
m_cancel = f;
|
||||
}
|
||||
|
||||
void optsmt::set_max(vector<inf_eps>& dst, vector<inf_eps> const& src) {
|
||||
|
@ -379,5 +379,13 @@ namespace opt {
|
|||
m_engine = _p.engine();
|
||||
}
|
||||
|
||||
void optsmt::reset() {
|
||||
m_lower.reset();
|
||||
m_upper.reset();
|
||||
m_objs.reset();
|
||||
m_vars.reset();
|
||||
m_model.reset();
|
||||
m_s = 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue