<!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><FONT id=role_document face=Arial color=#000000 
size=2><FONT id=role_document face=Arial color=#000000 size=2>
<DIV>Dear all,</DIV>
<DIV>&nbsp;</DIV>
<DIV>thanks for all your help! I can't express how much I appreciate this!</DIV>
<DIV>&nbsp;</DIV>
<DIV>Unfortunatly, I have more problematic statements:</DIV>
<DIV>&nbsp;</DIV>
<DIV>1) This one is very problematic </DIV>
<DIV>&nbsp;</DIV>
<DIV>Problem (A):</DIV>
<DIV>&nbsp;</DIV>
<DIV>
<DIV>How do I solve the problem that occurs when I got more than 5 
dimensions?</DIV>
<DIV>&nbsp;</DIV>
<DIV>My idea is:</DIV>
<DIV>&nbsp;</DIV>
<DIV>...</DIV>
<DIV>MP_subset&lt;2&gt; rt(r,t);</DIV>
<DIV>forall(r*t, rt.insert(r,t));</DIV>
<DIV>...</DIV>
<DIV>AP_LinkGleicherTag(c,l,g,d,<U>rt</U>).such_that(LC(l,c)).such_that(GAL(g,l)).such_that(DG(d,g)).such_that((mod(t,Periodizitaet(0))=0))= 
x(<U>rt</U>,d,g)==0;</DIV>
<DIV><BR>&nbsp;</DIV>
<DIV>I don't have a problem compiling it, but is this correct? The set "t" ist 
used in that "mod(t,Periodizitaet(0))=0"-Statement. Are there any problems with 
that "t" because I use subset "rt" in that case?</DIV></DIV>
<DIV>&nbsp;</DIV>
<DIV>Problem (B):</DIV>
<DIV>&nbsp;</DIV>
<DIV>GAMS:</DIV>
<DIV>&nbsp;</DIV>
<DIV>
<DIV>AP_LinkGleicherTag(c,l,g,d,r,t)$(LC(l,c) and GAL(g,l) and 
DG(d,g)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
<U>and (mod(ord(t),Periodizitaet)=0</U>))..<BR>&nbsp;x(r,t,d,g)=e=0;</DIV>
<DIV>&nbsp;</DIV>
<DIV>I put the focus on the first underline</DIV>
<DIV>&nbsp;</DIV>
<DIV>My idea about this is:</DIV>
<DIV>&nbsp;</DIV>
<DIV>AP_LinkGleicherTag(c,l,g,d,r,t).such_that(LC(l,c)).such_that(GAL(g,l)).such_that(DG(d,g)).<U>such_that((mod(t,Periodizitaet)=0)</U>)= 
x(r,t,d,g)==0;</DIV>
<DIV>&nbsp;</DIV>
<DIV>I get an error message: "error C2664: 'flopc::mod': Parameter 1 can't be 
converted&nbsp;from 'flopc::MP_set'&nbsp;to 'int'"</DIV>
<DIV>&nbsp;</DIV></DIV>
<DIV>What do I have to do?</DIV>
<DIV>&nbsp;</DIV>
<DIV>Problem (C):</DIV>
<DIV>&nbsp;</DIV>
<DIV>AP_LinkGleicherTag(c,l,g,d,rt).such_that(LC(l,c)).such_that(GAL(g,l)).such_that(DG(d,g)).such_that((mod(t,Periodizitaet(0))=0))= 
x(rt,d,g)==0;<BR></DIV>
<DIV>Compiling this, I get the message: "C2593 Operator "==" is ambiguous". If I 
change 0 to 1 for example the error message doesn't appear.</DIV>
<DIV>&nbsp;</DIV>
<DIV>I helped myself also with </DIV>
<DIV>&nbsp;</DIV>
<DIV>...</DIV>
<DIV>MP_data null(p);</DIV>
<DIV>&nbsp;</DIV>
<DIV>null(0) = 0;</DIV>
<DIV>&nbsp;</DIV>
<DIV>AP_LinkGleicherTag(c,l,g,d,rt).such_that(LC(l,c)).such_that(GAL(g,l)).such_that(DG(d,g)).such_that((mod(t,Periodizitaet(0))=0))= 
x(rt,d,g)==<U>null(0);</U></DIV>
<DIV>&nbsp;</DIV>
<DIV>Can I do this?</DIV>
<DIV>&nbsp;</DIV>
<DIV>2)</DIV>
<DIV>&nbsp;</DIV>
<DIV>Is the use of "dtilde" correct?</DIV>
<DIV>&nbsp;</DIV>
<DIV>GAMS:</DIV>
<DIV>...</DIV>
<DIV>alias(d,dtilde);&nbsp; </DIV>
<DIV>...</DIV>
<DIV>AP_Parallel(p,t)..<BR>&nbsp;sum(r,sum(g$GP(g,p),sum(d$DG(d,g), 
1/sum(<U>dtilde</U>$DG(<U>dtilde</U>,g), 1) * x(r,t,d,g) ))) + 
q(p,t)<BR>&nbsp;=e=sum(g$GP(g,p),1)*z(p,t);</DIV>
<DIV>&nbsp;</DIV>
<DIV>MP_index dtilde;</DIV>
<DIV>...</DIV>
<DIV>AP_Parallel(p,t)= sum(r,sum(g.such_that(GP(g,p)),sum(d.such_that(DG(d,g)), 
1/sum(d<U>(dtilde).</U>such_that(DG(<U>dtilde</U>,g)), 1) * x(r,t,d,g) ))) + 
q(p,t)==sum(g.such_that(GP(g,p)),1)*z(p,t);</DIV>
<DIV>&nbsp;</DIV>
<DIV>3)</DIV>
<DIV>GAMS:</DIV>
<DIV>&nbsp;</DIV>
<DIV>AP_AlleEinplan(d,g)$DG(d,g)..<BR>&nbsp;sum(r,sum(t,sum(h$(<U>not</U>(NDTH(d,t,h))), 
x(r,t,h,d,g))))=e=1;</DIV>
<DIV>&nbsp;</DIV>
<DIV>How do I translate "not"?</DIV>
<DIV>&nbsp;</DIV>
<DIV>4)</DIV>
<DIV>&nbsp;</DIV>
<DIV>My problem is how to translate the "sum"</DIV>
<DIV>&nbsp;</DIV>
<DIV>AP_TeamTeach(c,g,r,t)$(GC(g,c)&nbsp; and <U>(sum(d$DG(d,g), 1) &gt;1) 
</U>)..<BR>&nbsp;sum(d$DG(d,g), x(r,t,d,g))=e=sum(d$DG(d,g), 1) *m(g,r,t);</DIV>
<DIV>&nbsp;</DIV>
<DIV>My idea is:</DIV>
<DIV>&nbsp;</DIV>
<DIV>AP_TeamTeach(c,g,r,t).such_that(GC(g,c)).<U>such_that(sum(d.such_that(DG(d,g)),1)&gt;1)</U> 
= sum(d.such_that(DG(d,g)), x(r,t,d,g))== sum(d.such_that(DG(d,g)), 1) 
*m(g,r,t);</DIV>
<DIV>&nbsp;</DIV>
<DIV>Thanks in advance,</DIV>
<DIV>&nbsp;</DIV>
<DIV>Christian </DIV></FONT></FONT></FONT></BODY></HTML>