From 314e777887f32c8cf656dbc56f370da6dd0bf76e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Dejan=20Jovanovi=C4=87?= Date: Fri, 20 Aug 2010 18:23:53 +0000 Subject: [PATCH] updating the minisat restart parameters after running some experiments --- src/prop/minisat/core/Solver.cc | 4 ++-- src/prop/sat.h | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/prop/minisat/core/Solver.cc b/src/prop/minisat/core/Solver.cc index 39978ab5e..e8efe3d03 100644 --- a/src/prop/minisat/core/Solver.cc +++ b/src/prop/minisat/core/Solver.cc @@ -42,8 +42,8 @@ static IntOption opt_ccmin_mode (_cat, "ccmin-mode", "Controls confl static IntOption opt_phase_saving (_cat, "phase-saving", "Controls the level of phase saving (0=none, 1=limited, 2=full)", 2, IntRange(0, 2)); static BoolOption opt_rnd_init_act (_cat, "rnd-init", "Randomize the initial activity", false); static BoolOption opt_luby_restart (_cat, "luby", "Use the Luby restart sequence", true); -static IntOption opt_restart_first (_cat, "rfirst", "The base restart interval", 100, IntRange(1, INT32_MAX)); -static DoubleOption opt_restart_inc (_cat, "rinc", "Restart interval increase factor", 2, DoubleRange(1, false, HUGE_VAL, false)); +static IntOption opt_restart_first (_cat, "rfirst", "The base restart interval", 25, IntRange(1, INT32_MAX)); +static DoubleOption opt_restart_inc (_cat, "rinc", "Restart interval increase factor", 3, DoubleRange(1, false, HUGE_VAL, false)); static DoubleOption opt_garbage_frac (_cat, "gc-frac", "The fraction of wasted memory allowed before a garbage collection is triggered", 0.20, DoubleRange(0, false, HUGE_VAL, false)); diff --git a/src/prop/sat.h b/src/prop/sat.h index 8581cd9a0..7229b3565 100644 --- a/src/prop/sat.h +++ b/src/prop/sat.h @@ -233,8 +233,6 @@ inline SatSolver::SatSolver(PropEngine* propEngine, TheoryEngine* theoryEngine, d_minisat = new Minisat::SimpSolver(this, d_context); // Setup the verbosity d_minisat->verbosity = (options->verbosity > 0) ? 1 : -1; - // Do not delete the satisfied clauses, just the learnt ones - d_minisat->remove_satisfied = false; // No random choices if(Debug.isOn("no_rnd_decisions")){ -- 2.30.2