1
0
mirror of https://github.com/kalmarek/PropertyT.jl.git synced 2024-12-24 02:00:30 +01:00
This commit is contained in:
kalmarek 2017-10-09 18:08:57 +02:00
commit 4c777073a7

View File

@ -58,11 +58,8 @@ end
function solve_SDP(SDP_problem)
info(logger, Base.repr(SDP_problem))
# to change buffering mode of stdout to _IOLBF (line bufferin)
# see https://github.com/JuliaLang/julia/issues/8765
ccall((:printf, "libc"), Int, (Ptr{UInt8},), "\n");
o = redirect_stdout(solver_logger.handlers["solver_log"].io)
Base.Libc.flush_cstdio()
t = @timed solution_status = JuMP.solve(SDP_problem)
info(logger, timed_msg(t))