mirror of
https://github.com/Z3Prover/z3
synced 2025-10-09 01:11:55 +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
|
@ -1744,6 +1744,14 @@ namespace lp {
|
|||
A_r().m_columns.pop_back();
|
||||
}
|
||||
|
||||
lar_solver::scoped_auxiliary::scoped_auxiliary(lar_solver& s) : s(s) {
|
||||
s.m_imp->m_constraints.set_auxiliary(true);
|
||||
}
|
||||
|
||||
lar_solver::scoped_auxiliary::~scoped_auxiliary() {
|
||||
s.m_imp->m_constraints.set_auxiliary(false);
|
||||
}
|
||||
|
||||
void lar_solver::remove_last_column_from_basis_tableau(unsigned j) {
|
||||
auto& rslv = get_core_solver().m_r_solver;
|
||||
int i = rslv.m_basis_heading[j];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue