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

HermitianPSDCone() not supported in Hypatia #3306

Closed
araujoms opened this issue Mar 28, 2023 · 2 comments
Closed

HermitianPSDCone() not supported in Hypatia #3306

araujoms opened this issue Mar 28, 2023 · 2 comments

Comments

@araujoms
Copy link
Contributor

If I create a model 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.

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

@odow
Copy link
Member

odow commented Mar 28, 2023

Please open an issue at Hypatia, this is not a bug in JuMP.

Hypatia needs to be updated to recognize the new set in MOI.

@araujoms
Copy link
Contributor Author

Sorry about that, I thought the code to access it would be in the JuMP side.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants