Optimal Anytime Algorithms for Online Convex Optimization with Adversarial Constraints
Abstract
Lay Summary
Many real-world systems must make decisions repeatedly without knowing what will happen next. For example, a routing system may need to choose paths over time while keeping delays, bandwidth usage, or safety constraints under control. This paper studies a mathematical version of this problem, where the costs and constraints can change adversarially and the algorithm does not know in advance how long it will be used. We design new “anytime” algorithms, meaning they work well at every point in time without needing to know the final time horizon beforehand. The main idea is to track constraint violations using a carefully changing potential function, which lets the algorithm balance two goals: keeping total cost close to the best feasible fixed decision in hindsight, and keeping total constraint violation small. Our results show that these two quantities grow at nearly the best possible rate over time. This helps make online optimization methods more practical for settings where decisions must be safe, adaptive, and reliable over an unknown duration.