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

Adding cpsat callback in the solver attributes #346

Merged
merged 2 commits into from
Oct 24, 2024

Conversation

g-poveda
Copy link
Collaborator

we store the callback in the attrbute of the solver.
This can ease the usage of classical DO callback to retrieve advanced statistic of the solver, such as current bound of the cpsat solver. (example to come)

…. test this usage in facility unit test. Also test an alternative stats callback (from do api) that use the cpsat callback stored as attribute in the solver object (introduced in prev commit)
@g-poveda g-poveda marked this pull request as ready for review October 22, 2024 07:35
@g-poveda g-poveda merged commit e8f19a9 into airbus:master Oct 24, 2024
14 checks passed
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.

1 participant