Skip to content

Commit

Permalink
update SOlver parameter printing
Browse files Browse the repository at this point in the history
  • Loading branch information
mariohsouto committed Oct 5, 2020
1 parent 52d58eb commit a39c61b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/printing.jl
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ end

function print_parameters(opt::Options, conic_sets::ConicSets)
println(" Solver parameters:")
tol_str = " tol_primal = $(opt.tol_primal) tol_dual = $(opt.tol_dual)"
tol_str = " tol_gap = $(opt.tol_gap) tol_feasibility = $(opt.tol_feasibility)\n"
tol_str *= " tol_primal = $(opt.tol_primal) tol_dual = $(opt.tol_dual)"
if length(conic_sets.socone) >= 1
tol_str *= " tol_soc = $(opt.tol_soc)"
end
Expand All @@ -18,7 +19,7 @@ function print_parameters(opt::Options, conic_sets::ConicSets)
end
println(tol_str)

println(" max_iter = $(opt.max_iter_local) max_beta = $(opt.max_beta) min_beta = $(opt.min_beta)")
println(" max_iter = $(opt.max_iter_local) time_limit = $(opt.time_limit)s")

return nothing
end
Expand Down

0 comments on commit a39c61b

Please sign in to comment.