3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2026-01-21 01:24:43 +00:00
z3/src/opt/maxcore.h
Nikolaj Bjorner 5c4a3128c4 update wcnf front-end and add new wcnf strategy
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2026-01-01 17:50:42 -08:00

37 lines
809 B
C++

/*++
Copyright (c) 2014 Microsoft Corporation
Module Name:
maxsres.h
Abstract:
Maxcore (weighted) max-sat algorithm by Nina and Bacchus, AAAI 2014.
Author:
Nikolaj Bjorner (nbjorner) 2014-20-7
Notes:
--*/
#pragma once
namespace opt {
maxsmt_solver_base* mk_rc2(maxsat_context& c, unsigned id, vector<soft>& soft);
maxsmt_solver_base* mk_rc2bin(maxsat_context& c, unsigned id, vector<soft>& soft);
maxsmt_solver_base* mk_maxres(maxsat_context& c, unsigned id, vector<soft>& soft);
maxsmt_solver_base *mk_maxresw(maxsat_context &c, unsigned id, vector<soft> &soft);
maxsmt_solver_base* mk_maxres_binary(maxsat_context& c, unsigned id, vector<soft>& soft);
maxsmt_solver_base* mk_primal_dual_maxres(maxsat_context& c, unsigned id, vector<soft>& soft);
};