Skip to content

Conversation

odow
Copy link
Member

@odow odow commented May 21, 2021

There is no reason that the model_cache field has to be empty when creating a CachingOptimizer. (And it isn't checked in the other method.)

This is also needed for an upcoming PR to JuMP.

@odow odow added the Submodule: Utilities About the Utilities submodule label May 21, 2021
Copy link
Member

@blegat blegat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This @assert made sense before #1254 as we were setting the mode to ATTACHED_OPTIMIZER but not anymore.

@odow odow merged commit ba74506 into master May 23, 2021
@odow odow deleted the odow-patch-1 branch May 23, 2021 02:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Submodule: Utilities About the Utilities submodule
Development

Successfully merging this pull request may close these issues.

2 participants