Skip to content

Commit

Permalink
remove unnecessary assignments
Browse files Browse the repository at this point in the history
  • Loading branch information
levnach committed Dec 19, 2023
1 parent 1b75504 commit 9a18628
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/math/lp/gomory.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,6 @@ class create_cut {
// gomory will be t >= k and the current solution has a property t < k
m_k = 1;
m_t.clear();
mpq m_f = fractional_part(get_value(m_inf_col));
TRACE("gomory_cut_detail", tout << "m_f: " << m_f << ", ";
tout << "1 - m_f: " << 1 - m_f << ", get_value(m_inf_col).x - m_f = " << get_value(m_inf_col).x - m_f << "\n";);
lp_assert(m_f.is_pos() && (get_value(m_inf_col).x - m_f).is_int());
Expand All @@ -257,7 +256,6 @@ class create_cut {
}
m_big_number = m_abs_max.expt(2);
#endif
mpq one_min_m_f = 1 - m_f;
for (const auto & p : m_row) {
unsigned j = p.var();
if (j == m_inf_col) {
Expand Down

0 comments on commit 9a18628

Please sign in to comment.