Skip to content

We introduce and study spatiotemporal online allocation with deadline constraints (๐–ฒ๐–ฎ๐– ๐–ฃ), a new online problem motivated by emerging challenges in sustainability and energy.

Notifications You must be signed in to change notification settings

umassos/soad-experiments

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

4 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Learning-Augmented Competitive Algorithms for Spatiotemporal Online Allocation with Deadline Constraints

We introduce and study spatiotemporal online allocation with deadline constraints (๐–ฒ๐–ฎ๐– ๐–ฃ), a new online problem motivated by emerging challenges in sustainability and energy. In ๐–ฒ๐–ฎ๐– ๐–ฃ, an online player completes a workload by allocating and scheduling it on the points of a metric space (X,d) while subject to a deadline T. At each time step, a service cost function is revealed that represents the cost of servicing the workload at each point, and the player must irrevocably decide the current allocation of work to points. Whenever the player moves this allocation, they incur a movement cost defined by the distance metric d(โ‹…, โ‹…) that captures, e.g., an overhead cost. ๐–ฒ๐–ฎ๐– ๐–ฃ formalizes the open problem of combining general metrics and deadline constraints in the online algorithms literature, unifying problems such as metrical task systems and online search. We propose a competitive algorithm for ๐–ฒ๐–ฎ๐– ๐–ฃ along with a matching lower bound establishing its optimality. Our main algorithm, ST-CLIP, is a learning-augmented algorithm that takes advantage of predictions (e.g., forecasts of relevant costs) and achieves an optimal consistency-robustness trade-off. We evaluate our proposed algorithms in a simulated case study of carbon-aware spatiotemporal workload management, an application in sustainable computing that schedules a delay-tolerant batch compute job on a distributed network of data centers. In these experiments, we show that ST-CLIP substantially improves on heuristic baseline methods.

Note

๐Ÿšง We are working on improving the comment and description quality of the code in this repository -- please check back in a few weeks for a more "user-friendly" codebase!

Python code

Our experimental code has been written in Python and Cython. We recommend using a tool to manage Python virtual environments, such as Miniconda. There are several required Python packages:

Files and Descriptions

(๐Ÿšง under construction)

Dataset References

Carbon Intensity Data:

Electricity Maps. retrieved 2024. https://www.electricitymaps.com

WattTime. retrieved 2024. https://watttime.org

Carbon Intensity Forecasts:

Diptyaroop Maji, Prashant Shenoy, and Ramesh K. Sitaraman. 2022. CarbonCast: multi-day forecasting of grid carbon intensity. In Proceedings of the 9th ACM International Conference on Systems for Energy-Efficient Buildings, Cities, and Transportation (BuildSys '22). Association for Computing Machinery, New York, NY, USA, 198โ€“207. https://doi.org/10.1145/3563357.3564079

Reproducing Results

(๐Ÿšง under construction)

Citation

@inproceedings{lechowicz2025soad, title={Learning-Augmented Competitive Algorithms for Spatiotemporal Online Allocation with Deadline Constraints}, volume={9}, ISSN={2476-1249}, url={http://dx.doi.org/10.1145/3711701}, DOI={10.1145/3711701}, number={1}, journal={Proceedings of the ACM on Measurement and Analysis of Computing Systems}, publisher={Association for Computing Machinery (ACM)}, author={Lechowicz, Adam and Christianson, Nicolas and Sun, Bo and Bashir, Noman and Hajiesmaili, Mohammad and Wierman, Adam and Shenoy, Prashant}, year={2025}, month={Mar}, pages={1โ€“49} }

About

We introduce and study spatiotemporal online allocation with deadline constraints (๐–ฒ๐–ฎ๐– ๐–ฃ), a new online problem motivated by emerging challenges in sustainability and energy.

Resources

Stars

Watchers

Forks