mirror of
https://github.com/Z3Prover/z3
synced 2025-04-28 19:35:50 +00:00
different strategies for weighted
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
26237a3727
commit
0deb951873
15 changed files with 352 additions and 123 deletions
|
@ -193,7 +193,14 @@ namespace opt {
|
|||
tactic_ref tac0 = mk_simplify_tactic(m);
|
||||
tactic_ref tac1 = mk_elim01_tactic(m);
|
||||
tactic_ref tac2 = mk_lia2card_tactic(m);
|
||||
tactic_ref tac = and_then(tac0.get(), tac1.get(), tac2.get());
|
||||
tactic_ref tac;
|
||||
opt_params optp(m_params);
|
||||
if (optp.elim_01()) {
|
||||
tac = and_then(tac0.get(), tac1.get(), tac2.get());
|
||||
}
|
||||
else {
|
||||
tac = tac0;
|
||||
}
|
||||
proof_converter_ref pc;
|
||||
expr_dependency_ref core(m);
|
||||
goal_ref_buffer result;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue