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 iter0_post_solver_creation callback to extensions object #429

Merged
merged 3 commits into from
Sep 20, 2024

Conversation

jeanpaulwatson
Copy link
Collaborator

Motivated by the timed mipgap termination extension, which needs solver plugins to be available in order to install itself.

@@ -827,9 +826,12 @@ def Iter0(self):
stochastic program with the nonanticipativity constraints
removed.
"""

# JPW: the pre iter0 callback should arguably be called not from within
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are multiple pathways to iter0, so I would argue that this is the best place. But, in any event, this comment should probably go somewhere else (e.g. an issue)

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fair - corrected (and opened an issue).

@jeanpaulwatson jeanpaulwatson merged commit 3de100e into main Sep 20, 2024
17 checks passed
@jeanpaulwatson jeanpaulwatson deleted the newiter0callback branch September 20, 2024 23:08
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.

3 participants