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

Don't print success if a stopping criterion is non-finite. #997

Merged
merged 4 commits into from
Jul 26, 2022

Conversation

pkofod
Copy link
Member

@pkofod pkofod commented Jul 26, 2022

Fixes #948

The new behavior is that Optim.converged returns false if any x or f change measure is nonfinite and if the gradient norm is nonfinite.

@codecov
Copy link

codecov bot commented Jul 26, 2022

Codecov Report

Merging #997 (8947d71) into master (d5cb5da) will increase coverage by 0.11%.
The diff coverage is 83.33%.

❗ Current head 8947d71 differs from pull request most recent head a35518d. Consider uploading reports for the commit a35518d to get more accurate results

@@            Coverage Diff             @@
##           master     #997      +/-   ##
==========================================
+ Coverage   85.34%   85.45%   +0.11%     
==========================================
  Files          42       42              
  Lines        3187     3198      +11     
==========================================
+ Hits         2720     2733      +13     
+ Misses        467      465       -2     
Impacted Files Coverage Δ
src/multivariate/optimize/optimize.jl 90.62% <ø> (ø)
src/types.jl 84.46% <62.50%> (+0.30%) ⬆️
src/api.jl 72.89% <100.00%> (+1.89%) ⬆️
src/utilities/assess_convergence.jl 100.00% <100.00%> (ø)
src/multivariate/solvers/constrained/samin.jl 78.57% <0.00%> (+1.19%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us.

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.

Line search never achieved finiteness -> failure
1 participant