Skip to content

Commit

Permalink
mcsat heuristic update -- use similar heuristic parameters as in cdclt (
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmed-irfan committed Apr 7, 2024
1 parent e7292fd commit 184a969
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/mcsat/bool/bool_plugin.c
Expand Up @@ -128,7 +128,7 @@ void bool_plugin_heuristics_init(bool_plugin_t* bp) {

// Clause database compact
bp->heuristic_params.lemma_limit_init = 1000;
bp->heuristic_params.lemma_limit_factor = 1.1;
bp->heuristic_params.lemma_limit_factor = 1.05;

// Bool var scoring
bp->heuristic_params.bool_var_bump_factor = 5;
Expand Down
4 changes: 2 additions & 2 deletions src/mcsat/solver.c
Expand Up @@ -330,8 +330,8 @@ static
void mcsat_heuristics_init(mcsat_solver_t* mcsat) {
mcsat->heuristic_params.restart_interval = 10;
mcsat->heuristic_params.lemma_restart_weight_type = LEMMA_WEIGHT_SIZE;
mcsat->heuristic_params.random_decision_freq = 0;
mcsat->heuristic_params.random_decision_seed = 0;
mcsat->heuristic_params.random_decision_freq = 0.02;
mcsat->heuristic_params.random_decision_seed = 0xabcdef98;
}

static
Expand Down

0 comments on commit 184a969

Please sign in to comment.