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:
parent
997c3a234d
commit
7838213675
2 changed files with 3 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue