summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMorgan Deters <mdeters@cs.nyu.edu>2013-02-03 16:05:37 -0500
committerMorgan Deters <mdeters@cs.nyu.edu>2013-02-03 16:15:14 -0500
commit72cae59d28aa43b734148090feb3b8cf4ecd2074 (patch)
tree0a35cb1c706abfb5d6f37694779bbf895fd6b4d3 /src
parentc7892fd17983a27d06b56c47f8125d50c691451c (diff)
Some cleanup of miplib regressions and options
Diffstat (limited to 'src')
-rw-r--r--src/smt/smt_engine.cpp3
-rw-r--r--src/theory/arith/options4
2 files changed, 3 insertions, 4 deletions
diff --git a/src/smt/smt_engine.cpp b/src/smt/smt_engine.cpp
index 73e2b84c4..4104c0916 100644
--- a/src/smt/smt_engine.cpp
+++ b/src/smt/smt_engine.cpp
@@ -2202,7 +2202,6 @@ void SmtEnginePrivate::doMiplibTrick() {
Debug("miplib") << " -- INELIGIBLE " << (*j).first << " -- (insufficiently marked, got " << (*j).second << " for " << numVars << " vars, expected " << expected << endl;
} else {
if(false) { //checks[(*j).first] != coef[(*j).first][0] + coef[(*j).first][1]) {
-#warning fixme
Debug("miplib") << " -- INELIGIBLE " << (*j).first << " -- (not linear combination)" << endl;
} else {
Debug("miplib") << " -- ELIGIBLE " << *i << " , " << (*j).first << " --" << endl;
@@ -2252,7 +2251,7 @@ void SmtEnginePrivate::doMiplibTrick() {
//Warning() << "REPLACE " << newAssertion[1] << endl;
//Warning() << "ORIG " << d_topLevelSubstitutions.getSubstitution(newAssertion[0]) << endl;
Assert(d_topLevelSubstitutions.getSubstitution(newAssertion[0]) == newAssertion[1]);
- } else if(arithMLTrickSubstitutions) {
+ } else if(options::arithMLTrickSubstitutions()) {
d_topLevelSubstitutions.addSubstitution(newAssertion[0], newAssertion[1]);
}
Debug("miplib") << "addSubs: " << newAssertion[0] << " to " << newAssertion[1] << endl;
diff --git a/src/theory/arith/options b/src/theory/arith/options
index 2a745a608..e12120f33 100644
--- a/src/theory/arith/options
+++ b/src/theory/arith/options
@@ -51,11 +51,11 @@ option arithRewriteEq --enable-arith-rewrite-equalities/--disable-arith-rewrite-
turns on the preprocessing rewrite turning equalities into a conjunction of inequalities
/turns off the preprocessing rewrite turning equalities into a conjunction of inequalities
-option arithMLTrick miplib-trick --enable-miplib-trick/--disable-miplib-trick bool :default true
+option arithMLTrick miplib-trick --enable-miplib-trick/--disable-miplib-trick bool :default false
turns on the preprocessing step of attempting to infer bounds on miplib problems
/turns off the preprocessing step of attempting to infer bounds on miplib problems
-option arithMLTrickSubstitutions miplib-trick-subs --miplib-trick-subs :default true
+option arithMLTrickSubstitutions miplib-trick-subs --miplib-trick-subs bool :default true
does top-level substitution for miplib 'tmp' vars
option doCutAllBounded --enable-cut-all-bounded/--disable-cut-all-bounded bool :default false :read-write
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback