mirror of
https://github.com/Z3Prover/z3
synced 2025-04-07 09:55:19 +00:00
remove verbose logging
This commit is contained in:
parent
e86eae27e6
commit
2d1f4d5d93
|
@ -437,17 +437,11 @@ namespace smt {
|
||||||
*/
|
*/
|
||||||
template<typename Ext>
|
template<typename Ext>
|
||||||
bool theory_arith<Ext>::is_gomory_cut_target(row const & r) {
|
bool theory_arith<Ext>::is_gomory_cut_target(row const & r) {
|
||||||
TRACE("gomory_cut", r.display(tout););
|
|
||||||
theory_var b = r.get_base_var();
|
theory_var b = r.get_base_var();
|
||||||
for (auto& e : r) {
|
for (auto& e : r) {
|
||||||
// All non base variables must be at their bounds and assigned to rationals (that is, infinitesimals are not allowed).
|
// All non base variables must be at their bounds and assigned to rationals (that is, infinitesimals are not allowed).
|
||||||
if (!e.is_dead() && e.m_var != b && (!at_bound(e.m_var) || !get_value(e.m_var).is_rational())) {
|
if (!e.is_dead() && e.m_var != b && (!at_bound(e.m_var) || !get_value(e.m_var).is_rational()))
|
||||||
TRACE("gomory_cut", tout << "row is not gomory cut target:\n";
|
|
||||||
display_var(tout, e.m_var);
|
|
||||||
tout << "at_bound: " << at_bound(e.m_var) << "\n";
|
|
||||||
tout << "infinitesimal: " << !get_value(e.m_var).is_rational() << "\n";);
|
|
||||||
return false;
|
return false;
|
||||||
}
|
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue