In mincost_flow function, when trying to pass args to the optimizer via a closure, I hit a JuMP deprecation warning.
With the example from the documentation:
Adding optimizer_kwargs... in the function arguments, and using JuMP.set_optimizer_attribute to pass them to the model, we avoid the deprecation.
I have not tested with any other optimizer than Clp
In
mincost_flow
function, when trying to pass args to the optimizer via a closure, I hit a JuMP deprecation warning. With the example from the documentation:Adding
optimizer_kwargs...
in the function arguments, and usingJuMP.set_optimizer_attribute
to pass them to the model, we avoid the deprecation. I have not tested with any other optimizer than Clp