Originally posted by: Paroth
I have following equation to model in CPLEX
But i am encountering problems with the sum within the sum. In CPLEX i got the following code:
forall(k in Rn,t in T) ctNightCapacity[k][t]:
sum(p in P:k==b[p] && t>=alpha[p])
1-sum(t in T: E[PHI[p]]<=t<=minl(t,L[PHI[p]]))x[PHI[p]][t]<=RN[k][t];
But i get an error that p is not defined. Can someone help me here? I couldn't find any solutions on the web or the IBM manual.
Thank you in advance!
#DecisionOptimization#OPLusingCPLEXOptimizer