diff --git a/src/PropertyT.jl b/src/PropertyT.jl index f5d8f65..adf47e1 100644 --- a/src/PropertyT.jl +++ b/src/PropertyT.jl @@ -88,7 +88,16 @@ function κandA(name::String, sdp_constraints, Δ::GroupAlgebraElement, solver:: t = @timed SDP_problem = create_SDP_problem(sdp_constraints, Δ; upper_bound=upper_bound) info(logger, timed_msg(t)) - κ, A = solve_SDP(SDP_problem, solver) + κ = 0.0 + A = nothing + while κ == 0 + κ, A = try + solve_SDP(SDP_problem, solver) + catch y + warn(logger, y) + end + end + κ_fname, A_fname = κSDPfilenames(name) if κ > 0 save(κ_fname, "κ", κ)