I have a integer matrix "Hm".
int HmFaculty;
ct9 : forall(i in Faculty,j in Topic, r in Room,t in {2..HmFaculty})
Allocation[i][j][1][r]Allocation[i][j][t][r]<=0;
Error: cannot use type range for int.
Please somebody help me out on this. I am stuck over here.
Topic
NOTICE: developerWorks Community will be offline May 2930, 2015 while we upgrade to the latest version of IBM Connections. For more information, read our upgrade FAQ.
This topic has been locked.
1 reply
Latest Post
 20130227T09:05:43Z by SystemAdmin
ACCEPTED ANSWER
Pinned topic integer matrix
20130226T21:01:27Z

Answered question
This question has been answered.
Unanswered question
This question has not been answered yet.
Updated on 20130227T09:05:43Z at 20130227T09:05:43Z by SystemAdmin

ACCEPTED ANSWER
Re: integer matrix
20130227T09:05:43Z in response to SystemAdminCurved brackets are not needed here, and Faculty is a set(so can not be an index value). Try "t in 2..Hm[i]".