JuMP get number of iterations



Is there a way to access the number of iterations apart from the log of the solver?

I’m comparing different solvers and I would like to store in a vector the number of iteration each one takes.

I couldn’t really find a function for something like this in the documentation, something like getiterations(m::JuMP.Model).

I’ve also looked inside the fields of JuMP.Model with no luck.

thanks for your help!