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

Extend JuMP-containers to use standard macros #19

Closed
hellemo opened this issue Sep 16, 2022 · 0 comments
Closed

Extend JuMP-containers to use standard macros #19

hellemo opened this issue Sep 16, 2022 · 0 comments

Comments

@hellemo
Copy link
Member

hellemo commented Sep 16, 2022

It would be nice to support syntax like
@variable(m, x[i=S, j=T], container=SparseVarArray)

I looked a bit into extending Containers.container, and I think there are a couple of issues:

  1. Containers.container does not support passing index names, I figure that would require an update in JuMP
  2. We keep a reference to the model in our containers, while apparently the container and the variables are constructed separately in the standard containers. This would require a refactoring on our part.
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