We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1b75504 commit 9a18628Copy full SHA for 9a18628
src/math/lp/gomory.cpp
@@ -242,7 +242,6 @@ class create_cut {
242
// gomory will be t >= k and the current solution has a property t < k
243
m_k = 1;
244
m_t.clear();
245
- mpq m_f = fractional_part(get_value(m_inf_col));
246
TRACE("gomory_cut_detail", tout << "m_f: " << m_f << ", ";
247
tout << "1 - m_f: " << 1 - m_f << ", get_value(m_inf_col).x - m_f = " << get_value(m_inf_col).x - m_f << "\n";);
248
lp_assert(m_f.is_pos() && (get_value(m_inf_col).x - m_f).is_int());
@@ -257,7 +256,6 @@ class create_cut {
257
256
}
258
m_big_number = m_abs_max.expt(2);
259
#endif
260
- mpq one_min_m_f = 1 - m_f;
261
for (const auto & p : m_row) {
262
unsigned j = p.var();
263
if (j == m_inf_col) {
0 commit comments