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

Assign names to constraints #942

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

Conversation

alimaala2002
Copy link

We are implementing reformulation techniques and faced difficulties accessing certain constraints. To address this, we assigned names to them for easier retrieval.

@odow
Copy link
Collaborator

odow commented Mar 4, 2025

I get the motivation for this, but it seems very brittle.

I think this really needs PowerModels to have a much richer data structure for the variables and constraints that it adds, or some features in your code to automatically identify the type of structure that you can exploit through decomposition.

Perhaps more information would bee useful to understand the motivation. What are you trying to decompose and how? And how would the name make this easier?

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

Successfully merging this pull request may close these issues.

3 participants