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

nra to nla

Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
This commit is contained in:
Lev Nachmanson 2020-05-07 17:12:38 -07:00
parent bd0180925b
commit 7a79397769
6 changed files with 312 additions and 416 deletions

View file

@ -12,8 +12,12 @@
#include "math/lp/var_eqs.h"
#include "math/lp/factorization.h"
#include "math/lp/nla_solver.h"
#include "math/lp/nla_core.h"
namespace nla {
nla_settings& solver::settings() { return m_core->m_nla_settings; }
void solver::add_monic(lpvar v, unsigned sz, lpvar const* vs) {
m_core->add_monic(v, sz, vs);
}
@ -36,7 +40,8 @@ void solver::pop(unsigned n) {
m_core->pop(n);
}
solver::solver(lp::lar_solver& s): m_core(alloc(core, s, m_res_limit)) {
solver::solver(lp::lar_solver& s): m_core(alloc(core, s, m_res_limit)),
m_nra(s, m_res_limit, *m_core) {
}
bool solver::influences_nl_var(lpvar j) const {