@@ -218,8 +218,12 @@ struct lp_settings {
218
218
void updt_params (params_ref const & p);
219
219
bool enable_hnf () const { return m_enable_hnf; }
220
220
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; }
223
227
unsigned reps_in_scaler = 20 ;
224
228
int c_partial_pivoting = 10 ; // this is the constant c from page 410
225
229
unsigned depth_of_rook_search = 4 ;
@@ -254,15 +258,15 @@ struct lp_settings {
254
258
bool m_enable_hnf = true ;
255
259
bool m_print_external_var_name = false ;
256
260
bool m_propagate_eqs = false ;
257
- bool m_dio_eqs = false ;
261
+ bool m_dio = false ;
258
262
bool m_dio_enable_gomory_cuts = false ;
259
263
bool m_dio_enable_hnf_cuts = true ;
260
264
unsigned m_dio_branching_period = 100 ; // do branching rarely
261
265
unsigned m_dio_report_branch_with_term_tigthening_period = 10000000 ; // period of reporting the branch with term tigthening
262
266
bool m_dump_bound_lemmas = false ;
263
267
bool m_dio_ignore_big_nums = false ;
264
268
unsigned m_dio_calls_period = 4 ;
265
-
269
+ bool m_dio_run_gcd = true ;
266
270
public:
267
271
unsigned dio_calls_period () const { return m_dio_calls_period; }
268
272
unsigned & dio_calls_period () { return m_dio_calls_period; }
@@ -272,9 +276,10 @@ struct lp_settings {
272
276
void set_hnf_cut_period (unsigned period) { m_hnf_cut_period = period; }
273
277
unsigned random_next () { return m_rand (); }
274
278
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; }
278
283
unsigned dio_branching_period () const { return m_dio_branching_period; }
279
284
bool dio_ignore_big_nums () const { return m_dio_ignore_big_nums; }
280
285
void set_random_seed (unsigned s) { m_rand.set_seed (s); }
0 commit comments