Decision Optimization

Decision Optimization

Delivers prescriptive analytics capabilities and decision intelligence to improve decision-making.

 View Only
Expand all | Collapse all

converting gams code to cplex using java

  • 1.  converting gams code to cplex using java

    Posted Wed February 09, 2011 01:40 PM

    Originally posted by: masdar


    Hi ALL,

    i'm new to cplex and i'm trying to convert my gams code to cplex in java IDE
    "con(t,t1,m)$(ord(t1)=ord(t)+1).. h(t1,m) =e= h(t,m) * (1 - sdb) + ch(t1,m)"

    Please help out.

    thanks.
    #CPLEXOptimizers
    #DecisionOptimization


  • 2.  Re: converting gams code to cplex using java

    Posted Thu February 10, 2011 07:42 AM

    Originally posted by: SystemAdmin


    It would be easier to help you if you provided a more abstract description of your constraint. There are people (like me) that are not familiar with GAMS syntax but may still tell you how to write up a particular constraint in Java.
    What are the variables? What do the '$' and '=e=' operators mean?
    #CPLEXOptimizers
    #DecisionOptimization