Decision Optimization

Decision Optimization

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


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
  • 1.  Cannot find solution

    Posted 07/17/16 11:47 PM

    Originally posted by: ThanhBinhNguyen


    Hi, I have a problem need your help

    My code gave the all zeros solution and I have no idea why.

    Please help me.

    I attacked the files below.


    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 2.  Re: Cannot find solution

    Posted 07/18/16 07:50 AM

    Hi,

    no constraint requires any minimum for I!

    So if I add the constraint

    I_min>=1;

    then all I move from 0 to 1.

    You should check your model

    regards

     


    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 3.  Re: Cannot find solution

    Posted 07/18/16 08:52 AM

    Originally posted by: ThanhBinhNguyen


    Hi,

    I did change I_min>=1 but the other variables still zeros.

    x[i,j,k] and O[i,j,k] still zeros.

     


    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 4.  Re: Cannot find solution

    Posted 07/18/16 09:42 AM

    Hi,

    You should investigate.

    Try to comment:

    //forall (b in j, c in 1..T)
      //H[b][c]== sum(a in i, e in 1..8)((D[a][e]*ORF[a][e]*f[a][e])*O[a][b][c]);

    Then you get a non trivial solution and then you could debug

    Regards


    #DecisionOptimization
    #OPLusingCPLEXOptimizer