-
Notifications
You must be signed in to change notification settings - Fork 9
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
Matrix infinity norm over rows #26
Comments
You can minimise infinity norm over the i-th row using However having: @minimize ls( A*X - Y ) + norm(X[:,1],1) + norm(X[:,2],1) + norm(X[1,:],Inf) + norm(X[2,:],Inf) + ... won't be accepted because there's no efficiently computable proximal mapping. See the documentation. I'm not aware if there's an efficient proximal mapping for that particular mixed norm.... |
BTW the following notation can be used to construct such cost functions: @minimize ls(A*X-b)+sum(norm(X[i,:],Inf) for i =1:size(X,1)) |
I think the issue title here is misleading: what is needed is (warning: pseudocode follows) |
Yes you're right. However, I cannot get it to work:
leads to:
|
You can view this operation as a mixed norm, possibly named as As stated above I don't know if there exist an efficient implementation of the proximal mapping of the Currently, |
In case we had an efficient proximal mapping of the l_{1,Inf} norm I don't think we would go for this syntax: maximum(norm(X[i,:], 1) for i in 1:size(X, 1)) but rather: norm(X,Inf,1; dim=1) Although it would be cool to have the former! 😄 |
@nantonel the best would be to have |
Are you planning to implement support for |
Is there some way to implement the induced infinity matrix norm:
maximum absolute row sum of a matrix
Lets say I have multivariate data in Y (for simplicity of dim n x 2) and X, and want to solve:
The text was updated successfully, but these errors were encountered: