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

Callback #124

Open
dhendryc opened this issue Mar 1, 2023 · 3 comments
Open

Callback #124

dhendryc opened this issue Mar 1, 2023 · 3 comments
Labels
enhancement New feature or request

Comments

@dhendryc
Copy link
Collaborator

dhendryc commented Mar 1, 2023

Add a callback to Boscia so the user has the option to implement custom behavior for stopping algorithm, reading extra information, do additional stuff etc.

@dhendryc dhendryc added the enhancement New feature or request label Mar 1, 2023
@matbesancon
Copy link
Member

it could be added to Bonobo as well, and then we would use the Bonobo callback to potentially interrupt, wrapping the user callback

@dhendryc
Copy link
Collaborator Author

dhendryc commented Mar 1, 2023

I was thinking about that but I'm not sure it is enough.
This came up with the Network design problems and where we want some custom behavior in the evaluation of the node.

@matbesancon
Copy link
Member

yes you can have the two separately:
the Bonobo callback would just decide whether to interrupt the BNB search. The user callback could change some options or decide some things in evaluate_node!

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