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

extracting the number of SAT oracle calls through the API #131

Open
strl2022 opened this issue May 22, 2023 · 1 comment
Open

extracting the number of SAT oracle calls through the API #131

strl2022 opened this issue May 22, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@strl2022
Copy link

Thank you for PySAT!

I went through the documentation of RC2 (https://pysathq.github.io/docs/html/api/examples/rc2.html), and I could not find a way to extract the number of times that the underlying SAT oracle is called (the number of iterations) when calling compute().

Is it even possible to have that number through the API?

In any case, I think that having this information would help a lot for comparisons in experimental evaluations. For example, I am implementing some very greedy techniques where I repeatedly use a SAT oracle to approximate/solve an optimization problem, and, even though I am faster, I would like to show that this is a result of performing x% fewer oracle calls.

Michael

@alexeyignatiev alexeyignatiev added the enhancement New feature or request label May 22, 2023
@alexeyignatiev
Copy link
Collaborator

Thanks, @strl2022. I agree this information should be useful if provided by the solvers' API.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants