mirror of
https://github.com/Z3Prover/z3
synced 2025-08-14 06:45:25 +00:00
adding model-based opt facility
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
51e34e8b5f
commit
68c7d64d00
11 changed files with 465 additions and 227 deletions
|
@ -24,6 +24,7 @@ Revision History:
|
|||
#include "ast.h"
|
||||
#include "params.h"
|
||||
#include "model.h"
|
||||
#include "model_based_opt.h"
|
||||
|
||||
|
||||
namespace qe {
|
||||
|
@ -75,12 +76,7 @@ namespace qe {
|
|||
\brief
|
||||
Maximize objective t under current model for constraints in fmls.
|
||||
*/
|
||||
enum bound_type {
|
||||
unbounded,
|
||||
strict,
|
||||
non_strict
|
||||
};
|
||||
bound_type maximize(expr_ref_vector const& fmls, model& mdl, app* t, expr_ref& value, expr_ref& bound);
|
||||
opt::bound_type maximize(expr_ref_vector const& fmls, model& mdl, app* t, expr_ref& value, expr_ref& bound);
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue