Skip to content

Commit 2d740b8

Browse files
committed
add logging statements
1 parent 11facf1 commit 2d740b8

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/interface/interface.jl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,14 @@ All keyword arguments are passed to the [`initialize_state!`](@ref)`(problem, al
4444
"""
4545
function solve!(problem::Problem, algorithm::Algorithm, state::State; kwargs...)
4646
initialize_state!(problem, algorithm, state; kwargs...)
47+
log_start!(problem, algorithm, state)
4748
while !is_finished!(problem, algorithm, state)
49+
log_before_iteration!(problem, algorithm, state)
4850
increment!(state)
4951
step!(problem, algorithm, state)
52+
log_after_iteration!(problem, algorithm, state)
5053
end
54+
log_stop!(problem, algorithm, state)
5155
return state
5256
end
5357

0 commit comments

Comments
 (0)