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

Modify cg_kwargs mechanism in admm.LinearSubproblemSolver #140

Merged
merged 5 commits into from
Dec 18, 2021

Conversation

bwohlberg
Copy link
Collaborator

Change cg_kwargs mechanism so that default values are preserved unless explicitly changed.

Resolves #69 (but, contrary to the speculation in that issue, some of the examples seem to benefit from controlling both CG tolerance and maximum iterations).

@bwohlberg bwohlberg added enhancement New feature or request examples Pertaining to SCICO examples labels Dec 18, 2021
Copy link
Contributor

@tbalke tbalke left a comment

Choose a reason for hiding this comment

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

Good on my side once point of https://github.com/lanl/scico/pull/140/files#r771765711 is resolved.

@codecov
Copy link

codecov bot commented Dec 18, 2021

Codecov Report

Merging #140 (ba2e840) into main (fe2a50e) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #140   +/-   ##
=======================================
  Coverage   91.92%   91.92%           
=======================================
  Files          47       47           
  Lines        3206     3209    +3     
=======================================
+ Hits         2947     2950    +3     
  Misses        259      259           
Flag Coverage Δ
unittests 91.92% <100.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
scico/optimize/admm.py 95.28% <100.00%> (+0.07%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update fe2a50e...ba2e840. Read the comment docs.

@bwohlberg bwohlberg merged commit fc2852a into main Dec 18, 2021
@bwohlberg bwohlberg deleted the brendt/admm-cg-solver branch December 18, 2021 14:38
Copy link
Contributor

@Michael-T-McCann Michael-T-McCann left a comment

Choose a reason for hiding this comment

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

Looks good.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request examples Pertaining to SCICO examples
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CG solver in admm.LinearSubproblemSolver should have default relative tolerance
3 participants