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

add Polyak's Step size. #384

Merged
merged 13 commits into from
Apr 27, 2024
Merged

add Polyak's Step size. #384

merged 13 commits into from
Apr 27, 2024

Conversation

kellertuer
Copy link
Member

Resolves #224. Also yields a good reason to release 0.4.61.

What would be the best literature to reference here, @mateuszbaran?

Copy link

codecov bot commented Apr 26, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.76%. Comparing base (6213567) to head (8f393fc).

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #384   +/-   ##
=======================================
  Coverage   99.76%   99.76%           
=======================================
  Files          73       73           
  Lines        7243     7260   +17     
=======================================
+ Hits         7226     7243   +17     
  Misses         17       17           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

src/plans/stepsize.jl Outdated Show resolved Hide resolved
src/plans/stepsize.jl Outdated Show resolved Hide resolved
@mateuszbaran
Copy link
Member

What would be the best literature to reference here, @mateuszbaran?

I like the explanation of this stepsize from this book: https://www.amazon.com/Convex-Optimization-Algorithms-Dimitri-Bertsekas/dp/1886529280 , section 3.2. It also has a few other variants.

src/plans/stepsize.jl Outdated Show resolved Hide resolved
@mateuszbaran
Copy link
Member

By the way, thanks for working on this 👍 .

kellertuer and others added 2 commits April 27, 2024 12:44
Co-authored-by: Mateusz Baran <mateuszbaran89@gmail.com>
* add a literature reference
* fix a missing square
* the gradient of a gradientObjective now also acts as a sugradient.
@kellertuer
Copy link
Member Author

By the way, thanks for working on this 👍 .

No problem, I was looking for something easy to finish the day yesterday, and (besides missing the square) this actually was.

Copy link
Member

@mateuszbaran mateuszbaran left a comment

Choose a reason for hiding this comment

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

Just a few minor points, other than that it looks fine.

src/plans/gradient_plan.jl Outdated Show resolved Hide resolved
src/plans/gradient_plan.jl Outdated Show resolved Hide resolved
src/plans/stepsize.jl Outdated Show resolved Hide resolved
src/plans/stepsize.jl Outdated Show resolved Hide resolved
src/plans/stepsize.jl Outdated Show resolved Hide resolved
src/plans/stepsize.jl Outdated Show resolved Hide resolved
src/plans/stepsize.jl Show resolved Hide resolved
kellertuer and others added 3 commits April 27, 2024 16:59
Co-authored-by: Mateusz Baran <mateuszbaran89@gmail.com>
src/plans/stepsize.jl Outdated Show resolved Hide resolved
src/plans/stepsize.jl Outdated Show resolved Hide resolved
src/plans/stepsize.jl Outdated Show resolved Hide resolved
kellertuer and others added 3 commits April 27, 2024 17:07
Co-authored-by: Mateusz Baran <mateuszbaran89@gmail.com>
Co-authored-by: Mateusz Baran <mateuszbaran89@gmail.com>
Co-authored-by: Mateusz Baran <mateuszbaran89@gmail.com>
@kellertuer kellertuer merged commit 77c6720 into master Apr 27, 2024
15 checks passed
@kellertuer kellertuer deleted the kellertuer/PolyakStepsize branch May 4, 2024 17:30
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.

Polyak's stepsize
2 participants