Time to find the first feasible integer solution with JuMP

I am solving a mixed-integer linear programming model with JuMP and CPLEX. How could I measure the time required to find the first feasible integer solution?

Best regards,

Bruno

You could set the CPXPARAM_MIP_Limits_Solutions parameter to 1 and time that:

using JuMP, CPLEX
model = Model(CPLEX.Optimizer)
set_attribute(model, "CPXPARAM_MIP_Limits_Solutions", 1)

Dear Oscar,
Thank you very much.
Best,
Bruno