mirror of
https://github.com/Z3Prover/z3
synced 2025-04-28 19:35:50 +00:00
move fixed variable propagation to nla_core/monomial_bounds
This commit is contained in:
parent
f3e7c8c9df
commit
c01336553e
4 changed files with 62 additions and 54 deletions
|
@ -43,6 +43,13 @@ namespace nla {
|
|||
bool is_linear(monic const& m, lpvar& w, lpvar & fixed_to_zero);
|
||||
rational fixed_var_product(monic const& m, lpvar w);
|
||||
lpvar non_fixed_var(monic const& m);
|
||||
|
||||
// fixed variable propagation
|
||||
unsigned m_fixed_var_qhead = 0;
|
||||
unsigned_vector m_fixed_var_trail;
|
||||
void propagate_fixed_vars();
|
||||
void propagate_fixed_var(lpvar v);
|
||||
void propagate_fixed_var(monic const& m, lpvar v);
|
||||
public:
|
||||
monomial_bounds(core* core);
|
||||
void propagate();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue