-
Notifications
You must be signed in to change notification settings - Fork 41
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
ArgumentError: row indices I[k] must satisfy 1 <= I[k] <= m #130
Comments
I am suspicious that this is because you are using a square PSD constraint That being said, I still consider this a bug as we should remove support for the square PSD constraint or do some internal transformation to upper-triangular. If passing the model from JuMP to COSMO is slow, please open an issue and I can take a look at it / profile it. |
Got it, thanks. I was using the documentation example code; agreed re: upper-triangular, it is generally more efficient (though in my particular problem, the runtime performance hit is negligible on constructing the full matrix vs just the upper-triangular part).
This would be great if possible. The scaling is generally canonical, but is sometimes implementation-dependent, so it would be nice to have a slightly more generic interface :)
Great! Will come up with a minimal working example and link it. |
Ok, from the I will try this and maybe do a PR if I manage to figure it all out :) |
Currently using COSMO v0.8.0 to solve some new chorally-sparse SDPs for some computational physics bounds.
Here's a basic example reproducing the bug(?) in question
which yields the following error:
It is very possible I'm doing something quite silly here; usually I would go the JuMP -> MOI route, but the resulting SDPs I'm working with have rather unwieldy dimension, even though they are relatively sparse. In general, building them in JuMP takes a very long time; i.e., calling
optimize!
takes a long time to pass the model through the MOI bridge down to COSMO.jl. I can also attempt to provide a minimal working example there, but it would be a separate issue :)Thank you so much for all of your work COSMO team! :)
EDIT: Being a little more specific here, the problem should look something like (in this specific case)
Is the problem construction correct? I think it might be, but I'm not quite sure how to deal with this error, then.
The text was updated successfully, but these errors were encountered: