-
Notifications
You must be signed in to change notification settings - Fork 8
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
Sum of Squares Matrix #10
Comments
I think the set inclusion version (first) is clearest. Why |
Actually, |
Yes both is also possible, I was hoping you would say that :) |
Hmm OK. I wouldn't necessarily think of the element-wise version, but it is somewhat ambiguous. Maybe the |
the conic interface will be redone soon (@mlubin), and the cone name it would also be nice if we can avoid having a separate |
maybe we should figure out in general what these set objects will look like in the new mathprogbase "set inclusion" optimization interface - which needs more thought - and then decide what syntax to use here in PolyJuMP. depending on how we want to design "set" objects in the near future, maybe the "SOS" vs "SOS Matrix" could be determined from a parameter to a "SOS" object. I don't know enough about the underlying theory to say. |
@chriscoey I understand that all this might change a lot in the future but I would like to have one syntax that I know will work for some time to put it in the slides at the JuMP meetup :-P |
With
@polyconstraint
, the syntax iswhere A is a matrix.
Now,
creates the elementwise SOS constraints and it would be inconsistent to do something else.
What would be the new syntax ?
We could have
without needing to change anything in JuMP.
One other option would be to both have
and change the
SDconstraint
macro so that it callsconstructconstraint!(expr, SDP)
instead of callingSDConstraint
directly.@joehuchette what do you think ?
The text was updated successfully, but these errors were encountered: