Any knows the method addinfocallback() in JuMP@0.18 now is replaced by what?

Viewed 29

I found following method addinfocallback() in the document of JuMP beta0.18, but couldn't find any in the latest beta's document.
Did anyone know any?

solutionvalues = Vector{Float64}[]

# build model ``m`` up here

function infocallback(cb)
    push!(solutionvalues, JuMP.getvalue(x))
end
addinfocallback(m, infocallback, when = :MIPSol)

solve(m)
1 Answers
Related