mirror of
https://github.com/Z3Prover/z3
synced 2025-08-23 03:27:52 +00:00
refactor weighted-maxsat into separate files
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
9f1b2ccfc4
commit
4ab27eff78
20 changed files with 2179 additions and 1446 deletions
36
src/opt/maxsls.h
Normal file
36
src/opt/maxsls.h
Normal file
|
@ -0,0 +1,36 @@
|
|||
/*++
|
||||
Copyright (c) 2013 Microsoft Corporation
|
||||
|
||||
Module Name:
|
||||
|
||||
maxsls.h
|
||||
|
||||
Abstract:
|
||||
|
||||
Weighted SLS MAXSAT module
|
||||
|
||||
Author:
|
||||
|
||||
Nikolaj Bjorner (nbjorner) 2014-4-17
|
||||
|
||||
Notes:
|
||||
|
||||
Partial, one-round SLS optimizer. Finds the first
|
||||
local maximum given a resource bound and returns.
|
||||
|
||||
--*/
|
||||
#ifndef _OPT_SLS_MAX_SAT_H_
|
||||
#define _OPT_SLS_MAX_SAT_H_
|
||||
|
||||
#include "maxsmt.h"
|
||||
|
||||
namespace opt {
|
||||
|
||||
|
||||
maxsmt_solver_base* mk_sls(ast_manager& m, opt_solver* s, params_ref& p,
|
||||
vector<rational> const& ws, expr_ref_vector const& soft);
|
||||
|
||||
|
||||
};
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue