Decision Optimization

Decision Optimization

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


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
  • 1.  execute element from tuple

    Posted 06/20/16 05:20 AM

    Originally posted by: sandeepsinghchauhan


    capacity=

    Level      c

    1            10

    2            20

    3            40

    1            5

    2            0

    1            1000

    tuple Tcapacity
    {

      int Level;
      int c;  
    }
    {Tcapacity} capacity = ...;

    int Low[1..3];

    execute{
    for(var P in capacity){

    if (P.Level = 1){

    Low[P] = P.capacity;

    }
    }
    }

    ERROR
    The collection "capacity" is immutable because it is referenced by another element.  

    please help


    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 2.  Re: execute element from tuple