I am new to GAMS and learning it with all your help- Thanks
I want to put constraint variable using parameter.
Ts(pBss) is parameter and T(pBss) is variable.
Mathematically-- T(pBss) less than or equal to Ts(pBss) where both set varies by index 3 to 11.
T(3) <= Ts(3) up to 11
There are total 8 conditions I have to put and then objective function
Can any one suggest the syntax in GAMS for it.
Thanks
\
To view this discussion on the web visit https://groups.google.com/d/msg/gamsworld/-/hOXOLeb45ZAJ.
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.
Dear Munkun,
Let’s say that the constraint name is constr(pBss), then:
constr(pBss)$(ORD(pBss) > 2)… T(pBss) =L= Ts(pBss) ;
Cheers,
Pedro
On Mon, Sep 24, 2012 at 6:38 PM, Mukund Bade wrote:
I am new to GAMS and learning it with all your help- Thanks
I want to put constraint variable using parameter.
Ts(pBss) is parameter and T(pBss) is variable.
Mathematically-- T(pBss) less than or equal to Ts(pBss) where both set varies by index 3 to 11.
T(3) <= Ts(3) up to 11
There are total 8 conditions I have to put and then objective function
Can any one suggest the syntax in GAMS for it.
Thanks
\
PEDRO JAVIER RAMÃREZ TORREALBA
Ingeniero Civil Eléctrico PUC
MSc en IngenierÃa Eléctrica PUC
Londres, REINO UNIDO
Celular: +44-(0)-75-806-93119
–
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.
Dear Pedro,
Thanks,
Best wishes!
On Monday, September 24, 2012 11:08:27 PM UTC+5:30, Mukund Bade wrote:
I am new to GAMS and learning it with all your help- Thanks
I want to put constraint variable using parameter.
Ts(pBss) is parameter and T(pBss) is variable.
Mathematically-- T(pBss) less than or equal to Ts(pBss) where both set varies by index 3 to 11.
T(3) <= Ts(3) up to 11
There are total 8 conditions I have to put and then objective function
Can any one suggest the syntax in GAMS for it.
Thanks
\
To view this discussion on the web visit https://groups.google.com/d/msg/gamsworld/-/uAkENOqDZRUJ.
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.