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

Suggestion for implementing user callbacks #108

Merged
merged 3 commits into from
Nov 20, 2024
Merged

Suggestion for implementing user callbacks #108

merged 3 commits into from
Nov 20, 2024

Conversation

cvanaret
Copy link
Owner

@cvanaret cvanaret commented Nov 20, 2024

Pass an object UserCallbacks around and call notify_* member functions upon finding new acceptable iterate, new primals and new multipliers (the last two are a redundant with the first one - to be discussed).

@worc4021 would that work for you?

Fixes #106.

@worc4021
Copy link
Contributor

Looks perfect to me!

@cvanaret cvanaret merged commit 95214a6 into main Nov 20, 2024
7 checks passed
@cvanaret cvanaret deleted the callbacks branch November 20, 2024 15:01
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.

Add user callbacks
2 participants