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

Add support for using ParameterJuMP #13

Open
coroa opened this issue May 28, 2019 · 2 comments
Open

Add support for using ParameterJuMP #13

coroa opened this issue May 28, 2019 · 2 comments

Comments

@coroa
Copy link
Member

coroa commented May 28, 2019

ParameterJuMP allows defining variables as parameters and then compute dual values for them. Ie if one sets the capacity of a not-extendable generator or line as a parameter one can request the dual of the max generation constraint by querying the dual of the p_nom parameter.

@coroa
Copy link
Member Author

coroa commented Jun 3, 2019

Probably as simple as replacing all occurrences of JuMP.Model with JuMP.AbstractModel, as is already happening in the new moi branch by the introduction of the ModelView layers.

@coroa
Copy link
Member Author

coroa commented Jun 3, 2019

The question is: How would the user mark a data parameter as a ParameterJuMP-parameter? The parameter provision functions, i.e. get(::Element, ...) or get(::Data, ...), could maybe check whether something should be a parameter?

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