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:
parent
bf35a62da7
commit
5e9bf2ef53
5 changed files with 177 additions and 83 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue