mirror of
https://github.com/Z3Prover/z3
synced 2025-04-22 16:45:31 +00:00
just branch on = 0
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
2ee91d866a
commit
ee86ea83e4
2 changed files with 4 additions and 2 deletions
|
@ -25,6 +25,7 @@ core::core(lp::lar_solver& s, params_ref const& p, reslimit & lim) :
|
|||
m_evars(),
|
||||
m_lar_solver(s),
|
||||
m_reslim(lim),
|
||||
m_params(p),
|
||||
m_tangents(this),
|
||||
m_basics(this),
|
||||
m_order(this),
|
||||
|
@ -36,7 +37,6 @@ core::core(lp::lar_solver& s, params_ref const& p, reslimit & lim) :
|
|||
m_horner(this),
|
||||
m_grobner(this),
|
||||
m_emons(m_evars),
|
||||
m_params(p),
|
||||
m_use_nra_model(false),
|
||||
m_nra(s, m_nra_lim, *this)
|
||||
{
|
||||
|
@ -1535,10 +1535,12 @@ void core::add_bounds() {
|
|||
//m_lar_solver.print_column_info(j, verbose_stream() << "check variable " << j << " ") << "\n";
|
||||
if (var_is_free(j))
|
||||
m_literal_vec->push_back(ineq(j, lp::lconstraint_kind::EQ, rational::zero()));
|
||||
#if 0
|
||||
else if (has_lower_bound(j) && can_add_bound(j, m_lower_bounds_added))
|
||||
m_literal_vec->push_back(ineq(j, lp::lconstraint_kind::LE, get_lower_bound(j)));
|
||||
else if (has_upper_bound(j) && can_add_bound(j, m_upper_bounds_added))
|
||||
m_literal_vec->push_back(ineq(j, lp::lconstraint_kind::GE, get_upper_bound(j)));
|
||||
#endif
|
||||
else
|
||||
continue;
|
||||
++lp_settings().stats().m_nla_bounds;
|
||||
|
|
|
@ -83,6 +83,7 @@ class core {
|
|||
|
||||
lp::lar_solver& m_lar_solver;
|
||||
reslimit& m_reslim;
|
||||
smt_params_helper m_params;
|
||||
std::function<bool(lpvar)> m_relevant;
|
||||
vector<lemma> * m_lemma_vec;
|
||||
vector<ineq> * m_literal_vec = nullptr;
|
||||
|
@ -104,7 +105,6 @@ class core {
|
|||
mutable lp::u_set m_active_var_set;
|
||||
|
||||
reslimit m_nra_lim;
|
||||
smt_params_helper m_params;
|
||||
|
||||
bool m_use_nra_model = false;
|
||||
nra::solver m_nra;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue