-
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
ERROR: MethodError: no method matching setindex!(::Set{Int64}, ::Vector{Int64}, ::Colon) #149
Comments
Thanks for opening an issue. I'll have a look. |
- If a graphbased merging strategy is applied to a pattern with just one clique, no merging will happen. Convert snd, sep which are Array{Set{Int}, 1} back to Array{Array{Int}, 1}.
I hope this fixes it 623a704 I will tag v0.8.5 shortly. Let me know if the issue persists. |
Many thanks, this works but another error pops up:
PS: I am trying to debug this myself by overriding COSMO fundtions. Let me know if you need any variables in my session. |
You can also try using a different merge strategy, e.g. pass in the setting |
Thanks @migarstka. Btw, I can confirm that in the OP, my instance indeed has only one clique. Also your fix 623a704 still returns the correct result for a smaller instance. However, on the larger instance, using
still returns error
I'll try switching off the chordal decomposition completely and see what happens. Two questions:
|
It would be great if you could provide me with some code that I can use to reproduce the error.
I try to keep it in sync with the latest version |
Hi COSMO devs, I am running a large scale SDP with
and got the following
The SDP was a large sparse problem, (re)formulated using group theoretic methods (SymbolicWedderburn.jl, StarAlgebras.jl, JuMP.jl and so on). Its hard for me to give a minimal working example, so if it is really needed to fix this bug, I can contact via email and send the details to you.
A smaller instance of my SDP was solved successfully with COSMO without such error, and with the same settings. In fact, I first solve the smaller instance to force compilation and check that everything works, then in the same Julia session I proceed to solve the above instance.
Could it be that L557 should be
for setindex! to work? I am guessing purely based on syntax and so cannot make sure that the semantics of the program is respected if I fix it like this.
The text was updated successfully, but these errors were encountered: