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:
parent
7a6c66a085
commit
b2dc21b107
5 changed files with 55 additions and 55 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue