Originally posted by: UMQX_Olfat_ELMahi
Hello
i am new to OPL and i really need help what i am trying to do is making some calculation before start solving the problem and for that i need to use for loop.
when i use it with no keywords it wors fine for Example:
execute{
for(var i=0; i<no ; i++)
VO[i] = i / 20000 ;
}
but when i try to add some keyword like ceil or ftoi it gives me error "ceil" element does not Exist in OPL
execute{
for(var i=0; i<no ; i++)
VO[i] = ceil(i / 20000) ;
}
can you help me.
Thanks.
#CPLEXOptimizers#DecisionOptimization