mirror of
https://github.com/Z3Prover/z3
synced 2025-06-27 08:28:44 +00:00
enable answer generation
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
816029c862
commit
6e1c186017
9 changed files with 131 additions and 48 deletions
|
@ -48,11 +48,15 @@ namespace opt {
|
|||
void add_soft_constraint(expr* f, rational const& w, symbol const& id);
|
||||
void add_objective(app* t, bool is_max) { m_optsmt.add(t, is_max); }
|
||||
void add_hard_constraint(expr* f) { m_hard_constraints.push_back(f); }
|
||||
void optimize();
|
||||
lbool optimize();
|
||||
lbool optimize_pareto();
|
||||
lbool optimize_box();
|
||||
void set_cancel(bool f);
|
||||
void reset_cancel() { set_cancel(false); }
|
||||
void cancel() { set_cancel(true); }
|
||||
void collect_statistics(statistics& stats);
|
||||
void collect_statistics(statistics& stats) const;
|
||||
void display_assignment(std::ostream& out);
|
||||
void display_range_assignment(std::ostream& out);
|
||||
static void collect_param_descrs(param_descrs & r);
|
||||
void updt_params(params_ref& p);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue