3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-07-18 18:36:41 +00:00

some duality fixes

This commit is contained in:
Ken McMillan 2013-08-16 18:38:24 -07:00
parent d8b31773b8
commit 07bb534d65
9 changed files with 2461 additions and 20 deletions

View file

@ -916,7 +916,7 @@ namespace Duality {
return true;
}
#ifdef UNDERAPPROX_NODES
if(0 && last_decisions > 5000){
if(UseUnderapprox && last_decisions > 500){
std::cout << "making an underapprox\n";
ExpandNodeFromCoverFail(node);
}
@ -1642,7 +1642,7 @@ namespace Duality {
std::set<Node *> old_choices;
void ExpansionChoices(std::set<Node *> &best, bool high_priority){
if(!underapprox || constrained){
if(!underapprox || constrained || high_priority){
ExpansionChoicesFull(best, high_priority);
return;
}