diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2013-06-21 12:52:23 -0700 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2013-06-21 12:52:23 -0700 |
commit | cec6bd645e87a722f7144e29859617ae9dc6e5c2 (patch) | |
tree | db4cc6f75a41951b2de9698f1338297a5dde3e49 /src/sat/bsat/satSolver.c | |
parent | 77cef7ca101a00133aae376d129a9ba0e6da4e79 (diff) | |
download | abc-cec6bd645e87a722f7144e29859617ae9dc6e5c2.tar.gz abc-cec6bd645e87a722f7144e29859617ae9dc6e5c2.tar.bz2 abc-cec6bd645e87a722f7144e29859617ae9dc6e5c2.zip |
Limiting runtime limit checks in 'pdr'.
Diffstat (limited to 'src/sat/bsat/satSolver.c')
-rw-r--r-- | src/sat/bsat/satSolver.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sat/bsat/satSolver.c b/src/sat/bsat/satSolver.c index 8d1bd455..56bd128c 100644 --- a/src/sat/bsat/satSolver.c +++ b/src/sat/bsat/satSolver.c @@ -1576,7 +1576,7 @@ static lbool sat_solver_search(sat_solver* s, ABC_INT64_T nof_conflicts) int next; // Reached bound on number of conflicts: - if ((nof_conflicts >= 0 && conflictC >= nof_conflicts) || (s->nRuntimeLimit && Abc_Clock() > s->nRuntimeLimit)){ + if ((nof_conflicts >= 0 && conflictC >= nof_conflicts) || (s->nRuntimeLimit && (s->stats.conflicts & 63) == 0 && Abc_Clock() > s->nRuntimeLimit)){ s->progress_estimate = sat_solver_progress(s); sat_solver_canceluntil(s,s->root_level); veci_delete(&learnt_clause); |