Competitive Algorithms for the Online Multiple Knapsack Problem with Application to Electric Vehicle Charging

We introduce and study a general version of the fractional online knapsack problem with multiple knapsacks, heterogeneous constraints on which items can be assigned to which knapsack, and rate-limiting constraints on the assignment of items to knapsacks. This problem generalizes variations of the knapsack problem and of the one-way trading problem that have previously been treated separately, and additionally finds application to the real-time control of electric vehicle (EV) charging. We introduce a new algorithm that achieves a competitive ratio within an additive factor of one of the best achievable competitive ratios for the general problem and matches or improves upon the best-known competitive ratio for special cases in the knapsack and one-way trading literatures. Moreover, our analysis provides a novel approach to online algorithm design based on an instance-dependent primal-dual analysis that connects the identification of worst-case instances to the design of algorithms. Finally, we illustrate the proposed algorithm via trace-based experiments of EV charging.

[1]  Ishai Menache,et al.  Efficient online scheduling for deadline-sensitive jobs: extended abstract , 2013, SPAA.

[2]  Lin Yang,et al.  Online Linear Programming with Uncertain Constraints , 2019 .

[3]  Ness B. Shroff,et al.  Online welfare maximization for electric vehicle charging with electricity cost , 2014, e-Energy.

[4]  Deeparnab Chakrabarty,et al.  Budget constrained bidding in keyword auctions and online knapsack problems , 2008, WINE.

[5]  George S. Lueker,et al.  Average-case analysis of off-line and on-line knapsack problems , 1995, SODA '95.

[6]  Zongpeng Li,et al.  Optimal Posted Prices for Online Cloud Resource Allocation , 2017, Proc. ACM Meas. Anal. Comput. Syst..

[7]  Vincent K. N. Lau,et al.  Convergence Analysis of Saddle Point Problems in Time Varying Wireless Systems— Control Theoretical Approach , 2011, IEEE Transactions on Signal Processing.

[8]  Elad Hazan,et al.  Competing in the Dark: An Efficient Algorithm for Bandit Linear Optimization , 2008, COLT.

[9]  WiermanAdam,et al.  Competitive Online Optimization under Inventory Constraints , 2019 .

[10]  Xue Liu,et al.  Temporal Load Balancing with Service Delay Guarantees for Data Center Energy Cost Optimization , 2014, IEEE Transactions on Parallel and Distributed Systems.

[11]  Ness B. Shroff,et al.  Online multi-resource allocation for deadline sensitive jobs with partial values in the cloud , 2016, IEEE INFOCOM 2016 - The 35th Annual IEEE International Conference on Computer Communications.

[12]  Bruce M. Maggs,et al.  Cutting the electric bill for internet-scale systems , 2009, SIGCOMM '09.

[13]  Wei Wang,et al.  Competitive difference analysis of the one-way trading problem with limited information , 2016, Eur. J. Oper. Res..

[14]  Bin Fu,et al.  Competitive Algorithms for Unbounded One-Way Trading , 2014, AAIM.

[15]  Danny H. K. Tsang,et al.  Online Combinatorial Auctions for Resource Allocation With Supply Costs and Capacity Limits , 2020, IEEE Journal on Selected Areas in Communications.

[16]  Josip Pečarić,et al.  Inequalities Involving Functions and Their Integrals and Derivatives , 1991 .

[17]  Steven H. Low,et al.  Optimal online adaptive electric vehicle charging , 2017, 2017 IEEE Power & Energy Society General Meeting.

[18]  Edward F. Grove The harmonic online K-server algorithm is competitive , 1991, STOC '91.

[19]  Cong Wang,et al.  Sustainable Cloud Encoding for Adaptive Bitrate Streaming over CDNs , 2019, 2019 IEEE International Symposium on Local and Metropolitan Area Networks (LANMAN).

[20]  Adam Wierman,et al.  Competitive Online Optimization under Inventory Constraints , 2019, Proc. ACM Meas. Anal. Comput. Syst..

[21]  Danny H. K. Tsang,et al.  ORC: An Online Competitive Algorithm for Recommendation and Charging Schedule in Electric Vehicle Charging Network , 2020, e-Energy.

