From 07abe2529e8fffdf6766951d9bda8373d0a69eca Mon Sep 17 00:00:00 2001 From: rektdie Date: Mon, 8 Sep 2025 18:06:37 +0200 Subject: [PATCH 1/3] lmp less when improving | bench 5654977 --- source/search.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/search.cpp b/source/search.cpp index 574e853..f403764 100644 --- a/source/search.cpp +++ b/source/search.cpp @@ -463,7 +463,7 @@ SearchResults PVS(Board& board, int depth, int alpha, int beta, int ply, SearchC // that are late in the list if (currMove.IsQuiet() && notMated) { - int lmpThreshold = 7 + depth * depth; + int lmpThreshold = (7 + 2 * improving) + depth * depth; if (moveSeen >= lmpThreshold) { continue; -- 2.47.3 From f81a7309943d8b2bac35c3860c530eda41ffc95f Mon Sep 17 00:00:00 2001 From: rektdie Date: Mon, 8 Sep 2025 20:49:01 +0200 Subject: [PATCH 2/3] changed lmp improving formula | bench 6706047 --- source/search.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/search.cpp b/source/search.cpp index f403764..00f38ee 100644 --- a/source/search.cpp +++ b/source/search.cpp @@ -463,7 +463,7 @@ SearchResults PVS(Board& board, int depth, int alpha, int beta, int ply, SearchC // that are late in the list if (currMove.IsQuiet() && notMated) { - int lmpThreshold = (7 + 2 * improving) + depth * depth; + int lmpThreshold = 7 + depth * depth / (2 - improving); if (moveSeen >= lmpThreshold) { continue; -- 2.47.3 From 014d5e05b1fe30a2c4a1a1ebd4849e14294948f0 Mon Sep 17 00:00:00 2001 From: rektdie Date: Mon, 8 Sep 2025 21:03:50 +0200 Subject: [PATCH 3/3] different formula | bench 6535365 --- source/search.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/search.cpp b/source/search.cpp index 00f38ee..6a2099b 100644 --- a/source/search.cpp +++ b/source/search.cpp @@ -463,7 +463,7 @@ SearchResults PVS(Board& board, int depth, int alpha, int beta, int ply, SearchC // that are late in the list if (currMove.IsQuiet() && notMated) { - int lmpThreshold = 7 + depth * depth / (2 - improving); + int lmpThreshold = 7 + depth * depth * (1 + improving); if (moveSeen >= lmpThreshold) { continue; -- 2.47.3