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:
parent
59cea54757
commit
d7b0dd763b
@ -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))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user