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

Add support for MOI.HermitianPositiveSemidefiniteConeTriangle #821

Closed
araujoms opened this issue Mar 28, 2023 · 1 comment · Fixed by #822
Closed

Add support for MOI.HermitianPositiveSemidefiniteConeTriangle #821

araujoms opened this issue Mar 28, 2023 · 1 comment · Fixed by #822

Comments

@araujoms
Copy link
Contributor

If I create a model in JuMP with model = Model(Hypatia.Optimizer; add_bridges=false), add a Hermitian PSD variable @variable(model, [1:2, 1:2] in HermitianPSDCone()), and try to optimize it I get the error

"MathOptInterface.UnsupportedConstraint{MathOptInterface.VectorOfVariables, MathOptInterface.HermitianPositiveSemidefiniteConeTriangle}: MathOptInterface.VectorOfVariables-in-MathOptInterface.HermitianPositiveSemidefiniteConeTriangle constraint is not supported by the model"

But Hypatia supposedly does support it, see the documentation.

If I add instead @variable(model, [1:2, 1:2] in PSDCone()) it works as expected.

I opened this issue before in JuMP jump-dev/JuMP.jl#3306, but the dev @odow told me that it needs to be supported here, not there.

@odow odow changed the title JuMP.HermitianPSDCone() not supported in Hypatia Add support for MOI.HermitianPositiveSemidefiniteConeTriangle Mar 28, 2023
@chriscoey
Copy link
Collaborator

Hey @araujoms, yes - MOI only started supporting this set recently, so we will have to enable it through Hypatia's MOI interface. I'll have a look at that now.

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