mirror of
https://github.com/Z3Prover/z3
synced 2025-08-03 01:40:22 +00:00
allow adding constraints during on_model
This commit is contained in:
parent
005b8e3cf8
commit
405a26c585
5 changed files with 36 additions and 11 deletions
|
@ -103,6 +103,8 @@ namespace opt {
|
|||
};
|
||||
|
||||
lbool find_mutexes(obj_map<expr, rational>& new_soft);
|
||||
|
||||
void reset_upper();
|
||||
|
||||
|
||||
protected:
|
||||
|
@ -153,6 +155,7 @@ namespace opt {
|
|||
void display_answer(std::ostream& out) const;
|
||||
void collect_statistics(statistics& st) const;
|
||||
void model_updated(model* mdl);
|
||||
void reset_upper();
|
||||
private:
|
||||
bool is_maxsat_problem(weights_t& ws) const;
|
||||
void verify_assignment();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue