3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-29 03:45:51 +00:00

move display method to before first SAT call

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2015-08-21 18:29:36 -07:00
parent a78fc031bc
commit da0c12cdba
3 changed files with 16 additions and 11 deletions

View file

@ -186,7 +186,6 @@ public:
init();
init_local();
trace();
display();
while (m_lower < m_upper) {
TRACE("opt",
display_vec(tout, m_asms);
@ -220,7 +219,6 @@ public:
init();
init_local();
trace();
display();
exprs cs;
while (m_lower < m_upper) {
lbool is_sat = check_sat_hill_climb(m_asms);
@ -253,14 +251,6 @@ public:
return l_true;
}
void display() {
if (m_dump_benchmarks && m_c.sat_enabled()) {
unsigned sz = m_soft.size();
inc_sat_display(verbose_stream(), s(), sz,
m_soft.c_ptr(), m_weights.c_ptr());
}
}
lbool check_sat_hill_climb(expr_ref_vector& asms1) {
expr_ref_vector asms(asms1);