mirror of
https://github.com/Z3Prover/z3
synced 2025-04-23 17:15:31 +00:00
work on niil_solver::check()
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
This commit is contained in:
parent
07c9e22303
commit
a86601f7d2
2 changed files with 28 additions and 13 deletions
|
@ -48,6 +48,12 @@ struct solver::imp {
|
|||
m_monomials.shrink(m_monomials_lim[m_monomials_lim.size() - n]);
|
||||
m_monomials_lim.shrink(m_monomials_lim.size() - n);
|
||||
}
|
||||
|
||||
lbool check(lp::explanation_t& ex) {
|
||||
lp_assert(m_solver.get_status() == lp::lp_status::OPTIMAL);
|
||||
return l_undef;
|
||||
}
|
||||
|
||||
};
|
||||
void solver::add_monomial(lp::var_index v, unsigned sz, lp::var_index const* vs) {
|
||||
std::cout << "called add_monomial\n";
|
||||
|
@ -56,8 +62,7 @@ void solver::add_monomial(lp::var_index v, unsigned sz, lp::var_index const* vs)
|
|||
bool solver::need_check() { return true; }
|
||||
|
||||
lbool solver::check(lp::explanation_t& ex) {
|
||||
lp_assert(false);
|
||||
return l_undef;
|
||||
return m_imp->check(ex);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue