Solver restart from timeout in simulate mode #2316
Labels
feature
A new feature or functionality
impact-medium
Incremental improvement | unblocks non-critical work | saves some time
Is your feature request related to a problem? Please describe
The
simulate
mode can getstuckslow if the solver is taking too long to solve the next transitions or to construct an example run.I know I can set
--tuning-options=search.smt.timeout=15
. But this terminates the search globally - and does not try for the next example runs. It would be nice if z3 is timed out, apalache continues trying for the next runs until--max-run
many runs are tried - timed out or not.Describe the solution you'd like
For first versions, something like
--tuning-options=search.smt.timeout=15:search.smt.timeout.ignore=true
Describe the impact on your work
I can set a high
--max-run
and a timeout for the solver to retry for new runs automatically.Describe alternatives you've considered
On bash shell,
until apalache-mc simulate --tuning-options=search.smt.timeout=15 ...; do ...; done
The text was updated successfully, but these errors were encountered: