mirror of
https://github.com/Z3Prover/z3
synced 2025-05-07 15:55:46 +00:00
merge with master
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
commit
c513f3ca09
883 changed files with 13979 additions and 16480 deletions
|
@ -116,7 +116,7 @@ namespace opt {
|
|||
return dynamic_cast<smt::theory_wmaxsat*>(th);
|
||||
}
|
||||
else {
|
||||
return 0;
|
||||
return nullptr;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -155,7 +155,7 @@ namespace opt {
|
|||
rational l = m_adjust_value(m_lower);
|
||||
rational u = m_adjust_value(m_upper);
|
||||
if (l > u) std::swap(l, u);
|
||||
verbose_stream() << "(opt." << solver << " [" << l << ":" << u << "])\n";);
|
||||
verbose_stream() << "(opt." << solver << " [" << l << ":" << u << "])\n";);
|
||||
}
|
||||
|
||||
lbool maxsmt_solver_base::find_mutexes(obj_map<expr, rational>& new_soft) {
|
||||
|
@ -228,7 +228,7 @@ namespace opt {
|
|||
|
||||
lbool maxsmt::operator()() {
|
||||
lbool is_sat = l_undef;
|
||||
m_msolver = 0;
|
||||
m_msolver = nullptr;
|
||||
symbol const& maxsat_engine = m_c.maxsat_engine();
|
||||
IF_VERBOSE(1, verbose_stream() << "(maxsmt)\n";);
|
||||
TRACE("opt", tout << "maxsmt\n";
|
||||
|
@ -405,6 +405,10 @@ namespace opt {
|
|||
return m_c.get_solver();
|
||||
}
|
||||
|
||||
void maxsmt::model_updated(model* mdl) {
|
||||
m_c.model_updated(mdl);
|
||||
}
|
||||
|
||||
|
||||
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue