diff --git a/docs/src/tutorials/conic/ellipse_fitting.jl b/docs/src/tutorials/conic/ellipse_fitting.jl index d77e7ae63bb..b6f09e5dece 100644 --- a/docs/src/tutorials/conic/ellipse_fitting.jl +++ b/docs/src/tutorials/conic/ellipse_fitting.jl @@ -262,7 +262,7 @@ Plots.plot!( function create_ellipse_model(Ξ::Array{Tuple{Int,Int},1}, ϵ = 1e-5) N = length(Ξ) model = Model(SCS.Optimizer) - set_silent(model) + # set_silent(model) @variable(model, Q[1:2, 1:2], PSD) @variable(model, d[1:2]) @variable(model, e) @@ -369,7 +369,7 @@ for (i, cluster) in enumerate(clusters) ) @objective(model, Min, ζ) optimize!(model) - @assert is_solved_and_feasible(model) + @assert is_solved_and_feasible(model; allow_almost = true) Q, d, e = value.(model[:Q]), value.(model[:d]), value.(model[:e]) push!(ellipses_C2, Dict(:Q => Q, :d => d, :e => e)) end