Skip to content

Commit

Permalink
SAT-bench -B 2971
Browse files Browse the repository at this point in the history
  • Loading branch information
shnarazk committed Sep 20, 2024
1 parent 84f0ce2 commit a9744ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/solver/search.rs
Original file line number Diff line number Diff line change
Expand Up @@ -526,7 +526,7 @@ impl SolveIF for Solver {
let ent: f64 = cdb.refer(cdb::property::TEma::Entanglement).get_slow();
let lbd: f64 = cdb.refer(cdb::property::TEma::LBD).get_slow();
// Note: val can be inf. It got better results.
let val: f64 = 0.5 * ent.min(lbd) + ent.max(lbd) / n.sqrt();
let val: f64 = 0.5 * ent.min(lbd) + ent.max(lbd) / (1.0 + n).log2();
state.reduction_threshold = val;
cdb.reduce(asg, val);
ss.num_reduction += 1;
Expand Down

0 comments on commit a9744ff

Please sign in to comment.