Decision Optimization

Decision Optimization

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


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
  • 1.  LP constraint

    Posted 07/21/15 05:13 PM

    Originally posted by: Abdelraheem


     I am trying to solve a LP problem with the following constraint

    where x and y are the binary decision variables

    I for every j I need to calculate (x *y * R * eita * B_ch *PU ) then divide it by the sum of ones in the  x matrix for the current value of  I  and k , then sum over all values of I and k

    I always receive error that CPLEX cannot extract the expression

    any help please

     


    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 2.  Re: LP constraint

    Posted 07/22/15 03:00 AM

    Hi,

    have you tried to use CPO ?

    Can you attach your model and data ?

    regards


    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 3.  Re: LP constraint

    Posted 07/22/15 12:28 PM

    Originally posted by: Abdelraheem


    Thanks for the reply,

     

    I am new at CPLEX so what is the CPO ?

     

    I attached the model and data file

     

    Thanks

     

     


    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 4.  Re: LP constraint

    Posted 07/22/15 01:07 PM

    Hi,

    in CPLEX you have a MIP and a CP engine that we call CPO.

    In your .mod add

    using CP;

    and your model will work fine

    regards


    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 5.  Re: LP constraint

    Posted 07/22/15 02:17 PM

    Originally posted by: Abdelraheem


    Thanks !

    that was a very useful hint 


    #DecisionOptimization
    #OPLusingCPLEXOptimizer