MAINT: Skip the check for theta <= 1 in the PDHG - #1637
Open
sbanert wants to merge 1 commit into
Open
Conversation
|
Checking updated PR... No PEP8 issues. Comment last updated at 2024-02-13 18:45:18 UTC |
DOC: Update the PDHG docstring to latest research.
Contributor
|
Agree that the solver should in general not prevent a user to call it with parameter settings that does not guarantee convergence. Perhaps it is enough that the solver raises a warning when it is used in this way. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
DOC: Update the PDHG docstring to latest research.
The Chambolle-Pock method converges even for$\theta > 1$ , so the check that requires the contrary (and aborts with an error otherwise) should be removed. I also updated the docstring with a paper of ours that shows relaxed requirements on the step lengths.
Moreover, I removed certain statements that seem unnecessary from the docstring like the requirement that the spaces be finite-dimensional (for infinite-dimensional spaces, the convergence is weak, as is standard for these methods), and that the functionals be non-negative (this is definitely not needed).
I am not even sure if it is good to keep the check for non-negativity of$\theta$ in the code. If users try to experiment with negative $\theta$ , why not? Our code should not break in this case. The check for $\theta \leq 1$ currently prevents us from using this method for numerical experiments for the paper [BUG2023].