From b90143cc0eaa11f5c77863129468be8f51584ac3 Mon Sep 17 00:00:00 2001 From: Lev Nachmanson Date: Sun, 6 Dec 2020 18:26:26 -0800 Subject: [PATCH] set the defalt for cheap_eqs=False, do not run Signed-off-by: Lev Nachmanson --- src/math/lp/lar_solver.h | 2 +- src/smt/params/smt_params_helper.pyg | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/math/lp/lar_solver.h b/src/math/lp/lar_solver.h index 57c4453a4d7..87227370ff9 100644 --- a/src/math/lp/lar_solver.h +++ b/src/math/lp/lar_solver.h @@ -366,8 +366,8 @@ class lar_solver : public column_namer { // these two loops should be run sequentially // since the first loop might change column bounds // and add fixed columns this way - bp.clear_for_eq(); if (settings().cheap_eqs()) { + bp.clear_for_eq(); for (unsigned i : m_rows_with_changed_bounds) { calculate_cheap_eqs_for_row(i, bp); if (settings().get_cancel_flag()) diff --git a/src/smt/params/smt_params_helper.pyg b/src/smt/params/smt_params_helper.pyg index 227604b26d1..b0ac608aedd 100644 --- a/src/smt/params/smt_params_helper.pyg +++ b/src/smt/params/smt_params_helper.pyg @@ -49,7 +49,7 @@ def_module_params(module_name='smt', ('bv.watch_diseq', BOOL, False, 'use watch lists instead of eager axioms for bit-vectors'), ('bv.delay', BOOL, True, 'delay internalize expensive bit-vector operations'), ('arith.random_initial_value', BOOL, False, 'use random initial values in the simplex-based procedure for linear arithmetic'), - ('arith.cheap_eqs', BOOL, True, 'false - do not run, true - run cheap equality heuristic'), + ('arith.cheap_eqs', BOOL, False, 'false - do not run, true - run cheap equality heuristic'), ('arith.solver', UINT, 6, 'arithmetic solver: 0 - no solver, 1 - bellman-ford based solver (diff. logic only), 2 - simplex based solver, 3 - floyd-warshall based solver (diff. logic only) and no theory combination 4 - utvpi, 5 - infinitary lra, 6 - lra solver'), ('arith.nl', BOOL, True, '(incomplete) nonlinear arithmetic support based on Groebner basis and interval propagation, relevant only if smt.arith.solver=2'), ('arith.nl.nra', BOOL, True, 'call nra_solver when incremental lianirization does not produce a lemma, this option is ignored when arith.nl=false, relevant only if smt.arith.solver=6'),