defining various type of variables

hi

i have a problem that has 2 kind of variable ( positive & binary variable);

i have 12 indices for the domain ( j/1*12/; )

what should i do to introduce :
x(1*10) as positive variable
&
x(11,12) as binary one.

thanks you for your support.


To unsubscribe from this group and stop receiving emails from it, send an email to gamsworld+unsubscribe@googlegroups.com.
To post to this group, send email to gamsworld@googlegroups.com.
Visit this group at http://groups.google.com/group/gamsworld.
For more options, visit https://groups.google.com/d/optout.

Hi,

You might find this helpful: http://support.gams.com/doku.php?id=gams:different_variable_types_within_one_definition

Michael Bussieck - GAMS World Coordinator

On Sunday, October 19, 2014 1:56:29 AM UTC-4, ms.haj...@gmail.com wrote:

hi

i have a problem that has 2 kind of variable ( positive & binary variable);

i have 12 indices for the domain ( j/1*12/; )

what should i do to introduce :
x(1*10) as positive variable
&
x(11,12) as binary one.

thanks you for your support.


To unsubscribe from this group and stop receiving emails from it, send an email to gamsworld+unsubscribe@googlegroups.com.
To post to this group, send email to gamsworld@googlegroups.com.
Visit this group at http://groups.google.com/group/gamsworld.
For more options, visit https://groups.google.com/d/optout.

i really do appreciate you.

On Monday, October 20, 2014 9:54:19 AM UTC+3:30, Michael Bussieck wrote:

Hi,

You might find this helpful: http://support.gams.com/doku.php?id=gams:different_variable_types_within_one_definition

Michael Bussieck - GAMS World Coordinator

On Sunday, October 19, 2014 1:56:29 AM UTC-4, ms.haj...@gmail.com wrote:

hi

i have a problem that has 2 kind of variable ( positive & binary variable);

i have 12 indices for the domain ( j/1*12/; )

what should i do to introduce :
x(1*10) as positive variable
&
x(11,12) as binary one.

thanks you for your support.


To unsubscribe from this group and stop receiving emails from it, send an email to gamsworld+unsubscribe@googlegroups.com.
To post to this group, send email to gamsworld@googlegroups.com.
Visit this group at http://groups.google.com/group/gamsworld.
For more options, visit https://groups.google.com/d/optout.