Skip to content

Commit a62d664

Browse files
committed
testing! disable gomory cut in int_solver
Signed-off-by: Lev Nachmanson <[email protected]>
1 parent 5e2d000 commit a62d664

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/math/lp/int_solver.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@ namespace lp {
126126
}
127127

128128
bool all_columns_are_integral() const {
129+
return true; // otherwise it never returns true!
129130
for (lpvar j = 0; j < lra.number_of_vars(); j++)
130131
if (!lra.column_is_int(j))
131132
return false;

src/math/lp/lp_settings.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ void lp::lp_settings::updt_params(params_ref const& _p) {
3434
m_nlsat_delay = p.arith_nl_delay();
3535
m_dio_eqs = p.arith_lp_dio_eqs();
3636
m_dio_enable_gomory_cuts = p.arith_lp_dio_cuts_enable_gomory();
37+
m_dio_enable_hnf_cuts = p.arith_lp_dio_cuts_enable_hnf();
3738
m_dio_branching_period = p.arith_lp_dio_branching_period();
3839
m_dump_bound_lemmas = p.arith_dump_bound_lemmas();
3940
}

0 commit comments

Comments
 (0)