IC5Notice: We have upgraded developerWorks Community to the latest version of IBM Connections. For more information, read our upgrade FAQ.
Topic
  • 2 replies
  • Latest Post - ‏2013-11-26T13:36:46Z by AlexFleischer
Sonny-
Sonny-
1 Post

Pinned topic How to express it using OPL

‏2013-11-21T13:47:21Z |

hey guys,

I am pretty new to OPL and I think I have a very simple question.

I wanna express the following (I know the expression is false, but I think its easier to understand what I wanna do^^)

 

l[c,t] == a[c,t+m[c]]

So what I wanna do is to set a boolean variable a == boolean variable l to a later time point (t+m[c]) where m[c] is some int values given. Is there sth like the term in terms of sum(u in t...minl(t+m[c],MaxT)) just not for sums?

thanks for any kind of help!

Sorry I think I posted it in the wrong forum (and asked it in the correct one now), I still leave the question here aswell and I appreciate any kind of help!

Updated on 2013-11-21T15:02:29Z at 2013-11-21T15:02:29Z by Sonny-
  • DanielJunglas
    DanielJunglas
    113 Posts

    Re: How to express it using OPL

    ‏2013-11-22T06:42:34Z  

    Since this is clearly an OPL question you should turn to the OPL Forum.

  • AlexFleischer
    AlexFleischer
    43 Posts

    Re: How to express it using OPL

    ‏2013-11-26T13:36:46Z  

    Since this is clearly an OPL question you should turn to the OPL Forum.

    The answer is at

    https://www.ibm.com/developerworks/community/forums/html/topic?id=e481f0e2-992b-4ca2-bad3-bd89c6d2885a&ps=25

    Regards