3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-23 09:05:31 +00:00

eliminate to_real coersions to make mixed integer problems easier to digest. Issue #277

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2015-10-30 15:12:21 -07:00
parent 997c3a234d
commit 7838213675
2 changed files with 3 additions and 2 deletions

View file

@ -137,6 +137,7 @@ namespace opt {
params_ref p;
p.set_bool("model", true);
p.set_bool("unsat_core", true);
p.set_bool("elim_to_real", true);
updt_params(p);
}
@ -661,7 +662,7 @@ namespace opt {
g->assert_expr(fmls[i].get());
}
tactic_ref tac0 =
and_then(mk_simplify_tactic(m),
and_then(mk_simplify_tactic(m, m_params),
mk_propagate_values_tactic(m),
mk_solve_eqs_tactic(m),
// NB: mk_elim_uncstr_tactic(m) is not sound with soft constraints