A MATLAB implementation of algorithms from the following papers on Online Convex Optimization (OCO) with long term constraints on the example problem from 1 below:
- A Low Complexity Algorithm with O(√T) Regret and O(1) Constraint Violations for Online Convex Optimization with Long Term Constraints (JMLR 2020)
- Adaptive algorithms for online convex optimization with long-term constraints (ICML 2016)
MATLAB R2018a + (should work with lower versions as well)
main(5000)