Writing my own callbacks

I think you want to call cb() here? With this change, I get:

julia> solver(; cb=cb2)
callback: iter= 8
4 Likes