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

Added Coverage For EventHandlerCallback #301

Merged
merged 5 commits into from
Feb 10, 2025

Conversation

gtjusila
Copy link
Contributor

@gtjusila gtjusila commented Feb 9, 2025

Similar to https://pyscipopt.readthedocs.io/en/stable/tutorials/eventhandler.html

Eventhandler class is extended to support eventinit and eventexec routines. This is because these routines are often used to catch and drop events.

Since we are not exposing the actual event handler pointer but these are needed by the SCIPcatchEvent and SCIPdropEvent function calls, wrappers catch_event and drop_events are implemented.

src/event_handler.jl Outdated Show resolved Hide resolved
src/event_handler.jl Outdated Show resolved Hide resolved
src/event_handler.jl Outdated Show resolved Hide resolved
src/event_handler.jl Outdated Show resolved Hide resolved
src/event_handler.jl Outdated Show resolved Hide resolved
@matbesancon matbesancon merged commit 53c4f6e into scipopt:master Feb 10, 2025
9 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.

2 participants