-
Notifications
You must be signed in to change notification settings - Fork 42
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
Dynamic sparse vector for solutions #247
Conversation
Codecov Report
@@ Coverage Diff @@
## master #247 +/- ##
==========================================
+ Coverage 83.48% 83.51% +0.02%
==========================================
Files 49 49
Lines 2918 2923 +5
==========================================
+ Hits 2436 2441 +5
Misses 482 482
Continue to review full report at Codecov.
|
src/parameters.jl
Outdated
@@ -4,6 +4,8 @@ Base.@kwdef mutable struct Params | |||
integrality_tolerance::Float64 = 1e-5 | |||
absolute_optimality_tolerance::Float64 = 1e-5 | |||
relative_optimality_tolerance::Float64 = 1e-5 | |||
ϵ_tol::Float64 = 1e-6 # if - ϵ_tol < val < ϵ_tol, we consider val = 0 |
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.
Maybe remove all other tolerances and leave this one as tolerance
?
src/parameters.jl
Outdated
@@ -4,6 +4,8 @@ Base.@kwdef mutable struct Params | |||
integrality_tolerance::Float64 = 1e-5 | |||
absolute_optimality_tolerance::Float64 = 1e-5 | |||
relative_optimality_tolerance::Float64 = 1e-5 | |||
ϵ_tol::Float64 = 1e-6 # if - ϵ_tol < val < ϵ_tol, we consider val = 0 | |||
integrality_tol_digits::Int = 6 # because round(val, digits = 6) |
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.
maybe tolerance_digits
?
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.
Remark in the function that checks if column exists : will it work for non-binary variables? Also, maybe it should be in a separate function.. We might have an isequal(varconstr, varconstr)
fill_primal_solution
.