Decision Optimization

Decision Optimization

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


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
  • 1.  Decision variable(or expression) not allowed

    Posted 11/26/16 10:09 AM

    Originally posted by: khadeejah


    Dear All, URGENT PLEASE

    I have this error comment in the mod file for these 3 constraints; (ctinv1,2 &3):

    ctinv1: 1000000 *(1-bft)>= FQf2t[f][t]>= q*(1-bft);
     forall (f in fabric, t in periods)
    ctinv2: 0 <=FQf1t[f][t]<= q*bft;
     forall (f in fabric, t in periods)
    ctinv3: q*(1-bft)<=FQf2t[f][t]<= 1000000 *(1-bft);

    the bft is a dvar boolean.

    Any help?

     


    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 2.  Re: Decision variable(or expression) not allowed

    Posted 11/26/16 11:20 AM

    Hi,

    writing 

    x<=y<=z

    is not allowed If x ans z contain dvar or dexpr

    Can you try to replace this by

    x<=y;

    y<=z;

    ?

    regards


    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 3.  Re: Decision variable(or expression) not allowed

    Posted 11/26/16 12:04 PM

    Originally posted by: khadeejah


    Yes, it worked. Million thanks Alex.


    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 4.  Re: Decision variable(or expression) not allowed



  • 5.  Re: Decision variable(or expression) not allowed

    Posted 11/26/16 12:26 PM

    Originally posted by: khadeejah


    Why when i press the Run button, it doesnot run the existing program in the workspace, it runs an old project???


    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 6.  Re: Decision variable(or expression) not allowed

    Posted 11/28/16 05:12 AM

    Originally posted by: ShaCplex


    Hi,

     

    then you need to run the configuration (under Run configuration) of the project  you want to run..


    #DecisionOptimization
    #OPLusingCPLEXOptimizer