mirror of
https://github.com/Z3Prover/z3
synced 2025-10-03 14:33:56 +00:00
A few changes based on previous reviews
Tested the optimization procedure with: - unbounded objectives - bounded with rational solutions - bounded with irrational solutions
This commit is contained in:
parent
3dd72f8f16
commit
3441fc2942
8 changed files with 24 additions and 26 deletions
|
@ -994,7 +994,7 @@ namespace smt {
|
|||
// -----------------------------------
|
||||
virtual bool maximize(theory_var v) { return max_min(v, true); }
|
||||
virtual theory_var add_objective(app* term);
|
||||
virtual inf_eps_rational<rational> get_objective_value(theory_var v);
|
||||
virtual inf_eps_rational<inf_rational> get_objective_value(theory_var v);
|
||||
inf_rational m_objective;
|
||||
|
||||
// -----------------------------------
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue