Decision Optimization

Decision Optimization

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


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
  • 1.  Error:CPLEX(default) can't extract model...

    Posted 11/21/12 06:43 AM

    Originally posted by: SystemAdmin


    Hi!My model deals with time-of-use electricity price P[t].It aims to find the right time to use a given amount of electricity so that the cost is minimized.

    The dvars are:
    StartTime[n],EndTime[n]

    The objective:
    minimize sum(t in StartTime[n]..EndTime[n]) (price[t]*Power);

    The Problem is:
    CPLEX(default) can't extract model: minimize sum(t in StartTime[n]..EndTime[n]) (price[t]*Power);

    It seems that for sum(t in x..y) (...) , x and y cannot be dvar.

    Can anybody suggest me some alternatives?

    Best Regards.
    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 2.  Re: Error:CPLEX(default) can't extract model...

    Posted 11/22/12 11:59 AM

    Originally posted by: SystemAdmin


    Hello,

    In the expression "sum(t in StartTime[n]..EndTime[n])" what is n? If it is not a constant this will not work. And it actually can not be a constant because it is an index in "StartTime[n],EndTime[n]" definition.

    Can be helpful if you post the whole code.

    Regards,
    Zahar
    #DecisionOptimization
    #OPLusingCPLEXOptimizer