Skip to content

Commit 2c8a6f8

Browse files
committed
change int_solver to call find_cube and hnf_cut, conditionally
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
1 parent 39da4f6 commit 2c8a6f8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/math/lp/int_solver.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ namespace lp {
186186
lp_settings& settings() { return lra.settings(); }
187187

188188
bool should_find_cube() {
189-
return false && m_number_of_calls % settings().m_int_find_cube_period == 0;
189+
return m_number_of_calls % settings().m_int_find_cube_period == 0;
190190
}
191191

192192
bool should_gomory_cut() {
@@ -199,7 +199,7 @@ namespace lp {
199199
}
200200

201201
bool should_hnf_cut() {
202-
return false && settings().enable_hnf() && m_number_of_calls % settings().hnf_cut_period() == 0;
202+
return !settings().dio_cuts() && settings().enable_hnf() && m_number_of_calls % settings().hnf_cut_period() == 0;
203203
}
204204

205205
lia_move hnf_cut() {

0 commit comments

Comments
 (0)