<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=US-ASCII">
<META content="MSHTML 6.00.2800.1528" name=GENERATOR></HEAD>
<BODY id=role_body style="FONT-SIZE: 10pt; COLOR: #000000; FONT-FAMILY: Arial" 
bottomMargin=7 leftMargin=7 topMargin=7 rightMargin=7><FONT id=role_document 
face=Arial color=#000000 size=2>
<DIV>Dear all,</DIV>
<DIV>&nbsp;</DIV>
<DIV>I got two questions about how to "translate" Gams-equations to 
FlopC++-constraints.</DIV>
<DIV>&nbsp;</DIV>
<DIV>1)</DIV>
<DIV>&nbsp;</DIV>
<DIV>
<DIV>The problem is, that I don't know how to translate "$(DC(d,c) and DG(d,g))" 
to "such_that" in this special case:</DIV>
<DIV>&nbsp;</DIV></DIV>
<DIV>GAMS:</DIV>
<DIV>...</DIV>
<DIV>Equations</DIV>
<DIV>AP_AlleEinplan(c,d,g)</DIV>
<DIV>...</DIV>
<DIV>AP_AlleEinplan(c,d,g)<U>$(DC(d,c) and DG(d,g))</U>.. sum(r,sum(t, 
x(r,t,d,g)))=e=1;</DIV>
<DIV>&nbsp;</DIV>
<DIV>My idea about this:</DIV>
<DIV>&nbsp;</DIV>
<DIV>FlopC++:</DIV>
<DIV>...</DIV>
<DIV>MP_constraint<BR>&nbsp;AP_AlleEinplan(c,d,g)</DIV>
<DIV>...</DIV>
<DIV>AP_AlleEinplan(c,d,g) = <U>sum(d.such_that(DC(c,d)&gt;-2), 
sum(g.such_that(DG(d,g)&gt;-2),</U> sum(r,sum(t, x(r,t,d,g)))))==1;<BR></DIV>
<DIV>2)</DIV>
<DIV>&nbsp;</DIV>
<DIV>The second problem is about "Alias" in a similar case as (1):</DIV>
<DIV>&nbsp;</DIV>
<DIV>GAMS:</DIV>
<DIV>...</DIV>
<DIV>Alias(d, dtilde)</DIV>
<DIV>Alias(g, gtilde)</DIV>
<DIV>...</DIV>
<DIV>Equations</DIV>
<DIV>AP_GruppenLink(c,l,g,<U>gtilde</U>,d,<U>dtilde</U>,r,t) </DIV>
<DIV>...</DIV>
<DIV>AP_GruppenLink(c,l,g,<U>gtilde</U>,d,<U>dtilde</U>,r,t)..&nbsp;x(r,t,d,g)=e=x(r,t+1,<U>dtilde</U>,<U>gtilde</U>);</DIV>
<DIV>&nbsp;</DIV>
<DIV>
<DIV>FlopC++:</DIV>
<DIV>...</DIV>
<DIV>MP_index dtilde, gtilde;</DIV>
<DIV>...</DIV>
<DIV>MP_constraint</DIV>
<DIV>AP_GruppenLink(c,l,g,<U>g(gtilde)</U>,d,<U>d(dtilde),</U>r,t) </DIV>
<DIV>...</DIV>
<DIV>AP_GruppenLink(c,l,g,<U>g(gtilde)</U>,d,<U>d(dtilde)</U>,r,t)..&nbsp;x(r,t,d,g)==x(r,t+1,<U>d(dtilde),g(gtilde)</U>);</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>Thank you in advance,</DIV>
<DIV>&nbsp;</DIV>
<DIV>Greetings from Cologne,</DIV>
<DIV>&nbsp;</DIV>
<DIV>Christian</DIV></DIV></FONT></BODY></HTML>