Originally posted by: qtbgo
Hi, I have the following OPL code in a mod file, but it reports error when I run it, can anyone tell me why?
int fr = ftoi(frac(1.2)*10);
execute{
writeln(fr);
}
The error is: Bad Conversion between an integer object and a numeric object.
#DecisionOptimization#OPLusingCPOptimizer