Skip to content
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

Explore Removal of Base.getindex Overload on VariableRef #835

Open
ccoffrin opened this issue Aug 7, 2022 · 0 comments
Open

Explore Removal of Base.getindex Overload on VariableRef #835

ccoffrin opened this issue Aug 7, 2022 · 0 comments

Comments

@ccoffrin
Copy link
Member

ccoffrin commented Aug 7, 2022

Explore removing support for this or seeing if it should become part of the JuMP standard.

# enables support for v[1]
Base.getindex(v::JuMP.VariableRef, i::Int) = v
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant