This is a progam in GAMS,i want to put the value of parameter a(i) into the value of Variable b(ag).
The following grogram is not work, i do not know what should i do.
set
u SAM entry /g1, g2, g3, ag1, ag2, ag3/
i(u) goods /g1, g2, g3/
ag(u) aminton goods /ag1, ag2, ag3/
;
parameter
a(i);
a(i)=1;
Variables
b(ag);
Equations
c(ag);
c(ag).. b(ag) =e= a(i);
Display a,b;
[此贴子已经被作者于2006-8-19 20:56:23编辑过]