Académique Documents
Professionnel Documents
Culture Documents
Reply-to: gamsworld@googlegroups.com
questions.
simple!
For example, I have 4 quantities that are properly defined: q1, q2,
q3, q4.
const1 .. q1 =l= a1 ;
Thanks in advance!
Ebrahim
*----------------------------------------------------------------------------------------------------------------------------
-
/1*4/;
r.v.' ;
M=N/L;
Parameter
each round
/ 1 0.900
2 0.950
3 0.990
4 0.999 / ;
c(ell) = epsilon(ell) ;
Variables
f0 'weighted power'
q(ell)
uL(ell) ;
Positive Variable P ;
Positive Variable t ;
Equations
Eq(ell)
upperLimit ;
Gammareg(lambda/P(ell),0) ;
uL('2') ;
uL('3') ;
*Display P.l ;
*----------------------------------------------------------------------------------------------------------------------------
-
SOLUTION
Hello Ebrahim,
You can deal with the error you mentioned adding alias and ord functions as:
questions.
simple!
For example, I have 4 quantities that are properly defined: q1, q2,
q3, q4.
const1 .. q1 =l= a1 ;
Ebrahim
*----------------------------------------------------------------------------------------------------------------------------
-
/1*4/;
r.v.' ;
M=N/L;
Parameter
each round
/ 1 0.900
2 0.950
3 0.990
4 0.999 / ;
c(ell) = epsilon(ell) ;
Variables
P(ell) 'power allocated to current retransmission'
f0 'weighted power'
q(ell)
uL(ell) ;
Positive Variable P ;
Positive Variable t ;
Equations
Eq(ell)
upperLimit ;
Gammareg(lambda/P(ell),0) ;
uL('2') ;
uL('3') ;
*Display P.l ;
*----------------------------------------------------------------------------------------------------------------------------
-
--
--
Top
Archiver
User
User
Posts: 7876
Dear Muhajir,
Thanks a million!
It works now!