Originally posted by: sandeepsinghchauhan
I have a tuple
tuple P
{
int process;
}
{P} Process = ...;
range p = 1..p1;
range c = 1..c1;
float process1[c][p] = ...;
dexpr float X[p in Process] = "an equation";
dexpr float Q [i in c] = sum( j in Process)(Xtotal[j]*process1[i][j];
Error:
Cannot use type <process:int> for int.
I am getting this error because of process1[i][j].
Please help!
#DecisionOptimization#OPLusingCPLEXOptimizer