-
-
Notifications
You must be signed in to change notification settings - Fork 393
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
Add name
keyword to macros
#2643
Comments
At the risk of over-complicating things since the issue is originally about variable naming, if this approach was used consistently in |
It's worth thinking about this holistically prior to JuMP 1.0 in order to make sure we get it right. The number of open issues around naming suggests that the design could do with improvements. |
Having thought about this more, I don't think we need this. It's added complexity, and will lead to confusion between |
Is it worth adding your nice answer in https://discourse.julialang.org/t/how-to-register-the-name-of-anonymous-variable-to-certain-model/69273/2 to the documentation somewhere? |
Does this cover it? https://jump.dev/JuMP.jl/dev/manual/variables/#Variable-names |
Looks like it's all covered there. I thought the dot points might serve as a good recap all together at the end of the section e.g. "In summary, ..." but may be too repetitive. |
Open a PR if you have suggestions for improvements. The recap might be good at the end of the first section? |
OK, will have a read through again and see if it would help. |
Motivated by https://discourse.julialang.org/t/getting-started-mip-variables-and-datastructure/63766/6
It would be nice to have
Currently there is
which isn't quite the same thing.
The text was updated successfully, but these errors were encountered: