mirror of
https://github.com/Z3Prover/z3
synced 2025-08-05 10:50:24 +00:00
adding maxlex, throttle use of asymmetric literal addition
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
8da1d6070b
commit
ad81fee118
9 changed files with 274 additions and 27 deletions
32
src/opt/maxlex.h
Normal file
32
src/opt/maxlex.h
Normal file
|
@ -0,0 +1,32 @@
|
|||
/*++
|
||||
Copyright (c) 2014 Microsoft Corporation
|
||||
|
||||
Module Name:
|
||||
|
||||
maxlex.h
|
||||
|
||||
Abstract:
|
||||
|
||||
MaxLex solves weighted max-sat problems where weights impose lexicographic order.
|
||||
|
||||
Author:
|
||||
|
||||
Nikolaj Bjorner (nbjorner) 2019-25-1
|
||||
|
||||
Notes:
|
||||
|
||||
--*/
|
||||
|
||||
#ifndef MAXLEX_H_
|
||||
#define MAXLEX_H_
|
||||
|
||||
namespace opt {
|
||||
|
||||
bool is_maxlex(weights_t & ws);
|
||||
|
||||
maxsmt_solver_base* mk_maxlex(maxsat_context& c, unsigned id, weights_t & ws, expr_ref_vector const& soft);
|
||||
|
||||
|
||||
};
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue