mirror of
https://github.com/Z3Prover/z3
synced 2025-08-19 09:40:20 +00:00
update parameters
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
c8730daea7
commit
9ad17296c2
5 changed files with 38 additions and 14 deletions
|
@ -204,6 +204,14 @@ namespace sat {
|
|||
else
|
||||
throw sat_param_exception("invalid PB resolve: 'cardinality' or 'resolve' expected");
|
||||
|
||||
s = p.pb_lemma_format();
|
||||
if (s == "cardinality")
|
||||
m_pb_lemma_format = PB_LEMMA_CARDINALITY;
|
||||
else if (s == "pb")
|
||||
m_pb_lemma_format = PB_LEMMA_PB;
|
||||
else
|
||||
throw sat_param_exception("invalid PB lemma format: 'cardinality' or 'pb' expected");
|
||||
|
||||
m_card_solver = p.cardinality_solver();
|
||||
|
||||
sat_simplifier_params sp(_p);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue