@@ -218,8 +218,12 @@ struct lp_settings {
218218 void updt_params (params_ref const & p);
219219 bool enable_hnf () const { return m_enable_hnf; }
220220 unsigned nlsat_delay () const { return m_nlsat_delay; }
221- bool int_run_gcd_test () const { return m_int_run_gcd_test; }
222- bool & int_run_gcd_test () { return m_int_run_gcd_test; }
221+ bool int_run_gcd_test () const {
222+ if (!m_dio)
223+ return m_int_run_gcd_test;
224+ return m_dio_run_gcd;
225+ }
226+ void set_run_gcd_test (bool v) { m_int_run_gcd_test = v; }
223227 unsigned reps_in_scaler = 20 ;
224228 int c_partial_pivoting = 10 ; // this is the constant c from page 410
225229 unsigned depth_of_rook_search = 4 ;
@@ -254,15 +258,15 @@ struct lp_settings {
254258 bool m_enable_hnf = true ;
255259 bool m_print_external_var_name = false ;
256260 bool m_propagate_eqs = false ;
257- bool m_dio_eqs = false ;
261+ bool m_dio = false ;
258262 bool m_dio_enable_gomory_cuts = false ;
259263 bool m_dio_enable_hnf_cuts = true ;
260264 unsigned m_dio_branching_period = 100 ; // do branching rarely
261265 unsigned m_dio_report_branch_with_term_tigthening_period = 10000000 ; // period of reporting the branch with term tigthening
262266 bool m_dump_bound_lemmas = false ;
263267 bool m_dio_ignore_big_nums = false ;
264268 unsigned m_dio_calls_period = 4 ;
265-
269+ bool m_dio_run_gcd = true ;
266270public:
267271 unsigned dio_calls_period () const { return m_dio_calls_period; }
268272 unsigned & dio_calls_period () { return m_dio_calls_period; }
@@ -272,9 +276,10 @@ struct lp_settings {
272276 void set_hnf_cut_period (unsigned period) { m_hnf_cut_period = period; }
273277 unsigned random_next () { return m_rand (); }
274278 unsigned random_next (unsigned u ) { return m_rand (u); }
275- bool dio_eqs () { return m_dio_eqs; }
276- bool dio_enable_gomory_cuts () const { return m_dio_eqs && m_dio_enable_gomory_cuts; }
277- bool dio_enable_hnf_cuts () const { return m_dio_eqs && m_dio_enable_hnf_cuts; }
279+ bool dio () { return m_dio; }
280+ bool dio_enable_gomory_cuts () const { return m_dio && m_dio_enable_gomory_cuts; }
281+ bool dio_run_gcd () const { return m_dio && m_dio_run_gcd; }
282+ bool dio_enable_hnf_cuts () const { return m_dio && m_dio_enable_hnf_cuts; }
278283 unsigned dio_branching_period () const { return m_dio_branching_period; }
279284 bool dio_ignore_big_nums () const { return m_dio_ignore_big_nums; }
280285 void set_random_seed (unsigned s) { m_rand.set_seed (s); }
0 commit comments