Skip to content

Commit

Permalink
Update with PolyJuMP v0.5.1
Browse files Browse the repository at this point in the history
  • Loading branch information
blegat committed Nov 25, 2021
1 parent 3c9d500 commit edde736
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ MultivariateBases = "0.1.2"
MultivariateMoments = "0.3"
MultivariatePolynomials = "0.4"
MutableArithmetics = "0.3"
PolyJuMP = "0.5"
PolyJuMP = "0.5.1"
Reexport = "0.2, 1.0"
SemialgebraicSets = "0.2"
SymbolicWedderburn = "0.2"
Expand Down
3 changes: 1 addition & 2 deletions test/Tests/sosdemo10.jl
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@ function sosdemo10_test(optimizer, config::MOIT.Config)
Sc =^2 - s *- p) g0 + g1
g0 + g1 1]

#@constraint(model, Matrix(ε * I, 2, 2) <= Sc, PSDCone()) # TODO Use that when PolyJuMP v0.5.1 is released
@constraint(model, (Sc - Matrix* I, 2, 2)) in PSDCone())
@constraint(model, Matrix* I, 2, 2) <= Sc, PSDCone())

JuMP.optimize!(model)

Expand Down

0 comments on commit edde736

Please sign in to comment.