Greetings to all friends
I have a problem about entering data in table. I defined thr two
following sets:
N Power Systems Nodes /1*6/
NNt(N,N) Node Pairs With Candidate Transmission Lines /2.6, 4.6/;
LN Candidate Transmission Line /1, 2/
I have a three dimention parameter (IT) whose first and second
elements are from set “NNt” and third element is from set “LN”. when I
wrote the following statement:
Table IT(NNt,LN) Transmission Investment Cost
1 2
2.6 7.2 5
4.6 7.2 6;
GAMS returned the following errors:
Table IT(NNt,LN) Transmission Investment Cost
**** $122
110 1 2
111 2.6 7.2 5
**** $222
112 4.6 7.2 6;
**** $222
122 One dimensional set expected
222 Row dimension inconsistent with declared dimension and
column dimension
What should I do? again, what should I do If I want to define a
variables with such elements?
\