-
Notifications
You must be signed in to change notification settings - Fork 11
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
Deprecated StateLogger
#61
Labels
bug
Something isn't working
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug
The
StateLogger
incooper.utils.state_logger.py
is not compatible with the latest version of Cooper's dev branch.It assumes that a
Formulation
will have aConstrainedMinimizationProblem
as an attribute:cooper/cooper/utils/state_logger.py
Lines 42 to 48 in 3e0aa6f
This is not the case since merging #56.
Steps
Update the interface of
StateLogger
.store_metrics
should receive aCMPState
or the unpacked metrics.The text was updated successfully, but these errors were encountered: