Topic
3 replies Latest Post - ‏2013-07-17T13:21:56Z by AlexFleischer
ostaz
ostaz
4 Posts
ACCEPTED ANSWER

Pinned topic Tuple with index out of bound

‏2013-07-17T09:55:17Z |

Hi everyone,

Assume I ahev a tuple like this

Market{

int org;

int dst

};

and a constraint label d[Maket] associated with Market. Initially, the tuple Market is empty.

I add a new element (a,b) to the tuple Market by Market.add(a,b) and the new elements is added correctly.

Neverthless, when processing d[Market] in the OPL script, an error message arose "index out of bound for array d"

 

Is there any mean to fix this problem?