mirror of
https://github.com/kalmarek/PropertyT.jl.git
synced 2024-11-27 01:10:28 +01:00
unredirect stderr
This commit is contained in:
parent
65f2736588
commit
6fe0f9bda0
@ -78,8 +78,8 @@ function solve_SDP(SDP_problem, solver)
|
|||||||
# @time MathProgBase.writeproblem(SDP_problem, "/tmp/SDP_problem")
|
# @time MathProgBase.writeproblem(SDP_problem, "/tmp/SDP_problem")
|
||||||
|
|
||||||
out = STDOUT
|
out = STDOUT
|
||||||
o = redirect_stdout(solver_logger.handlers["solver"].io)
|
o = redirect_stdout(solver_logger.handlers["solver_log"].io)
|
||||||
e = redirect_stderr(solver_logger.handlers["solver"].io)
|
# e = redirect_stderr(solver_logger.handlers["solver_log"].io)
|
||||||
|
|
||||||
t = @timed solution_status = JuMP.solve(SDP_problem)
|
t = @timed solution_status = JuMP.solve(SDP_problem)
|
||||||
info(logger, timed_msg(t))
|
info(logger, timed_msg(t))
|
||||||
|
Loading…
Reference in New Issue
Block a user