mirror of
https://github.com/Z3Prover/z3
synced 2025-04-28 11:25:51 +00:00
make difference logic simplex optimizer incremental
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
c1580fb85a
commit
d9c61464d0
6 changed files with 159 additions and 56 deletions
|
@ -280,6 +280,16 @@ namespace simplex {
|
|||
}
|
||||
}
|
||||
|
||||
template<typename Ext>
|
||||
void sparse_matrix<Ext>::reset() {
|
||||
m_rows.reset();
|
||||
m_dead_rows.reset();
|
||||
m_columns.reset();
|
||||
m_var_pos.reset();
|
||||
m_var_pos_idx.reset();
|
||||
|
||||
}
|
||||
|
||||
template<typename Ext>
|
||||
void sparse_matrix<Ext>::ensure_var(var_t v) {
|
||||
while (m_columns.size() <= v) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue