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

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

1 Like

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)
```

1 Like

Dear Oscar,

Thank you very much.

Best,

Bruno

1 Like