mirror of
https://github.com/Z3Prover/z3
synced 2025-06-18 20:03:38 +00:00
remove separate API for setting solver log, use parameter setting instead
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
bc50b6bea2
commit
7a5ca96095
5 changed files with 8 additions and 24 deletions
|
@ -227,6 +227,7 @@ void solver::assert_expr(expr* f, expr* t) {
|
|||
|
||||
void solver::collect_param_descrs(param_descrs & r) {
|
||||
r.insert("solver.enforce_model_conversion", CPK_BOOL, "(default: false) enforce model conversion when asserting formulas");
|
||||
r.insert("solver.smtlib2_log", CPK_SYMBOL, "(default: None) file to log solver interaction in smtlib2 format");
|
||||
insert_timeout(r);
|
||||
insert_rlimit(r);
|
||||
insert_max_memory(r);
|
||||
|
|
|
@ -3,6 +3,7 @@ def_module_params('solver',
|
|||
description='solver parameters',
|
||||
export=True,
|
||||
params=(('enforce_model_conversion', BOOL, False, "apply model transformation on new assertions"),
|
||||
('smtlib2_log', SYMBOL, '', "file to save solver interaction"),
|
||||
('cancel_backup_file', SYMBOL, '', "file to save partial search state if search is canceled"),
|
||||
))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue