3
0
Fork 0
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:
Nikolaj Bjorner 2022-04-09 09:55:02 +02:00
parent 005b8e3cf8
commit 405a26c585
5 changed files with 36 additions and 11 deletions

View file

@ -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();