Hello all,
in the equations definition, I would like to put a strict unequality
constraint on my endogeneous variable x(t) :
x(t) > x(t-1)
means the variable’s value in each period t must be strictly greater
than in the previous period t-1.
But in the equations definiions, gams only considers unequality
operators like =g= and =l= (greater or equal to, less or equal to).
Strict operators are not accepted.
Do you know if the strict unequality operators exist in gams?
Many thanks
Romain
–~–~---------~–~----~------------~-------~–~----~
To post to this group, send email to gamsworld@googlegroups.com
To unsubscribe from this group, send email to gamsworld+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/gamsworld?hl=en
-~----------~----~----~----~------~----~------~–~—
\
Hi, I think that in GAMS there isn’t strict unequality operators, but you can define a parameter epsilon (>0) and then use the unestrict unequality operator, like this
eq(t)… x(t) =g= x(t+1) + epsilon
hope this helps
kind regards
2009/7/19 romain.davoust
Hello all,
in the equations definition, I would like to put a strict unequality
constraint on my endogeneous variable x(t) :
x(t) > x(t-1)
means the variable’s value in each period t must be strictly greater
than in the previous period t-1.
But in the equations definiions, gams only considers unequality
operators like =g= and =l= (greater or equal to, less or equal to).
Strict operators are not accepted.
Do you know if the strict unequality operators exist in gams?
Many thanks
Romain
\
Daniel Andrés Navia López
Ingeniero Civil QuÃmico
Mg.Sc.Ciencias de la IngenierÃa, Mención IngenierÃa QuÃmica
626752875
–~–~---------~–~----~------------~-------~–~----~
To post to this group, send email to gamsworld@googlegroups.com
To unsubscribe from this group, send email to gamsworld+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/gamsworld?hl=en
-~----------~----~----~----~------~----~------~–~—