mirror of
https://github.com/Z3Prover/z3
synced 2025-11-26 07:29:33 +00:00
add basic linearization as pre-processing and refinement
This commit is contained in:
parent
a12f4b9686
commit
360de4af03
4 changed files with 298 additions and 99 deletions
|
|
@ -46,6 +46,7 @@ namespace nla {
|
|||
if (visited.contains(v))
|
||||
continue;
|
||||
visited.insert(v);
|
||||
m_var_set.insert(v);
|
||||
var2occurs.reserve(v + 1);
|
||||
for (auto ci : var2occurs[v].constraints) {
|
||||
m_constraint_set.insert(ci);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue