Originally posted by: UDOPS
I am receiving syntax errors within the OPL editor on these statements, but I do not understand the source of error. The error says I cannot use a tuple of the form I defined <int int> with "in".
{blocktime} CellNet={<i,t> | <i,t> in BlockNet, <i,m> in CellPairs: <i,t+1> in BlockNet && <m,t> in BlockNet && <m,t+1> in BlockNet};
int CellCap
CellNet= [<i,t> : ( //capacity of cells in network
(Problem[1].cellmode=="Normal")? minl(BlockData[i].capacity, min(<i,m> in CellPairs) BlockData[m].capacity):
(Problem[1].cellmode=="Liberal")? maxl(BlockData[i].capacity, max(<i,m> in CellPairs) BlockData[m].capacity):
1)| <i,t> in CellNet];
#DecisionOptimization#OPLusingCPLEXOptimizer