# Another problem with my program

 0 Hello,I have another problem with my program too. I have two problems in writing that in gams: i don’t know how to write the" x t1t2s "(that is a binary variable,it give me an error if i write like this because i dont have any t1 or t2 in my set and they are only the elements of a set)??? i don’t know how to write its conditional statement for being 0 or 1 in my gams? Please help me my friends…. xt1t2s=1 if train1 leaves s before train2  and xt1t2s=0 if train2 leaves s before train1  (departurture time of t2 is lowerr than t1 or d(t2)
Be the first one to answer this question!
 toggle preview community wiki

By Email:

Markdown Basics

• *italic* or _italic_
• **bold** or __bold__
• image?![alt text](/path/img.jpg "Title")
• numbered list: 1. Foo 2. Bar
• to add a line break simply add two spaces to where you would like the new line to be.
• basic HTML tags are also supported

Tags:

×51