Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document limitations of Z3.Config #66

Merged
merged 2 commits into from
Jan 26, 2024
Merged

Conversation

facundominguez
Copy link
Member

No description provided.

@facundominguez
Copy link
Member Author

I created a ticket Z3Prover/z3#7100 in the Z3 repo.

smtlib-backends-z3/src/SMTLIB/Backends/Z3.hs Outdated Show resolved Hide resolved
--
-- > command_ solver "(set-option :parameter_name value)"
--
-- Or using `Z3_global_param_set` from the Z3 API directly.
Copy link
Member

Choose a reason for hiding this comment

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

This does suggest some kind of mitigation, eventually. Maybe there could be a way to use the appropriate set function for various options.

Copy link
Member Author

Choose a reason for hiding this comment

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

Maybe. But the fact that global options affect all solver instances would deserve a separate call to make the scope more obvious.

Co-authored-by: Arnaud Spiwack <arnaud@spiwack.net>
@facundominguez
Copy link
Member Author

Thanks @aspiwack for your review!

@facundominguez facundominguez merged commit 9c153e0 into master Jan 26, 2024
4 checks passed
@facundominguez facundominguez deleted the fd/z3_config_warn branch January 26, 2024 12:09
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.

None yet

2 participants