-
Notifications
You must be signed in to change notification settings - Fork 7
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
Dev #20
Conversation
Combining work
New class to support CQE ADMM
@@ -37,7 +37,10 @@ def prepare_attributes(self, T, p=1): | |||
self._Pz = sp.block_diag([ | |||
c._Pz for c in self._gf_list | |||
]) | |||
self._make_q() | |||
# same logic as above but for q |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add comment: this is related to "close to input vector" class, which is incomplete and ready for use. q is still set to be zero for all implemented classes.
@@ -53,6 +56,9 @@ def _make_P(self): | |||
c._Pz for c in self._gf_list | |||
]) | |||
|
|||
def _make_r(self): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
comment: still always set to zero
@@ -53,6 +53,34 @@ def _make_B(self): | |||
def _make_c(self): | |||
self._c = np.concatenate([np.atleast_1d(self._c[-1]), | |||
[self._last_val]]) | |||
|
|||
|
|||
class ValsEqual(GraphComponent): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
incomplete and no intention to finish at this time
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add not implemented warning
@@ -9,17 +11,65 @@ def __init__(self, *args, **kwargs): | |||
def _make_P(self, size): | |||
return self.weight * 2 * sp.eye(size) # note the (1/2) in canonical form! | |||
|
|||
|
|||
class SumSquareReference(GraphComponent): | |||
""" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add not implemented warning?
Fix builds and tests
No description provided.