Topic
1 reply Latest Post - ‏2013-02-26T22:50:49Z by SystemAdmin
SystemAdmin
SystemAdmin
754 Posts
ACCEPTED ANSWER

Pinned topic integer matrix

‏2013-02-26T21:02:44Z |
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.
Updated on 2013-02-26T22:50:49Z at 2013-02-26T22:50:49Z by SystemAdmin
  • SystemAdmin
    SystemAdmin
    754 Posts
    ACCEPTED ANSWER

    Re: integer matrix

    ‏2013-02-26T22:50:49Z  in response to SystemAdmin
    This appears to be an OPL question, so I suggest you try the OPL forum. Also, to facilitate reading your post, surround any code with the code tag (the word 'code' surrounded by braces {}, as shown in the Plain Text Help window on the right when posting).

    Paul

    Mathematicians are like Frenchmen: whenever you say something to them, they translate it into their own language, and at once it is something entirely different. (Goethe)