mirror of
https://github.com/Z3Prover/z3
synced 2025-10-09 09:21:56 +00:00
convert m_r_upper and m_r_lower bounds to plain vectors
manage backtracking state together with backtracking of column data.
This commit is contained in:
parent
fae60946bf
commit
e41acd7b50
6 changed files with 46 additions and 24 deletions
|
@ -73,6 +73,14 @@ class lar_solver : public column_namer {
|
|||
}
|
||||
};
|
||||
|
||||
struct column_update {
|
||||
bool is_upper;
|
||||
unsigned j;
|
||||
impq bound;
|
||||
column column;
|
||||
};
|
||||
struct column_update_trail;
|
||||
|
||||
//////////////////// fields //////////////////////////
|
||||
trail_stack m_trail;
|
||||
lp_settings m_settings;
|
||||
|
@ -86,6 +94,8 @@ class lar_solver : public column_namer {
|
|||
bool m_need_register_terms = false;
|
||||
var_register m_var_register;
|
||||
svector<column> m_columns;
|
||||
vector<column_update> m_column_updates;
|
||||
|
||||
constraint_set m_constraints;
|
||||
// the set of column indices j such that bounds have changed for j
|
||||
indexed_uint_set m_columns_with_changed_bounds;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue