Add implementation of setTimeout for CVC5#933
Conversation
|
Thanks a lot! I have no idea why whoever wrote the code thought this wasn't supported, but it's clearly working now. |
|
Ah, maybe this is it: With your change (and with CVC5 version 1.3.0), if I enable resource bounds, I get the following error from CVC5: |
|
There seems to be a very simple list of options that are allowed to be changed, I believe reproducible-resource-limit might equate to rlimit-per. https://github.com/cvc5/cvc5/blob/58cda4cdc96a9cdc0e267ba4f4ddd00bcd653a1f/src/api/cpp/cvc5.cpp#L8654-L8659 |
|
Yes just tested it, changing |
|
How weird. Elsewhere that's just listed as an alias for |
|
Turns out there was actually a moment when |
I'm not sure if there is a specific reason why timeouts are not set for the CVC5 prover? The comment says that cvc5 does not support setting the timeout after instantiation but in my testing it works fine. (although it can sometimes exceed the timeout because it's not very strict about keeping to it) I looked through the release notes but couldn't find mention of this being a new feature.