3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-28 19:35:50 +00:00

simplify the nla_solver interface (#4312)

* simplify the nla_solver interface

Signed-off-by: Lev Nachmanson <levnach@hotmail.com>

* more simplifications

Signed-off-by: Lev Nachmanson <levnach@hotmail.com>

* init m_use_nra_model

Signed-off-by: Lev Nachmanson <levnach@hotmail.com>

Co-authored-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Lev Nachmanson 2020-05-12 19:34:03 -07:00 committed by GitHub
parent 7a6c66a085
commit b2dc21b107
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 55 additions and 55 deletions

View file

@ -161,6 +161,8 @@ private:
lp::u_set m_rows;
public:
reslimit& m_reslim;
bool m_use_nra_model;
nra::solver m_nra;
void insert_to_refine(lpvar j);
void erase_from_to_refine(lpvar j);
@ -454,7 +456,8 @@ public:
bool var_is_big(lpvar) const;
bool has_real(const factorization&) const;
bool has_real(const monic& m) const;
void set_use_nra_model(bool m) { m_use_nra_model = m; }
bool use_nra_model() const { return m_use_nra_model; }
}; // end of core
struct pp_mon {