fixed maple sharing bug
This commit is contained in:
parent
24b7822ca5
commit
a24d155005
2
run.sh
2
run.sh
@ -23,7 +23,7 @@
|
|||||||
# 这个存在问题
|
# 这个存在问题
|
||||||
DIR=/pub/data/chenzh/data/sat2022
|
DIR=/pub/data/chenzh/data/sat2022
|
||||||
# INSTANCE=tseitingrid7x165_shuffled.cnf
|
# 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
|
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
|
||||||
|
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
// Macros for minisat literal representation conversion
|
// Macros for minisat literal representation conversion
|
||||||
#define MINI_LIT(lit) lit > 0 ? MapleCOMSPS::mkLit(lit - 1, false) : MapleCOMSPS::mkLit((-lit) - 1, true)
|
#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) {
|
void basemaple::add(int l) {
|
||||||
puts("wrong");
|
puts("wrong");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user