mirror of
https://github.com/Z3Prover/z3
synced 2025-08-23 19:47:52 +00:00
Api (#7097)
* rename ul_pair to column Signed-off-by: Lev Nachmanson <levnach@hotmail.com> * t Signed-off-by: Lev Nachmanson <levnach@hotmail.com> * simple test passed * remove an assert * relax an assertion * remove an obsolete function Signed-off-by: Lev Nachmanson <levnach@hotmail.com> * access a term by the term column * remove the column index from colunm.h * remove an unused method * remove debug code * fix the build of lp_tst Signed-off-by: Lev Nachmanson <levnach@hotmail.com> --------- Signed-off-by: Lev Nachmanson <levnach@hotmail.com> Co-authored-by: Lev Nachmanson <levnach@hotmail.com>
This commit is contained in:
parent
133546625c
commit
bdb9106f99
45 changed files with 587 additions and 973 deletions
|
@ -45,8 +45,7 @@ namespace arith {
|
|||
}
|
||||
unsigned nv = get_num_vars();
|
||||
for (unsigned v = 0; v < nv; ++v) {
|
||||
auto t = get_tv(v);
|
||||
auto vi = lp().external_to_column_index(v);
|
||||
auto vi = lp().external_to_local(v);
|
||||
out << "v" << v << " ";
|
||||
if (is_bool(v)) {
|
||||
euf::enode* n = var2enode(v);
|
||||
|
@ -57,10 +56,10 @@ namespace arith {
|
|||
}
|
||||
}
|
||||
else {
|
||||
if (t.is_null())
|
||||
if (vi == lp::null_lpvar)
|
||||
out << "null";
|
||||
else
|
||||
out << (t.is_term() ? "t" : "j") << vi;
|
||||
out << (lp().column_has_term(vi) ? "t" : "j") << vi;
|
||||
if (m_nla && m_nla->use_nra_model() && is_registered_var(v)) {
|
||||
scoped_anum an(m_nla->am());
|
||||
m_nla->am().display(out << " = ", nl_value(v, an));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue