Decision Optimization

Decision Optimization

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


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
  • 1.  Time dependent variables

    Posted 04/15/11 05:12 AM

    Originally posted by: nomiz


    Dear all,

    I am trying to incorporate a time dependent relation (still unsuccessful):

    for(i = 0; i < nTimeSteps; i++) {
        x[i+1] = x[i] + vx[i] * deltaT;
    }
    


    With:

    1. Is this construct possible?
    2. Can the elements in an IloExprArray relate to each other?
    3. Howto implement a start condition for an expression element, i.e. x[0] = 0 ?

    Thank you in advance!
    #CPLEXOptimizers
    #DecisionOptimization


  • 2.  Re: Time dependent variables

    Posted 04/17/11 08:38 AM

    Originally posted by: nomiz


    To answer my own questions:

    1. Is this construct possible?
    Yes it is. Let x be a IloNumExprArray.

    2. Can the elements in an IloExprArray relate to each other?
    Apparently they can, but a starting expression should be given.

    3. Howto implement a start condition for an expression element, i.e. x[0] = 0 ?
    This is done by
    x[0] = IloNumExpr(env, xStart);
    

    where xStart is an IloNum.
    #CPLEXOptimizers
    #DecisionOptimization


  • 3.  Re: Time dependent variables

    Posted 04/17/11 08:40 AM

    Originally posted by: nomiz


    I'm starting to get a grip on the C++ Concert interface.
    #CPLEXOptimizers
    #DecisionOptimization