mirror of
https://github.com/Z3Prover/z3
synced 2025-04-28 03:15:50 +00:00
remove min/max, use qmax; disable cancellation during model evaluation
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
d2622da747
commit
1aa3fdab8a
12 changed files with 19 additions and 234 deletions
|
@ -344,6 +344,10 @@ namespace opt {
|
|||
}
|
||||
|
||||
expr_ref opt_solver::mk_ge(unsigned var, inf_eps const& val) {
|
||||
if (!val.is_finite())
|
||||
{
|
||||
return expr_ref(val.is_pos() ? m.mk_false() : m.mk_true(), m);
|
||||
}
|
||||
smt::theory_opt& opt = get_optimizer();
|
||||
smt::theory_var v = m_objective_vars[var];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue