mirror of
https://github.com/Z3Prover/z3
synced 2025-04-07 18:05:21 +00:00
parent
cb6896087d
commit
1ee7871bbf
|
@ -1012,7 +1012,7 @@ namespace opt {
|
|||
void context::model_updated(model* md) {
|
||||
opt_params optp(m_params);
|
||||
symbol prefix = optp.solution_prefix();
|
||||
if (prefix == symbol::null) return;
|
||||
if (prefix == symbol::null || prefix == symbol("")) return;
|
||||
model_ref mdl = md->copy();
|
||||
fix_model(mdl);
|
||||
std::ostringstream buffer;
|
||||
|
|
|
@ -5,7 +5,7 @@ def_module_params('opt',
|
|||
('maxsat_engine', SYMBOL, 'maxres', "select engine for maxsat: 'core_maxsat', 'wmax', 'maxres', 'pd-maxres'"),
|
||||
('priority', SYMBOL, 'lex', "select how to priortize objectives: 'lex' (lexicographic), 'pareto', or 'box'"),
|
||||
('dump_benchmarks', BOOL, False, 'dump benchmarks for profiling'),
|
||||
('solution_prefix', SYMBOL, None, "path prefix to dump intermediary, but non-optimal, solutions"),
|
||||
('solution_prefix', SYMBOL, '', "path prefix to dump intermediary, but non-optimal, solutions"),
|
||||
('timeout', UINT, UINT_MAX, 'timeout (in milliseconds) (UINT_MAX and 0 mean no timeout)'),
|
||||
('rlimit', UINT, 0, 'resource limit (0 means no limit)'),
|
||||
('enable_sls', BOOL, False, 'enable SLS tuning during weighted maxsast'),
|
||||
|
|
Loading…
Reference in a new issue