mirror of
https://github.com/Z3Prover/z3
synced 2025-10-09 09:21:56 +00:00
introduce notion of auxiliary constraints created by nla_solver lemmas
notes: auxiliary constraints could extend to Gomory and B&B.
This commit is contained in:
parent
93d5e3f28e
commit
8d1e954709
5 changed files with 29 additions and 2 deletions
|
@ -319,6 +319,12 @@ public:
|
|||
bool compare_values(lpvar j, lconstraint_kind kind, const mpq& right_side);
|
||||
lpvar add_term(const vector<std::pair<mpq, lpvar>>& coeffs, unsigned ext_i);
|
||||
void register_existing_terms();
|
||||
class scoped_auxiliary {
|
||||
lar_solver& s;
|
||||
public:
|
||||
scoped_auxiliary(lar_solver& s);
|
||||
~scoped_auxiliary();
|
||||
};
|
||||
constraint_index add_var_bound(lpvar, lconstraint_kind, const mpq&);
|
||||
constraint_index add_var_bound_check_on_equal(lpvar, lconstraint_kind, const mpq&, lpvar&);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue