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

Iterative refinement tolerance tuning #393

Merged
merged 1 commit into from
Jan 8, 2025
Merged

Iterative refinement tolerance tuning #393

merged 1 commit into from
Jan 8, 2025

Conversation

sshin23
Copy link
Member

@sshin23 sshin23 commented Jan 7, 2025

This PR implements tuning for the iterative refinement. Previously, the tolerance was fixed to 1e-8, but this is impractical for single precisions. In this PR, we implement an adaptive tuning based on the overall tolerance of the solver. For double precision, we have the same behavior as before, but for single precision, this changes the behavior and makes things faster (less IR steps).

It turns out that this PR makes the LiftedKKTSystem as it uses higher tolerance.

@sshin23
Copy link
Member Author

sshin23 commented Jan 7, 2025

cc: @Franc-Z

@sshin23
Copy link
Member Author

sshin23 commented Jan 7, 2025

@Franc-Z I'm not sure if #382 is also related to this. Could you check if this resolves the issue in #382?

@Franc-Z
Copy link

Franc-Z commented Jan 7, 2025

@Franc-Z I'm not sure if #382 is also related to this. Could you check if this resolves the issue in #382?

No, it's not related to #382 , I have closed #382 yet.

@sshin23 sshin23 merged commit 9917706 into master Jan 8, 2025
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants