Skip to content

Commit

Permalink
remove verbose logging
Browse files Browse the repository at this point in the history
  • Loading branch information
NikolajBjorner committed Nov 7, 2023
1 parent e86eae2 commit 2d1f4d5
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/smt/theory_arith_int.h
Original file line number Diff line number Diff line change
Expand Up @@ -437,17 +437,11 @@ namespace smt {
*/
template<typename Ext>
bool theory_arith<Ext>::is_gomory_cut_target(row const & r) {
TRACE("gomory_cut", r.display(tout););
theory_var b = r.get_base_var();
for (auto& e : r) {
// 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())) {
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";);
if (!e.is_dead() && e.m_var != b && (!at_bound(e.m_var) || !get_value(e.m_var).is_rational()))
return false;
}
}
return true;
}
Expand Down

0 comments on commit 2d1f4d5

Please sign in to comment.