-
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
Update setvar!
and setconstr!
docstrings
#497
Conversation
Codecov Report
@@ Coverage Diff @@
## master #497 +/- ##
=======================================
Coverage 83.83% 83.83%
=======================================
Files 47 47
Lines 4696 4696
=======================================
Hits 3937 3937
Misses 759 759
Continue to review full report at Codecov.
|
src/MathProg/formulation.jl
Outdated
@@ -128,7 +128,7 @@ set_matrix_coeff!( | |||
is_active::Bool = true, | |||
is_explicit::Bool = true, | |||
moi_index::MoiVarIndex = MoiVarIndex(), | |||
members = nothing, | |||
members::Union{ConstrMembership, Nothing} = nothing, |
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.
I think it's misleading because ConstrMembership
is an alias for Dict{Constrid, Float64}
. I think it's better to remove all the types and describe each argument in a list.
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.
True. Same for setconstr!
?
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.
good idea
setvar!
docstringsetvar!
and setconstr!
docstrings
Co-authored-by: Guillaume Marques <[email protected]>
No description provided.