3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-29 03:45:51 +00:00

round the bound for columns and terms when it can be deduced that they are integral

Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
This commit is contained in:
Lev Nachmanson 2020-03-07 13:57:08 -08:00
parent b403b96d38
commit 6ea0bcb454
4 changed files with 43 additions and 12 deletions

View file

@ -159,6 +159,8 @@ public:
bool term_is_int(const lar_term * t) const;
bool term_is_int(const vector<std::pair<mpq, unsigned int>> & coeffs) const;
bool var_is_int(var_index v) const;
void add_non_basic_var_to_core_fields(unsigned ext_j, bool is_int);
@ -167,6 +169,7 @@ public:
void add_new_var_to_core_fields_for_mpq(bool register_in_basis);
mpq adjust_bound_for_int(lpvar j, lconstraint_kind, const mpq&);
// terms