-
Notifications
You must be signed in to change notification settings - Fork 87
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
Fix RSOCtoPSD bridge for dimension 2 #2359
Conversation
I've hit this a few times, and always seen this choice as intentional. |
Yes I'm also hitting this often. When you have a code generating socs of various dimensions and one if them is t^2 >= x^2, it is bridged to RSOC and it tries to bridge from RSOC to PSD and you get this error. Anothet use case of this MultiSetMap is to have faster reformulations. For instance, in Sumofsquares, I reformulate 2x2 psd into socs instead of psd since it's faster |
Are you up late working on this? Otherwise I will push forward this afternoon |
With this
MultiSetMapBridge
, it should be easy to fix other similar case, e.g.,SecondOrderCone(1)
->Nonnegatives(1)
whileSecondOrderCone(2)
->RotatedSecondOrderCone(2)
but we can wait for someone or for a test (like in this case) requesting to fix these corner cases before doing it.