mirror of
https://github.com/Z3Prover/z3
synced 2025-04-29 03:45:51 +00:00
fix bug in unsat core extraction in sat solver
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
1c56d6ee95
commit
a47f3df703
14 changed files with 70 additions and 53 deletions
|
@ -85,7 +85,7 @@ private:
|
|||
|
||||
public:
|
||||
maxres(context& c,
|
||||
vector<rational> const& ws, expr_ref_vector const& soft,
|
||||
weights_t& ws, expr_ref_vector const& soft,
|
||||
strategy_t st):
|
||||
maxsmt_solver_base(c, ws, soft),
|
||||
m_B(m), m_asms(m),
|
||||
|
@ -658,18 +658,18 @@ public:
|
|||
|
||||
};
|
||||
|
||||
opt::maxsmt_solver_base* opt::mk_maxres(context& c,
|
||||
vector<rational> const& ws, expr_ref_vector const& soft) {
|
||||
opt::maxsmt_solver_base* opt::mk_maxres(
|
||||
context& c, weights_t& ws, expr_ref_vector const& soft) {
|
||||
return alloc(maxres, c, ws, soft, maxres::s_mus);
|
||||
}
|
||||
|
||||
opt::maxsmt_solver_base* opt::mk_mus_mss_maxres(context& c,
|
||||
vector<rational> const& ws, expr_ref_vector const& soft) {
|
||||
opt::maxsmt_solver_base* opt::mk_mus_mss_maxres(
|
||||
context& c, weights_t& ws, expr_ref_vector const& soft) {
|
||||
return alloc(maxres, c, ws, soft, maxres::s_mus_mss);
|
||||
}
|
||||
|
||||
opt::maxsmt_solver_base* opt::mk_mss_maxres(context& c,
|
||||
vector<rational> const& ws, expr_ref_vector const& soft) {
|
||||
opt::maxsmt_solver_base* opt::mk_mss_maxres(
|
||||
context& c, weights_t& ws, expr_ref_vector const& soft) {
|
||||
return alloc(maxres, c, ws, soft, maxres::s_mss);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue