mirror of
https://github.com/Z3Prover/z3
synced 2025-10-10 17:58:06 +00:00
add sat option for doing a global simplification before the bounded search and the main CDCL search loop. The option is also used for the sat-preprocess tacitc (#4514)
Co-authored-by: rainoftime <rainoftime@gmail.com>
This commit is contained in:
parent
41430cd128
commit
55cd1e996c
5 changed files with 14 additions and 0 deletions
|
@ -1222,6 +1222,16 @@ namespace sat {
|
|||
do_gc();
|
||||
}
|
||||
|
||||
if (m_config.m_enable_pre_simplify) {
|
||||
do_simplify();
|
||||
if (check_inconsistent()) return l_false;
|
||||
}
|
||||
|
||||
if (m_config.m_max_conflicts == 0) {
|
||||
IF_VERBOSE(SAT_VB_LVL, verbose_stream() << "(sat \"abort: max-conflicts = 0\")\n";);
|
||||
return l_undef;
|
||||
}
|
||||
|
||||
if (m_config.m_max_conflicts > 0 && m_config.m_burst_search > 0) {
|
||||
m_restart_threshold = m_config.m_burst_search;
|
||||
lbool r = bounded_search();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue