mirror of
https://github.com/Z3Prover/z3
synced 2025-10-02 05:59:29 +00:00
fixing bug with optimization
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
11010086be
commit
7c8fbbb06a
2 changed files with 8 additions and 1 deletions
|
@ -993,7 +993,7 @@ namespace smt {
|
|||
// Optimization
|
||||
//
|
||||
// -----------------------------------
|
||||
virtual bool maximize(theory_var v) { return max_min(v, true); }
|
||||
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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue