mirror of
https://github.com/Z3Prover/z3
synced 2026-02-23 08:47:37 +00:00
enable concurrent sls with new solver core
allow using sls engine (for bit-vectors) with the new core. Examples z3 sat.smt=true tactic.default_tactic=smt /v:1 smt.sls.enable=true smt.bv.solver=0 /st C:\QF_BV_SAT\bench_10.smt2 z3 sat.smt=true tactic.default_tactic=smt /v:1 smt.sls.enable=true smt.bv.solver=2 /st C:\QF_BV_SAT\bench_10.smt2 z3 C:\QF_BV_SAT\bench_11100.smt2 sat.smt=true tactic.default_tactic=smt /v:1 smt.sls.enable=true smt.bv.solver=2 /st
This commit is contained in:
parent
510534dbd4
commit
c0bdc7cdd6
19 changed files with 206 additions and 83 deletions
|
|
@ -1314,7 +1314,7 @@ namespace sat {
|
|||
}
|
||||
|
||||
bool solver::should_cancel() {
|
||||
if (limit_reached() || memory_exceeded()) {
|
||||
if (limit_reached() || memory_exceeded() || m_solver_canceled) {
|
||||
return true;
|
||||
}
|
||||
if (m_config.m_restart_max <= m_restarts) {
|
||||
|
|
@ -1959,6 +1959,7 @@ namespace sat {
|
|||
|
||||
void solver::init_search() {
|
||||
m_model_is_current = false;
|
||||
m_solver_canceled = false;
|
||||
m_phase_counter = 0;
|
||||
m_search_state = s_unsat;
|
||||
m_search_unsat_conflicts = m_config.m_search_unsat_conflicts;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue