Skip to content

Commit 9a18628

Browse files
committed
remove unnecessary assignments
1 parent 1b75504 commit 9a18628

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/math/lp/gomory.cpp

-2
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,6 @@ class create_cut {
242242
// gomory will be t >= k and the current solution has a property t < k
243243
m_k = 1;
244244
m_t.clear();
245-
mpq m_f = fractional_part(get_value(m_inf_col));
246245
TRACE("gomory_cut_detail", tout << "m_f: " << m_f << ", ";
247246
tout << "1 - m_f: " << 1 - m_f << ", get_value(m_inf_col).x - m_f = " << get_value(m_inf_col).x - m_f << "\n";);
248247
lp_assert(m_f.is_pos() && (get_value(m_inf_col).x - m_f).is_int());
@@ -257,7 +256,6 @@ class create_cut {
257256
}
258257
m_big_number = m_abs_max.expt(2);
259258
#endif
260-
mpq one_min_m_f = 1 - m_f;
261259
for (const auto & p : m_row) {
262260
unsigned j = p.var();
263261
if (j == m_inf_col) {

0 commit comments

Comments
 (0)