Skip to content

Conversation

martinbiel
Copy link
Contributor

Resolves #1083

I have not added any tests yet as I am not sure where it would be best to do so. The "CachingOptimizer MANUAL mode" testset includes adding constraints after the optimizer has been attached, so it could be tested for there.

…CachingOptimizer. Properly adds the variable(s) to an attached optimizer if there is any.
@blegat blegat added this to the v0.9.14 milestone May 11, 2020
@blegat blegat merged commit 1315e31 into jump-dev:master May 11, 2020
@martinbiel martinbiel deleted the cachopt_constrainedvars_fix branch May 11, 2020 08:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

add_constrained_variable(s) can break for CachingOptimizer if an optimizer has been attached

2 participants