diff --git a/Scripts/spsa_output.txt b/Scripts/spsa_output.txt index e69de29..5f90346 100644 --- a/Scripts/spsa_output.txt +++ b/Scripts/spsa_output.txt @@ -0,0 +1,42 @@ +lmrBaseQuiet, 1.1029723689888005 +lmrDivisorQuiet, 2.3063513397139945 +lmrBaseNoisy, 0.451805556082857 +lmrDivisorNoisy, 3.1355330830404338 +lmrCutnode, 2005 +lmrIsPV, 982 +lmrTTPV, 936 +lmrHistoryDivisor, 8377 +lmrImproving, 1131 +lmrCorrplexity, 830 +lmrTTPVFailLow, 913 +lmrDeeperBase, 46 +rfpBase, 21 +rfpMargin, 97 +fpMargin, 86 +probcutBetaMargin, 190 +razoringScalar, 195 +doubleExtMargin, 32 +seeQuietThreshold, -81 +seeNoisyThreshold, -32 +aspInitialDelta, 26 +nmpBetaMargin, 25 +seePawnValue, 98 +seeKnightValue, 301 +seeBishopValue, 346 +seeRookValue, 507 +seeQueenValue, 924 +seeQsThreshold, -13 +seeOrderingThreshold, -102 +ldseMargin, 26 +historyBonusMultiplier, 306 +historyBonusSub, 252 +historyMalusMultiplier, 301 +historyMalusSub, 250 +contHistoryBonusMultiplier, 300 +contHistoryBonusSub, 252 +contHistoryMalusMultiplier, 300 +contHistoryMalusSub, 249 +captHistoryBonusMultiplier, 302 +captHistoryBonusSub, 249 +captHistoryMalusMultiplier, 300 +captHistoryMalusSub, 249 diff --git a/source/tunables.h b/source/tunables.h index c617a36..0bfba91 100644 --- a/source/tunables.h +++ b/source/tunables.h @@ -10,48 +10,48 @@ #define AUTO_R_END_FLOAT 0.002 #define TUNABLE_LIST \ - X_DOUBLE(lmrBaseQuiet, 1.1, 0.6, 1.6) \ - X_DOUBLE(lmrDivisorQuiet, 2.33, 1.6, 3.6) \ - X_DOUBLE(lmrBaseNoisy, 0.41, 0.1, 1.1) \ - X_DOUBLE(lmrDivisorNoisy, 3.20, 2.0, 4.5) \ - X_INT(lmrCutnode, 2048, 1024, 3072) \ - X_INT(lmrIsPV, 1024, 256, 2048) \ - X_INT(lmrTTPV, 1024, 256, 2048) \ - X_INT(lmrHistoryDivisor, 8192, 4096, 16384) \ - X_INT(lmrImproving, 1024, 256, 2048) \ - X_INT(lmrCorrplexity, 1024, 256, 2048) \ - X_INT(lmrTTPVFailLow, 1024, 256, 2048) \ - X_INT(lmrDeeperBase, 30, 0, 96) \ - X_INT(rfpBase, 25, 0, 100) \ - X_INT(rfpMargin, 100, 50, 200) \ - X_INT(fpMargin, 100, 50, 200) \ - X_INT(probcutBetaMargin, 200, 100, 300) \ - X_INT(razoringScalar, 200, 80, 320) \ - X_INT(doubleExtMargin, 30, 8, 64) \ - X_INT(seeQuietThreshold, -80, -160, 0) \ - X_INT(seeNoisyThreshold, -30, -120, 40) \ - X_INT(aspInitialDelta, 30, 8, 96) \ - X_INT(nmpBetaMargin, 30, 8, 96) \ - X_INT(seePawnValue, 100, 80, 140) \ - X_INT(seeKnightValue, 300, 240, 420) \ - X_INT(seeBishopValue, 350, 250, 450) \ - X_INT(seeRookValue, 500, 400, 700) \ - X_INT(seeQueenValue, 900, 700, 1300) \ - X_INT(seeQsThreshold, 0, -120, 120) \ - X_INT(seeOrderingThreshold, -100, -200, 0) \ - X_INT(ldseMargin, 25, 0, 96) \ - X_INT(historyBonusMultiplier, 300, 280, 320) \ - X_INT(historyBonusSub, 250, 235, 265) \ - X_INT(historyMalusMultiplier, 300, 280, 320) \ + X_DOUBLE(lmrBaseQuiet, 1.1029723689888005, 0.6, 1.6) \ + X_DOUBLE(lmrDivisorQuiet, 2.3063513397139945, 1.6, 3.6) \ + X_DOUBLE(lmrBaseNoisy, 0.451805556082857, 0.1, 1.1) \ + X_DOUBLE(lmrDivisorNoisy, 3.1355330830404338, 2.0, 4.5) \ + X_INT(lmrCutnode, 2005, 1024, 3072) \ + X_INT(lmrIsPV, 982, 256, 2048) \ + X_INT(lmrTTPV, 936, 256, 2048) \ + X_INT(lmrHistoryDivisor, 8377, 4096, 16384) \ + X_INT(lmrImproving, 1131, 256, 2048) \ + X_INT(lmrCorrplexity, 830, 256, 2048) \ + X_INT(lmrTTPVFailLow, 913, 256, 2048) \ + X_INT(lmrDeeperBase, 46, 0, 96) \ + X_INT(rfpBase, 21, 0, 100) \ + X_INT(rfpMargin, 97, 50, 200) \ + X_INT(fpMargin, 86, 50, 200) \ + X_INT(probcutBetaMargin, 190, 100, 300) \ + X_INT(razoringScalar, 195, 80, 320) \ + X_INT(doubleExtMargin, 32, 8, 64) \ + X_INT(seeQuietThreshold, -81, -160, 0) \ + X_INT(seeNoisyThreshold, -32, -120, 40) \ + X_INT(aspInitialDelta, 26, 8, 96) \ + X_INT(nmpBetaMargin, 25, 8, 96) \ + X_INT(seePawnValue, 98, 80, 140) \ + X_INT(seeKnightValue, 301, 240, 420) \ + X_INT(seeBishopValue, 346, 250, 450) \ + X_INT(seeRookValue, 507, 400, 700) \ + X_INT(seeQueenValue, 924, 700, 1300) \ + X_INT(seeQsThreshold, -13, -120, 120) \ + X_INT(seeOrderingThreshold, -102, -200, 0) \ + X_INT(ldseMargin, 26, 0, 96) \ + X_INT(historyBonusMultiplier, 306, 280, 320) \ + X_INT(historyBonusSub, 252, 235, 265) \ + X_INT(historyMalusMultiplier, 301, 280, 320) \ X_INT(historyMalusSub, 250, 235, 265) \ X_INT(contHistoryBonusMultiplier, 300, 280, 320) \ - X_INT(contHistoryBonusSub, 250, 235, 265) \ + X_INT(contHistoryBonusSub, 252, 235, 265) \ X_INT(contHistoryMalusMultiplier, 300, 280, 320) \ - X_INT(contHistoryMalusSub, 250, 235, 265) \ - X_INT(captHistoryBonusMultiplier, 300, 280, 320) \ - X_INT(captHistoryBonusSub, 250, 235, 265) \ + X_INT(contHistoryMalusSub, 249, 235, 265) \ + X_INT(captHistoryBonusMultiplier, 302, 280, 320) \ + X_INT(captHistoryBonusSub, 249, 235, 265) \ X_INT(captHistoryMalusMultiplier, 300, 280, 320) \ - X_INT(captHistoryMalusSub, 250, 235, 265) + X_INT(captHistoryMalusSub, 249, 235, 265) #ifdef TUNING #define X_DOUBLE(name, default_val, min_val, max_val) \