mirror of
https://github.com/Z3Prover/z3
synced 2025-04-24 09:35:32 +00:00
speed up consequence finding by avoiding local search whenver assumption level is reached during the initial phase
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
485372ec2a
commit
24fc19ed58
6 changed files with 29 additions and 9 deletions
|
@ -197,7 +197,13 @@ public:
|
|||
virtual lbool get_consequences(expr_ref_vector const& asms, expr_ref_vector const& vars, expr_ref_vector& consequences) {
|
||||
switch_inc_mode();
|
||||
m_use_solver1_results = false;
|
||||
return m_solver2->get_consequences(asms, vars, consequences);
|
||||
try {
|
||||
return m_solver2->get_consequences(asms, vars, consequences);
|
||||
}
|
||||
catch (z3_exception& ex) {
|
||||
set_reason_unknown(ex.msg());
|
||||
}
|
||||
return l_undef;
|
||||
}
|
||||
|
||||
virtual lbool check_sat(unsigned num_assumptions, expr * const * assumptions) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue