-
Notifications
You must be signed in to change notification settings - Fork 1
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
Lh/extension refactor #25
Conversation
Codecov ReportBase: 83.94% // Head: 84.26% // Increases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## main #25 +/- ##
==========================================
+ Coverage 83.94% 84.26% +0.32%
==========================================
Files 8 8
Lines 436 445 +9
==========================================
+ Hits 366 375 +9
Misses 70 70
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
Nice solution to get integration with JuMP macros. A question regarding the index sets. Currently, these are not copied upon construction so they can be modified during the lifetime of the variable. E.g. the following example will throw an exception
Should it be an option to fix the index sets upon construction? I.e. let the index_names tuple have copies of the original index sets. I guess it is not that easy to provide an option to the |
Waiting for a decision on order of arguments (see jump-dev/JuMP.jl#3088) before merging. |
I think there is a problem with the linear indexing when integers are used for the index sets
will lead to an infinite loop. |
I also have some problems with |
I am leaning towards looking more to |
Allright, I'll have a look, maybe revert the AbstractArray stuff if it only causes problems. |
Support extending standards JuMP macros (#19):
Should also fix #22 for
IndexedVarArray
This PR includes changes from PR #24, can separate later if we don't want those changes, but is using e.g.
nnz
here.