Commit 15eb340c authored by Masahiko Sakai's avatar Masahiko Sakai

cnf production

parent a89667ad
......@@ -369,10 +369,10 @@ void parseOptions(int argc, char** argv)
&& opt_solver != st_Glucose10)
reportf("We set -GM because of -extract-ucore.\n"), opt_solver = st_GlueMiniSat;
/*
if (opt_cnf != NULL && (opt_solver == st_ES1Sat || opt_solver == st_CCMiniSat))
reportf("-cnf option is not handled by ES1Sat/CCMiniSat. We set -M2 instead.\n"), opt_solver = st_MiniSat22;
if (opt_cnf != NULL && (opt_solver == st_ES1Sat || opt_solver == st_CCMiniSat || opt_solver == st_SatELite))
reportf("-cnf option is not supported by ES1Sat/CCMiniSat/Satelite. We set -GM instead.\n"), opt_solver = st_GlueMiniSat;
/*
if (opt_cnf != NULL && opt_simp_solver)
reportf("We set -noSimp because of -cnf.\n"), opt_simp_solver = false;
*/
......
......@@ -476,7 +476,8 @@ public:
} else if (simp_glueminisat) {
simp_glueminisat->toDimacs(filename);
} else
assert(false);
reportf("-cnf: unsupported option.\n"),exit(1);
// assert(false);
}
//- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment