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

Opti.subject_to() clears constraints data #2512 #2681

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

Conversation

tmmsartor
Copy link
Collaborator

  • Erase old dual constraints var symbols from symbols_ vector
  • Make symbol_active_ a map in oder to use increasing var id (MetaVar.count)
    Not sure how much this is less efficient and if it may be a problem

Constraints and dual constraints var metadata should be deleted as well?
A possible motivation to keep them is that constraints referenced by Python variables
can still be used in future problem formulation.

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.

None yet

1 participant