mirror of
https://github.com/Z3Prover/z3
synced 2025-07-30 16:03:16 +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
|
@ -63,6 +63,8 @@ struct solver::imp {
|
|||
|
||||
for (auto ci : lra.constraints().indices()) {
|
||||
auto const& c = lra.constraints()[ci];
|
||||
if (c.is_auxiliary())
|
||||
continue;
|
||||
for (auto const& [coeff, v] : c.coeffs()) {
|
||||
var2occurs.reserve(v + 1);
|
||||
var2occurs[v].constraints.push_back(ci);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue