Originally posted by: Yari
Hello again Alex, thanks a lot for the prompt reply.
Maybe I did not provide enough context or I'm missing something. I'm using OPL with no api so I don't think what's referenced in that link is applicable in my case since it's referring to cplex and java.
What I'm doing now is
float temp;
execute{
var before = new Date();
temp = before.getTime();
}
// optimization problem definition
// constraints
execute{
var after = new Date();
writeln(after);
writeln("solving time ~= ",after.getTime()-temp);
}
#DecisionOptimization#OPLusingCPLEXOptimizer