mirror of
https://github.com/Z3Prover/z3
synced 2025-08-03 01:40:22 +00:00
add option to "rotate" cores during core finding
enable to find multiple cores in a round and at the same time facilitate rotation around satisfiable subsets to explore neighborhoods for improved assignments.
This commit is contained in:
parent
5a9b0dd747
commit
b5c7f000de
6 changed files with 510 additions and 25 deletions
|
@ -31,6 +31,13 @@ namespace opt {
|
|||
|
||||
typedef vector<rational> const weights_t;
|
||||
|
||||
struct weighted_core {
|
||||
ptr_vector<expr> m_core;
|
||||
rational m_weight;
|
||||
weighted_core(ptr_vector<expr> const& c, rational const& w):
|
||||
m_core(c), m_weight(w) {}
|
||||
};
|
||||
|
||||
class maxsat_context;
|
||||
|
||||
class maxsmt_solver {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue