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

Update OptimizationOptimisers.jl #869

Merged
merged 1 commit into from
Jan 16, 2025
Merged

Conversation

lsmohan
Copy link
Contributor

@lsmohan lsmohan commented Jan 7, 2025

Modify check for last iteration to set the parameters to the best minimizer if save_best if enabled.

Checklist

  • Appropriate tests were added
  • Any code changes were done in a way that does not break public API
  • All documentation related to code changes were updated
  • The new code follows the
    contributor guidelines, in particular the SciML Style Guide and
    COLPRAC.
  • Any new documentation only uses public API

Additional context

When save_best is enabled, the last iteration would set the solution to the best minimizer. The check for that was updated to reflect the changes made after the maxiters and epochs args.

Modify check for last iteration to set the parameters to the best minimizer if save_best if enabled.
@Vaibhavdixit02 Vaibhavdixit02 reopened this Jan 7, 2025
@Vaibhavdixit02 Vaibhavdixit02 merged commit 62e6853 into SciML:master Jan 16, 2025
16 of 19 checks passed
@lsmohan lsmohan deleted the lsmohan-bug branch January 19, 2025 08:02
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