Hello, I am experiencing a problem retrieving Gurobi running times with option “timing 1”.
As far as I could see, the problem arises when solving a named problem within a loop. The following .run file;
var x1>=0;
minimize objfun: x1;
option solver gurobi;
option gurobi_options "timing 1";
problem testing: x1, objfun;
repeat{
solve testing;
display testing.time_solver;
break;
}
produces the following error:
Bad suffix .time_solver for testing
context: display >>> testing.time_solver; <<<
Possible suffix values for testing.suffix:
astatus exitcode message relax
result sstatus stage
Solving the problem outside the loop works fine. Solving the problem without naming it also works fine (using “Initial.time_solver”) .
Best regards,
Julio.