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