From 59de2e690c9ecc04c2a80b5b2cf754f9236dd638 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Legat?= Date: Sun, 10 Sep 2023 09:13:51 +0200 Subject: [PATCH] Switch to Clarabel --- .../sums_of_hermitian_squares.jl | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/src/tutorials/Noncommutative and Hermitian/sums_of_hermitian_squares.jl b/docs/src/tutorials/Noncommutative and Hermitian/sums_of_hermitian_squares.jl index f829f3c80..a613ac220 100644 --- a/docs/src/tutorials/Noncommutative and Hermitian/sums_of_hermitian_squares.jl +++ b/docs/src/tutorials/Noncommutative and Hermitian/sums_of_hermitian_squares.jl @@ -12,8 +12,10 @@ using DynamicPolynomials @ncpolyvar x y p = (x + im * y) * (x - im * y) -import CSDP -model = Model(CSDP.Optimizer) +# We first need to pick an SDP solver, see [here](https://jump.dev/JuMP.jl/v1.8/installation/#Supported-solvers) for a list of the available choices. + +import Clarabel +model = Model(Clarabel.Optimizer) cone = NonnegPolyInnerCone{MOI.HermitianPositiveSemidefiniteConeTriangle}() con_ref = @constraint(model, p in cone) optimize!(model)