Decision Optimization

Decision Optimization

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


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
  • 1.  Questions about constraints

    Posted 05/05/18 03:34 AM

    Originally posted by: skyskyhuanghuang


    Hi,everyone.I encountered a problem.

    When I write the following form in the constraint, I cannot understand the limitations of the constraint in the Problem Browser?

    dvar int Yji[1..M][1..M] in 0..1 ;
    subject to
    {
    //xia mian san ge yue shu shi zhen dui yu FDR
    forall(i,j,k,m in 1..M:j!=i&&j!=k&&i!=k&&m!=j&&m!=i&&m!=k)
    {
    FDRLimiation:
    (Yji[j][i]==1) +(Yji[i][k]==1) ==2
    => (Yji[m][i]==0&&Yji[k][m]==0);
    }
    forall(i ,j in 1..M:i!=j)
    FeiDuichenyueshu:
         Yji[j][i]==1
         => Yji[i][j]==0;
    }

    But in the Problem Browser window it shows the following:

    The decision variable Yji should not start from Yji[1][1]?And I can't understand the meaning of other constraints in this picture?Can you explain it for me?

     

     


    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 2.  Re: Questions about constraints

    Posted 05/05/18 04:13 AM

    Hi,

    if you do not want to see # but the real indexes you should increase the big map threshold:

    Big map naming threshold Specifies how many entries an array (or map in Concert terms) or constraint must have to be considered as big for display and naming purposes. See More about the "Big map naming threshold" option for details. 100

    #DecisionOptimization
    #OPLusingCPLEXOptimizer