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

[OptApp] Fix a bug in GradientProjection and Relaxed Gradient Projection algorihtms #12275

Merged
merged 2 commits into from
Apr 13, 2024

Conversation

sunethwarna
Copy link
Member

@sunethwarna sunethwarna commented Apr 12, 2024

📝 Description
Honetsly, I am not sure until now how these two algorithms worked.... :D... There was some magic happening I guess..

The tests were passing until now, and with the fix also because we only have one constraint in the tests. @Igarizza We need to add some tests to capture these bugs by adding a test with two constraints.

🆕 Changelog

  • Fix bugs in GradientProjection and RelaxedGradientProjection

@sunethwarna sunethwarna added Applications Python FastPR This Pr is simple and / or has been already tested and the revision should be fast Bugfix labels Apr 12, 2024
@sunethwarna sunethwarna requested a review from Igarizza April 12, 2024 18:23
Copy link
Member

@Igarizza Igarizza left a comment

Choose a reason for hiding this comment

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

@sunethwarna thank you for finding this bug. It is for sure wrong and strange eto have.

@sunethwarna sunethwarna merged commit 2937f5c into master Apr 13, 2024
11 checks passed
@sunethwarna sunethwarna deleted the optapp/algorithm/bugfix/gradient_projection_ntn branch April 13, 2024 11:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Applications Bugfix FastPR This Pr is simple and / or has been already tested and the revision should be fast Python
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants