Skip to content
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

Product of sparse matrix with transpose #1276

Closed
blegat opened this issue May 7, 2018 · 2 comments · Fixed by #2063
Closed

Product of sparse matrix with transpose #1276

blegat opened this issue May 7, 2018 · 2 comments · Fixed by #2063
Assignees

Comments

@blegat
Copy link
Member

blegat commented May 7, 2018

If A and X are sparse matrices, one of them of numbers, the other one of VariableRef or AffExpr then the product A * X' should have eltype AffExpr but currently Base.A_mul_Bc converts both matrices to the AffExpr eltype and allocates a matrix of AffExpr eltype which doesn't work as the product of AffExpr is QuadExpr.

blegat added a commit that referenced this issue May 7, 2018
@mlubin
Copy link
Member

mlubin commented Feb 24, 2019

Base.A_mul_Bc doesn't exist anymore. Is this still an issue?

@blegat
Copy link
Member Author

blegat commented Feb 27, 2019

There is a broken test:
https://github.com/JuliaOpt/JuMP.jl/blob/c01802926c34aa30e5d272ac1063f1595084aa4a/test/operator.jl#L498

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging a pull request may close this issue.

2 participants