-
Notifications
You must be signed in to change notification settings - Fork 8
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
Reduce the number of constants #79
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice :)
sampling_keep_iters = 100, | ||
sampling_size = 1000, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is fine (good size for testing quickly) but not realistic sized, we should put in the docs that the user must make these constants much larger.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
transforming to an issue
@@ -31,6 +31,6 @@ | |||
qp_solver_attributes = change_solver_attribute("verbose", false), | |||
) | |||
|
|||
@test isapprox(d["PGM"], -17.568590034769613, atol = default_constants.TEST_RELAX_TOL) | |||
@test isapprox(v[8], -17.568590034769613, atol = default_constants.TEST_RELAX_TOL) # OSQP sucks |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you took away my comment showing disdain for OSQP? :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Arwen voice, elf music playing:
🎵 It shall be buried in git history forever. 🎵
🎵 Only those who look deep enough shall find. 🎵
@laurentheirendt this fixes some of the stuff from review of #78, decided to separate it to keep that clean.