mirror of
https://github.com/Z3Prover/z3
synced 2025-10-09 09:21:56 +00:00
bug fixes
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
9ebe980b44
commit
5752830f71
10 changed files with 112 additions and 46 deletions
|
@ -147,6 +147,24 @@ namespace sat {
|
|||
m_step_size_min = 0.06;
|
||||
m_reward_multiplier = 0.9;
|
||||
m_reward_offset = 1000000.0;
|
||||
|
||||
// PB parameters
|
||||
s = p.pb_solver();
|
||||
if (s == symbol("circuit")) {
|
||||
m_pb_solver = PB_CIRCUIT;
|
||||
}
|
||||
else if (s == symbol("sorting")) {
|
||||
m_pb_solver = PB_SORTING;
|
||||
}
|
||||
else if (s == symbol("totalizer")) {
|
||||
m_pb_solver = PB_TOTALIZER;
|
||||
}
|
||||
else if (s == symbol("solver")) {
|
||||
m_pb_solver = PB_SOLVER;
|
||||
}
|
||||
else {
|
||||
throw sat_param_exception("invalid PB solver");
|
||||
}
|
||||
}
|
||||
|
||||
void config::collect_param_descrs(param_descrs & r) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue