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

logging keyword is "solver_log"

This commit is contained in:
kalmar 2017-03-20 22:11:57 +01:00
parent 87cfb742bf
commit 65f2736588

View File

@ -82,14 +82,13 @@ function κandA(name::String, sdp_constraints, Δ::GroupAlgebraElement, solver::
rm("$name/solver.log")
end
add_handler(solver_logger, DefaultHandler("./$name/solver.log", DefaultFormatter("{date}| {msg}")), "solver")
add_handler(solver_logger, DefaultHandler("./$name/solver.log", DefaultFormatter("{date}| {msg}")), "solver_log")
info(logger, "Creating SDP problem...")
t = @timed SDP_problem = create_SDP_problem(sdp_constraints, Δ; upper_bound=upper_bound)
info(logger, timed_msg(t))
κ = 0.0
A = nothing
while κ == 0.0
κ, A = try
solve_SDP(SDP_problem, solver)