Skip to content

Conversation

@andrewmwells-amazon
Copy link
Contributor

We need different solver configurations for some of our programs, but with the right configuration the solver finishes quickly. This adds a thin wrapper around Z3 that calls Z3 with various options set, each call with a 1s timeout. Currently calls to Z3 are not raced.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@andrewmwells-amazon
Copy link
Contributor Author

Screenshot 2025-12-19 at 1 49 16 PM PyAnalyze CI is taking 10s with this change.

shigoel
shigoel previously approved these changes Dec 19, 2025
Copy link
Contributor

@MikaelMayer MikaelMayer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we kill the z3 processes in case of timeout ?

@shigoel shigoel added this pull request to the merge queue Dec 22, 2025
Merged via the queue into main with commit 8733c69 Dec 22, 2025
11 checks passed
@shigoel shigoel deleted the andrewmwells/parallel_z3 branch December 22, 2025 16:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants