Hi,

I’m trying to write this constraint.

Here Ho is unit step function. Ho(0)=0 , otherwise it’s equal to 1.

I define Ho(i,j) as Binary Variable. I wrote the constraint like :

extrabitConstraint(i)(ord(i)>1).. e(i) =g= Prx*(sum(j(ord(j) > 1),f(j,i)))+sum(j,(Ptx(i,j)*f(i,j))) + sum(j,(Oc + Otx(i,j))*Ho(i,j));

. And now i have to define Ho(0)=0 like if there’s no flow (fij=0 and fji=0) then Ho=0. But, i’m not sure how to write this. Can you help me , please ?

## Thanks

\

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.