3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-08-17 16:52:15 +00:00

maxres revised to handle weighted constraints

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2014-07-22 15:42:08 +02:00
parent bf35a62da7
commit 5e9bf2ef53
5 changed files with 177 additions and 83 deletions

View file

@ -4,7 +4,7 @@ namespace opt {
struct imp;
imp* m_imp;
public:
maxres(ast_manager& m, solver& s, expr_ref_vector& soft_constraints);
maxres(ast_manager& m, solver& s, expr_ref_vector& soft_constraints, vector<rational>const& weights);
~maxres();
virtual lbool operator()();
virtual rational get_lower() const;