#OPTIMIZE = -g -pg # Debugging and gprof-style profiling
OPTIMIZE = -g # Debugging
-OPTIMIZE = -O3 # Maximum optimization
+OPTIMIZE = -O3 -fPIC # Maximum optimization
#OPTIMIZE = -O3 -march=native # Maximum optimization
#OPTIMIZE = -O3 -march=native -DNDEBUG -DLESSBYTES_PERNODE
#CFLAGS_M32 = -m32
CFLAGS_BASE = $(OPTIMIZE)
# OPTION to compile CRYPTOMiniSAT
-# CRYPTOMINISAT = true
-# CFLAGS_BASE = $(OPTIMIZE) -DCRYPTOMINISAT
-# MTL = ../sat/cryptominisat/mtl
-# SOLVER_INCLUDE = ../sat/cryptominisat
+CRYPTOMINISAT = true
+CFLAGS_BASE = $(OPTIMIZE) -DCRYPTOMINISAT
+MTL = ../sat/cryptominisat/mtl
+SOLVER_INCLUDE = ../sat/cryptominisat
# OPTION to compile CRYPTOMiniSAT version 2.x
-CRYPTOMINISAT2 = true
-CFLAGS_BASE = $(OPTIMIZE) -DCRYPTOMINISAT2
-MTL = ../sat/cryptominisat2/mtl
-SOLVER_INCLUDE = ../sat/cryptominisat2
+# CRYPTOMINISAT2 = true
+# CFLAGS_BASE = $(OPTIMIZE) -DCRYPTOMINISAT2
+# MTL = ../sat/cryptominisat2/mtl
+# SOLVER_INCLUDE = ../sat/cryptominisat2
# OPTION to compile MiniSAT
#CORE = true
{
cl_size = CLAUSAL_BUCKET_LIMIT;
}
- else
- {
- cl_size = CLAUSAL_BUCKET_LIMIT-1;
- }
+// else
+// {
+// cl_size = CLAUSAL_BUCKET_LIMIT-1;
+// }
//If no clauses of size cl_size have been seen, then create a
//bucket for that size
newSolver.xorFinder = false;
#endif
- if(enable_clausal_abstraction &&
- count++ >= input_clauselist_size*CLAUSAL_ABSTRACTION_CUTOFF)
- {
- //Arbitrary adding only x% of the clauses in the hopes of
- //terminating early
- // cout << "Percentage clauses added: "
- // << percentage << endl;
- bm->GetRunTimes()->stop(RunTimes::SendingToSAT);
- bm->GetRunTimes()->start(RunTimes::Solving);
- newSolver.solve();
- bm->GetRunTimes()->stop(RunTimes::Solving);
- if(!newSolver.okay())
- {
- return false;
- }
- count = 0;
- flag = 1;
- bm->GetRunTimes()->start(RunTimes::SendingToSAT);
- }
+// if(enable_clausal_abstraction &&
+// count++ >= input_clauselist_size*CLAUSAL_ABSTRACTION_CUTOFF)
+// {
+// //Arbitrary adding only x% of the clauses in the hopes of
+// //terminating early
+// // cout << "Percentage clauses added: "
+// // << percentage << endl;
+// bm->GetRunTimes()->stop(RunTimes::SendingToSAT);
+// bm->GetRunTimes()->start(RunTimes::Solving);
+// newSolver.solve();
+// bm->GetRunTimes()->stop(RunTimes::Solving);
+// if(!newSolver.okay())
+// {
+// return false;
+// }
+// count = 0;
+// flag = 1;
+// bm->GetRunTimes()->start(RunTimes::SendingToSAT);
+// }
if (newSolver.okay())
{
continue;