mirror of
https://github.com/kalmarek/PropertyT.jl.git
synced 2024-11-27 01:10:28 +01:00
logging keyword is "solver_log"
This commit is contained in:
parent
87cfb742bf
commit
65f2736588
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user