[22]  Cheng Jin,et al.  Large-Scale Adaptive Electric Vehicle Charging , 2018, 2018 IEEE International Conference on Communications, Control, and Computing Technologies for Smart Grids (SmartGridComm).

[23]  Zizhuo Wang,et al.  A Dynamic Near-Optimal Algorithm for Online Linear Programming , 2009, Oper. Res..

[24]  Joseph Naor,et al.  Efficient online scheduling for deadline-sensitive jobs: extended abstract , 2013, SPAA.

[25]  Prashant J. Shenoy,et al.  Combining Renewable Solar and Open Air Cooling for Greening Internet-Scale Distributed Networks , 2019, e-Energy.

[26]  David Pisinger,et al.  Where are the hard knapsack problems? , 2005, Comput. Oper. Res..

[27]  Enrique Mallada,et al.  Online EV Scheduling Algorithms for Adaptive Charging Networks with Global Peak Constraints , 2022, IEEE Transactions on Sustainable Computing.

[28]  Joseph Naor,et al.  The Design of Competitive Online Algorithms via a Primal-Dual Approach , 2009, Found. Trends Theor. Comput. Sci..

[29]  Lachlan L. H. Andrew,et al.  Greening Geographical Load Balancing , 2015, IEEE/ACM Transactions on Networking.

[30]  Nikhil R. Devanur,et al.  Online matching with concave returns , 2012, STOC '12.

[31]  Adam Wierman,et al.  Online Linear Optimization with Inventory Management Constraints , 2020, Proc. ACM Meas. Anal. Comput. Syst..

[32]  Rajesh Gupta,et al.  Energy Efficient Geographical Load Balancing via Dynamic Deferral of Workload , 2012, 2012 IEEE Fifth International Conference on Cloud Computing.

[33]  Noël Crespi,et al.  Competitive Online Scheduling Algorithms with Applications in Deadline-Constrained EV Charging , 2018, 2018 IEEE/ACM 26th International Symposium on Quality of Service (IWQoS).

[34]  Stephen P. Boyd,et al.  Convex Optimization , 2004, Algorithms and Theory of Computation Handbook.

[35]  Jeremie Leguay,et al.  Online experts for admission control in SDN , 2016, NOMS 2016 - 2016 IEEE/IFIP Network Operations and Management Symposium.

[36]  Kazuo Iwama,et al.  Removable Online Knapsack Problems , 2002, ICALP.

[37]  G. S. Jones Fundamental inequalities for discrete and dis- continuous functional equations , 1964 .

[38]  Micah Adler,et al.  Algorithms for optimizing the bandwidth cost of content delivery , 2011, Comput. Networks.

[39]  Bo Sun,et al.  Mechanism Design for Online Resource Allocation: A Unified Approach , 2020, SIGMETRICS.

[40]  AgrawalShipra,et al.  A Dynamic Near-Optimal Algorithm for Online Linear Programming , 2014 .

[41]  Ran El-Yaniv,et al.  Optimal Search and One-Way Trading Online Algorithms , 2001, Algorithmica.

[42]  Joseph Naor,et al.  Online Primal-Dual Algorithms for Covering and Packing , 2009, Math. Oper. Res..

[43]  Kazuo Iwama,et al.  Average-case competitive analyses for one-way trading , 2011, J. Comb. Optim..

[44]  Noel Crespi,et al.  Online EV Charging Scheduling With On-Arrival Commitment , 2019, IEEE Transactions on Intelligent Transportation Systems.

[45]  Hans Kellerer,et al.  Multiple Knapsack Problems , 2004 .

[46]  John Noga,et al.  An online partially fractional knapsack problem , 2005, 8th International Symposium on Parallel Architectures,Algorithms and Networks (ISPAN'05).

[47]  Ramesh K. Sitaraman,et al.  BOLA: Near-Optimal Bitrate Adaptation for Online Videos , 2016, IEEE/ACM Transactions on Networking.

[48]  Robert Dochow,et al.  Optimal solutions for the online time series search and one-way trading problem with interrelated prices and a profit function , 2018, Comput. Ind. Eng..

[49]  Na Li,et al.  On the Exponential Stability of Primal-Dual Gradient Dynamics , 2018, IEEE Control Systems Letters.

[50]  LiZongpeng,et al.  Optimal Posted Prices for Online Cloud Resource Allocation , 2017 .