Skip to content

Commit

Permalink
Fix printing of total time
Browse files Browse the repository at this point in the history
  • Loading branch information
blegat committed Nov 13, 2017
1 parent 9cfc4a8 commit bece242
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sddp.jl
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ function SDDP(g::AbstractSDDPGraph, num_stages; K::Int=25, stopcrit::AbstractSto

totalstats += stats
if verbose >= 2
println("Iteration $(totalstats.niterations) completed in $itertime s (Total time is $(stats.time))")
println("Iteration $(totalstats.niterations) completed in $itertime s (Total time is $(totalstats.time))")
println("Status: $(mastersol.status)")
println("Upper Bound: $(totalstats.upperbound)")
println("Lower Bound: $(totalstats.lowerbound)")
Expand Down

0 comments on commit bece242

Please sign in to comment.