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

map maxiters to outer_iterations #544

Merged
merged 5 commits into from
Sep 27, 2023
Merged

Conversation

SebastianM-C
Copy link
Contributor

Fix #508

I implemented #508 (comment) here, but I'm not sure how to test it.

cc @Vaibhavdixit02 @ChrisRackauckas

@codecov
Copy link

codecov bot commented Jun 2, 2023

Codecov Report

Merging #544 (073f507) into master (09cc1e7) will decrease coverage by 6.71%.
The diff coverage is 0.00%.

@@            Coverage Diff            @@
##           master    #544      +/-   ##
=========================================
- Coverage    8.87%   2.16%   -6.71%     
=========================================
  Files          40      40              
  Lines        2669    2673       +4     
=========================================
- Hits          237      58     -179     
- Misses       2432    2615     +183     
Files Coverage Δ
lib/OptimizationOptimJL/src/OptimizationOptimJL.jl 0.00% <0.00%> (-62.43%) ⬇️

... and 3 files with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@ChrisRackauckas
Copy link
Member

is it always outer iterations or only when it's fminbox?

@SebastianM-C
Copy link
Contributor Author

ah, good point. should it be outer_iterations only when we have bounds and iterations otherwise?

@ChrisRackauckas
Copy link
Member

I think so, and this needs a test

@Vaibhavdixit02
Copy link
Member

We should actually switch to using both local_maxiters and maxiters with local_maxiters getting passed on as iterations and maxiters to outer_iterations

@Vaibhavdixit02
Copy link
Member

@SebastianM-C you might want to pull and rebase, sorry! 😅

@ChrisRackauckas
Copy link
Member

Is this ready to go?

@SebastianM-C
Copy link
Contributor Author

I think it should be fine now.
@Vaibhavdixit02 let me know if the logic is correct now.

@Vaibhavdixit02
Copy link
Member

Will merge once Optim tests pass, thanks!

@Vaibhavdixit02 Vaibhavdixit02 merged commit ff678ed into SciML:master Sep 27, 2023
37 of 43 checks passed
@SebastianM-C SebastianM-C deleted the bfgs branch October 4, 2023 14:35
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.

Bounds + maxiters breaks BFGS
3 participants