Merge branch 'main' of gitea.yuhangq.com:YuhangQ/cloud-sat into main

This commit is contained in:
YuhangQ 2023-04-20 13:02:43 +08:00
commit 1b1c0c81c2
2 changed files with 4 additions and 2 deletions

View File

@ -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"))

View File

@ -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);