Dear friends,

I have a MINLP model.

I have a set called t (t=1,2,3,…365) which indicates days.

I have a integer variable called T (ordering Period) which is obtained during model solving procedure.

I have a binary variable set called X(t) .

I do not know how to define suitable equation that assigns correct value to X(t) variables if we have:

X(t)=1 for t=nT (n:integer)

X(t)=0 otherwise

For example if T=3 then X(1)=0,X(2)=0,X(3)=1

X(4)=0,X(5)=0,X(6)=1

And so onâ€¦

Waiting for your warm-hearted helpâ€¦

–

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/groups/opt_out.