mirror of
https://github.com/Z3Prover/z3
synced 2025-08-08 20:21:23 +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
|
@ -44,20 +44,23 @@ namespace opt {
|
|||
|
||||
void add(app* t, bool is_max);
|
||||
|
||||
void commit_assignment(unsigned i);
|
||||
|
||||
void set_cancel(bool f);
|
||||
|
||||
void updt_params(params_ref& p);
|
||||
|
||||
void display(std::ostream& out) const;
|
||||
void display_assignment(std::ostream& out) const;
|
||||
void display_range_assignment(std::ostream& out) const;
|
||||
|
||||
unsigned get_num_objectives() const { return m_vars.size(); }
|
||||
void commit_assignment(unsigned i);
|
||||
inf_eps get_value(unsigned index) const;
|
||||
inf_eps get_lower(unsigned index) const;
|
||||
inf_eps get_upper(unsigned index) const;
|
||||
|
||||
private:
|
||||
|
||||
std::ostream& display_objective(std::ostream& out, unsigned i) const;
|
||||
|
||||
lbool basic_opt();
|
||||
|
||||
lbool farkas_opt();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue