mirror of
https://github.com/Z3Prover/z3
synced 2025-05-12 02:04:43 +00:00
Add objective functions to difference logic solver
This commit is contained in:
parent
7c8fbbb06a
commit
1ff373072d
2 changed files with 60 additions and 4 deletions
|
@ -306,7 +306,11 @@ namespace smt {
|
|||
virtual bool maximize(theory_var v);
|
||||
virtual theory_var add_objective(app* term);
|
||||
virtual inf_eps_rational<inf_rational> get_objective_value(theory_var v);
|
||||
inf_rational m_objective;
|
||||
|
||||
typedef vector <std::pair<theory_var, rational> > objective_term;
|
||||
vector<objective_term> m_objectives;
|
||||
|
||||
void internalize_objective(app * n, objective_term & objective);
|
||||
|
||||
private:
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue