1
0
mirror of https://github.com/kalmarek/PropertyT.jl.git synced 2024-11-14 14:15:28 +01:00

overwrite solver log instead of appending

This commit is contained in:
kalmar 2017-03-15 20:16:19 +01:00
parent 59cea54757
commit d7b0dd763b

View File

@ -80,6 +80,9 @@ end
function κandA(name::String, sdp_constraints, Δ::GroupAlgebraElement, solver::AbstractMathProgSolver; upper_bound=Inf)
info(logger, "Creating SDP problem...")
if isfile("$name/solver.log")
rm("$name/solver.log")
end
t = @timed SDP_problem = create_SDP_problem(sdp_constraints, Δ; upper_bound=upper_bound)
info(logger, timed_msg(t))