fixed maple sharing bug

This commit is contained in:
ihan-o 2023-05-14 00:09:50 +08:00
parent 24b7822ca5
commit a24d155005
4 changed files with 1786 additions and 64888 deletions

66472
res.txt

File diff suppressed because one or more lines are too long

198
res2.txt

File diff suppressed because one or more lines are too long

2
run.sh
View File

@ -23,7 +23,7 @@
# 这个存在问题
DIR=/pub/data/chenzh/data/sat2022
# INSTANCE=tseitingrid7x165_shuffled.cnf
INSTANCE=a44fce1796383ea31df08af3b0f65db3-soelberg_unit_159.cnf
INSTANCE=5601a7e094f61f3c5af461300c25243f-summle_X111107_steps8_I1-2-2-4-4-8-25-100.cnf
make -j && mpirun --bind-to none -np 9 --allow-run-as-root ./light -i $DIR/$INSTANCE --shuffle=1 --share=1 --threads=16 --times=3600 --share_method=0

View File

@ -9,7 +9,7 @@
// Macros for minisat literal representation conversion
#define MINI_LIT(lit) lit > 0 ? MapleCOMSPS::mkLit(lit - 1, false) : MapleCOMSPS::mkLit((-lit) - 1, true)
#define INT_LIT(lit) sign(lit) ? -(var(lit) + 1) : (var(lit) + 1)
#define INT_LIT(lit) MapleCOMSPS::sign(lit) ? -(var(lit) + 1) : (var(lit) + 1)
void basemaple::add(int l) {
puts("wrong");