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

Fixed optimization callback to return false, added opt counter #128

Closed
wants to merge 2 commits into from

Conversation

jClugstor
Copy link
Collaborator

I don't like using a reference to count the iterations, but it should only be temporary. Soon I should be able to get it directly from the solution stats in the callback. Depending on changes in Optimization.jl.

@joshday
Copy link
Collaborator

joshday commented Oct 24, 2023

@jadon I think the counter can live inside the callback struct. The ref won't necessarily work because jobs can be running in parallel.

@jClugstor jClugstor closed this Oct 24, 2023
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