mirror of
https://github.com/Z3Prover/z3
synced 2025-06-23 22:33:40 +00:00
fixing optimizer for multi-objectives and epsilon
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
3441fc2942
commit
36d7948399
6 changed files with 127 additions and 60 deletions
|
@ -52,10 +52,7 @@ namespace opt {
|
|||
m_weights.push_back(w);
|
||||
}
|
||||
|
||||
void add_objective(app* t, bool is_max) {
|
||||
m_objectives.push_back(t);
|
||||
m_is_max.push_back(is_max);
|
||||
}
|
||||
void add_objective(app* t, bool is_max);
|
||||
|
||||
void add_hard_constraint(expr* f) {
|
||||
m_hard_constraints.push_back(f);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue