We address the Electricity Contract Selection Problem (ECSP), of finding best parameters of an electricity contract for a client based on his/her past records of electricity consumption over a fixed time period. The objective is to optimize the electricity bill composed by some fixed cost, the cost of the subscription of the electricity contract and penalties due to overpowering when consumption exceeds subscribed power. The ECSP can be formulated as a convex separable optimization problem subject to total order constraints. Due to this special structure, ECSP is a special case of two well known classes of convex separable optimization problems, namely the minimum network flow under convex separable cost and minimizing convex separable functions under chain constraints. Both classes are well treated in the litterature and can be solved in polynomial time (Ahuja and Orlin in Oper Res 49(5):784–789, 2001; Ahuja et al. in Manag Sci 49(7):950–964, 2003; Best et al. in SIAM J Optim 10:658–672, 2000; Karzanov and McCormick in SIAM J Comput 26(4):1245–1275, 1997; Minoux in Eur J Oper Res 18(3):377–387, 1984; Minoux, in Gallo and Sandi (eds) Netflow at pisa, mathematical programming studies, Springer, Berlin, 1986). In particular, the algorithm in Ahuja and Orlin (2001) achieves the best theoretical time complexity assuming that computing the objective function value at one specific point can be done in constant time. However, when we work on a big amount of historic data as in ECSP, the time required for evaluating the objective function cannot be assumed to be O(1) anymore. In this paper, we propose a new algorithm for ECSP which is specially designed to reduce the computational effort over large scale historical data. We present numerical results showing that our algorithm outperforms the algorithm in Ahuja and Orlin (2001) when applied to consumption data of various types of clients. A robust version of ECSP based on a Seasonal and Trend decomposition approach for modelling consumption uncertainty is also investigated. The resulting worst-case cost minimization problem is shown to be efficiently solvable using the same algorithm as for deterministic ECSP.
Read full abstract