From 9b988ce7f4dafb8aaaf5c859aa621fb9e07ac7e6 Mon Sep 17 00:00:00 2001 From: YuhangQ Date: Thu, 20 Apr 2023 13:01:51 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=20RS=20=E7=9A=84=20BUG?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- run.sh | 3 +++ src/solve.cpp | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/run.sh b/run.sh index adaed5b..ff36f2c 100755 --- a/run.sh +++ b/run.sh @@ -17,6 +17,9 @@ # 04157f716c1e9606c6a530657bf8f957-Kakuro-easy-125-ext.xml.hg_4.cnf +#每次都有BUG +# 3d2a6e5c2f8f58dee79fd50444009625-cfi-rigid-z2-0088-03-or_2_shuffle_all.cnf + # 这个存在问题 DIR=/pub/data/chenzh/data/sat2022 diff --git a/src/solve.cpp b/src/solve.cpp index 44c44f5..6f015ab 100644 --- a/src/solve.cpp +++ b/src/solve.cpp @@ -77,7 +77,7 @@ void light::diversity_workers() { if(worker_type == SAT) { if (OPT(shuffle)) { - if (i) workers[i]->configure("order_reset", i); + if (i) workers[i]->configure("order_reset", (rank - 1) * OPT(threads) + i); } workers[i]->configure("stable", 1);