Decision Optimization

Decision Optimization

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


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
  • 1.  CONSTRAINT DETAILS

    Posted 09/26/15 07:06 PM

    Originally posted by: özgür_ak


    In the constraint detail section i am able to see limited part of the whole constraint. Is there a way to see rest of it?


    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 2.  Re: CONSTRAINT DETAILS



  • 3.  Re: CONSTRAINT DETAILS

    Posted 09/27/15 09:42 AM

    Originally posted by: özgür_ak


    Thanks but i couldnt make it work for my model. There must be a simpler way to see it. CPLEX does the half of the work but some how it cuts showing the rest of the constraint. 


    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 4.  Re: CONSTRAINT DETAILS

    Posted 09/27/15 01:04 PM

    Hi,

    can you post your .mod and .dat ?

    regards


    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 5.  Re: CONSTRAINT DETAILS

    Posted 09/28/15 03:43 AM

    Hi,

    with the .mod and .dat you sent me, the script I gave you works fine:

    execute {
    writeln();
    writeln();

      var expanded = ct6[1][4][2]._expandable.expand;
      for (var i = 0; i < expanded.length; i++) {
              writeln("-> " + expanded[i].print);
      }
    }

    gives

     

    -> u[<1,4>][2] != 0 => (x[<1,4>][2] == 1)+((0 == 1+1)+(0 == 1+1)+(0 == 1+1)+(0 == 1+1)+(0 == 1+1)+(0 == 1+1)+(0 == 1+1)+(0 == 1+1)+(0 == 1+1)+(0 == 1+1)+(0 == 1+1)+(0 == 1+1)+(0 == 1+1)+(0 == 1+1)+(0 == 1+1)+(0 == 1+1)+(0 == 1+1)+(0 == 1+1)+(0 == 1+1)+(0 == 1+1)+(0 == 1+1)+(0 == 1+1)+(0 == 1+1)+(0 == 1+1)+(0 == 2+1)+(0 == 2+1)+(0 == 2+1)+(0 == 2+1)+(0 == 2+1)+(0 == 2+1)+(0 == 2+1)+(0 == 2+1)+(0 == 2+1)+(0 == 2+1)+(0 == 2+1)+(0 == 2+1)+(0 == 2+1)+(0 == 2+1)+(0 == 2+1)+(0 == 2+1)+(0 == 2+1)+(0 == 2+1)+(0 == 2+1)+(0 == 2+1)+(0 == 2+1)+(0 == 2+1)+(0 == 2+1)+(0 == 2+1)+(0 == 3+1)+(0 == 3+1)+(0 == 3+1)+(0 == 3+1)+(0 == 3+1)+(0 == 3+1)+(0 == 3+1)+(0 == 3+1)+(0 == 3+1)+(0 == 3+1)+(0 == 3+1)+(0 == 3+1)+(0 == 3+1)+(0 == 3+1)+(0 == 3+1)+(0 == 3+1)+(0 == 3+1)+(0 == 3+1)+(0 == 3+1)+(0 == 3+1)+(0 == 3+1)+(0 == 3+1)+(0 == 3+1)+(0 == 3+1)+(0 == 4+1)+(0 == 4+1)+(0 == 4+1)+(0 == 4+1)+(0 == 4+1)+(0 == 4+1)+(0 == 4+1)+(0 == 4+1)+(0 == 4+1)+(0 == 4+1)+(0 == 4+1)+(0 == 4+1)+(0 == 4+1)+(0 == 4+1)+(0 == 4+1)+(0 == 4+1)+(0 == 4+1)+(0 == 4+1)+(0 == 4+1)+(0 == 4+1)+(0 == 4+1)+(0 == 4+1)+(0 == 4+1)+(0 == 4+1)) == 1

    And you can also see this when you put your mouse in the problem browser

     

    regards


    #DecisionOptimization
    #OPLusingCPLEXOptimizer