diff --git a/experiment/cal.py b/experiment/cal.py index 25624a8..a307bbf 100755 --- a/experiment/cal.py +++ b/experiment/cal.py @@ -274,7 +274,9 @@ def gen_samples(dir): if __name__ == "__main__": solvers = [] # solvers.append(solver_SAT_standard_gnomon("/pub/netdisk1/qianyh/aws-batch-comp-infrastructure-sample/docker/runner/exp-result","mallob")) - solvers.append(solver_SAT_standard_gnomon("./exp-result","light-new")) + solvers.append(solver_SAT_standard_gnomon("./light-3m-no-pre","light-3m-no-pre")) + solvers.append(solver_SAT_standard_gnomon("./light-3m","light-3m")) + solvers.append(solver_SAT_standard_gnomon("./light-no-bug","light-no-bug")) solvers.append(solver_SAT_standard_gnomon("./light-circle","light-circle")) solvers.append(solver_SAT_standard_gnomon("./light-circle-unique","light-circle-unique")) solvers.append(solver_SAT_standard_gnomon("./first_version","bug-cloud")) diff --git a/src/solve.cpp b/src/solve.cpp index dba305a..6e37c30 100644 --- a/src/solve.cpp +++ b/src/solve.cpp @@ -72,7 +72,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);