projects
/
cvc5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
de06ddb
)
Use expr miner timeout (#6321)
author
Andrew Reynolds
<andrew.j.reynolds@gmail.com>
Fri, 9 Apr 2021 13:13:37 +0000
(08:13 -0500)
committer
GitHub
<noreply@github.com>
Fri, 9 Apr 2021 13:13:37 +0000
(13:13 +0000)
We currently were ignoring the option --sygus-expr-miner-timeout=N. This corrects the issue.
src/theory/quantifiers/expr_miner.cpp
patch
|
blob
|
history
diff --git
a/src/theory/quantifiers/expr_miner.cpp
b/src/theory/quantifiers/expr_miner.cpp
index 801bde022df3b60b01decc81459a65be262c8103..77573e7e3e622e070740b90b36fbf7a88f36b8b5 100644
(file)
--- a/
src/theory/quantifiers/expr_miner.cpp
+++ b/
src/theory/quantifiers/expr_miner.cpp
@@
-75,7
+75,14
@@
void ExprMiner::initializeChecker(std::unique_ptr<SmtEngine>& checker,
Node query)
{
Assert (!query.isNull());
- initializeSubsolver(checker);
+ if (options::sygusExprMinerCheckTimeout.wasSetByUser())
+ {
+ initializeSubsolver(checker, true, options::sygusExprMinerCheckTimeout());
+ }
+ else
+ {
+ initializeSubsolver(checker);
+ }
// also set the options
checker->setOption("sygus-rr-synth-input", "false");
checker->setOption("input-language", "smt2");