Decision Optimization

Decision Optimization

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


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
  • 1.  how to assign an expression to a variable

    Posted 11/27/10 02:32 PM

    Originally posted by: QINGQINGQING


    IloNumVar][[] x=new IloNumVar[D][D][K];//x_ijk is bool
    double interval=Integer.MAX_VALUE+travelling_time+service_time

    now I want to asign

    -Integer.MAX_VALUE+x[i][j][k]*interval

    to a certain variable, such as

    var
    then I want to add the constraint

    t[i]+var<t[j]//t[i] and t[j] are both time

    into the cplex model with java
    Thank you
    #CPLEXOptimizers
    #DecisionOptimization


  • 2.  Re: how to assign an expression to a variable

    Posted 11/29/10 04:30 AM

    Originally posted by: SystemAdmin


    Answered here.
    #CPLEXOptimizers
    #DecisionOptimization