-
-
Notifications
You must be signed in to change notification settings - Fork 399
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
make variable category a kwarg #741
Comments
This would look like:
|
Right, yes. That's what I meant. |
I can add this pretty easily in #736, I think |
@joehuchette if we do that we should add a deprecation for the old syntax as well |
Why not allow both? On Tue, Apr 26, 2016 at 2:13 PM, Miles Lubin notifications@github.com
|
Why allow both? :) |
When we rationalize all of the possible properties that you can set in |
Maybe not consistent, but it's still nice to be able to write |
I don't know, I'd be okay with making that syntax go away in favor of consistency and less magic (e.g., leading people away from the natural assumption that you could do |
Yeah like I did (oops). We can't condense 🐱 |
I think the abbreviation argument lost out with the macros. |
|
|
yo let's write a new language that's all in emojis |
Can we just keep this format?
Why do we need By the way, I'm a little bit skeptical about vectorized category input. How many times would we need it? In the world of |
I have seen some changes in JuMP possibly related to this issue recently. I'm a little bit confused. In the future we won't be able to translate this math expression
to this julia expression?
Instead, will we need to make a vector input for both |
@chkwon, no, that's not changing. In the worst case we'll be changing |
@mlubin Thanks for the clarification! Peace of mind :) |
We need this as an optional syntax to support variable categories for anonymous variables. |
Referencing #740 and the discussion therein. I would like to be able to do the following:
Currently, I have to do:
The text was updated successfully, but these errors were encountered: