Originally posted by: Eliosa
Hello,
Once again, thank you for the help provided. I have
float A[Port][Vessel];
float B[Port][Vessel];
float C[Port][Vessel];
execute Ini{
for (var p in Port)
for (var vs in Vessel)
A = maxl(B[p][vs],C[p][vs]);
}
But ILOG CPLEX Optimization Studio tells me :
Description Resource Path Location Type
Scripting runtime error: Element "maxl" does not exist in OPL model.. Optimisation.mod /Optimisation 200:0 C:\Users\jtricon\Documents\Optimisation\Optimisation\Optimisation.mod OPL Problem Marker
Not sure what I am doing wrong on this one.
Thanks
J
#DecisionOptimization#OPLusingCPLEXOptimizer