From f71fd2afb5924d28d1d383f979bc052d35056205 Mon Sep 17 00:00:00 2001 From: Nikolaj Bjorner Date: Mon, 24 Nov 2014 16:17:22 -0800 Subject: [PATCH] disable unconstrained elimination pre-processing Signed-off-by: Nikolaj Bjorner --- src/opt/opt_context.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/opt/opt_context.cpp b/src/opt/opt_context.cpp index d41277df9..b85a4f21e 100644 --- a/src/opt/opt_context.cpp +++ b/src/opt/opt_context.cpp @@ -218,6 +218,7 @@ namespace opt { } IF_VERBOSE(1, verbose_stream() << "(optimize:sat)\n";); s.get_model(m_model); + TRACE("opt", model_smt2_pp(tout, m, *m_model, 0);); m_optsmt.setup(*m_opt_solver.get()); update_lower(); switch (m_objectives.size()) { @@ -566,7 +567,7 @@ namespace opt { and_then(mk_simplify_tactic(m), mk_propagate_values_tactic(m), mk_solve_eqs_tactic(m), - mk_elim_uncnstr_tactic(m), + // NB: mk_elim_uncstr_tactic(m) is not sound with soft constraints mk_simplify_tactic(m)); opt_params optp(m_params); tactic_ref tac2, tac3;