summaryrefslogtreecommitdiff
path: root/src/smt
diff options
context:
space:
mode:
authorajreynol <reynolds@larapc05.epfl.ch>2014-05-13 17:18:18 +0200
committerajreynol <reynolds@larapc05.epfl.ch>2014-05-13 17:18:23 +0200
commit977bdcdcbab6ffdf757e3837d2f555a53cbb6daf (patch)
treeb32a630f5c780ec77ba2ffbce0f498252de7d7b1 /src/smt
parent1d29f568aba39501d09284c4139847fbe688efcc (diff)
Add lazy strategy for bounded integers to avoid non-terminating unsat cases. Add regressions.
Diffstat (limited to 'src/smt')
-rw-r--r--src/smt/smt_engine.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/smt/smt_engine.cpp b/src/smt/smt_engine.cpp
index 0604988d3..4deb43f42 100644
--- a/src/smt/smt_engine.cpp
+++ b/src/smt/smt_engine.cpp
@@ -941,6 +941,9 @@ void SmtEngine::setDefaults() {
Trace("smt") << "turning on finite-model-find, for strings-exp" << std::endl;
}
if(! options::fmfBoundInt.wasSetByUser()) {
+ if(! options::fmfBoundIntLazy.wasSetByUser()) {
+ options::fmfBoundIntLazy.set( true );
+ }
options::fmfBoundInt.set( true );
Trace("smt") << "turning on fmf-bound-int, for strings-exp" << std::endl;
}
@@ -1178,6 +1181,9 @@ void SmtEngine::setDefaults() {
if( options::recurseCbqi() ){
options::cbqi.set( true );
}
+ if(options::fmfBoundIntLazy.wasSetByUser() && options::fmfBoundIntLazy()) {
+ options::fmfBoundInt.set( true );
+ }
if( options::fmfBoundInt() ){
//must have finite model finding on
options::finiteModelFind.set( true );
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback