3
0
Fork 0
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:
Nikolaj Bjorner 2025-06-12 20:37:51 -07:00
parent 93d5e3f28e
commit 8d1e954709
5 changed files with 29 additions and 2 deletions

View file

@ -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);