This repo contains the implementation of the experiments in the paper "Complexity of Minimizing Regularized Convex Quadratic Functions" by Daniel Berg Thomsen and Nikita Doikov. For the moment, the paper is available on arXiv: https://arxiv.org/abs/2404.17543
The following will download and install the necessary dependencies:
pip install -r requirements.txtTo generate a given figure from the paper, simply execute the given file directly in python (or run each cell it it's a jupyter notebook) without any arguments:
- Figure 1 (a and b):
experiment_functional_residual.py - Figure 2 (a and b):
experiment_lower_bound.py, andexperiment_lower_bound_uniform_pi.py - Figure 3:
experiment_one_step_methods.py - Figure 4 (a and b):
experiment_estimated_eigenvalues.py
After finishing execution, the figures will be saved in the figures directory.
All the experiments have adjustable parameters that can be set either in the script or by passing them as arguments. The following is an example of how to run an experiment with different parameters:
python experiment_lower_bound.py \
--power 6 \
--figure_path "figures/lower_bound_p=6.pdf"Note that the plotting functions have been written with a specific set of parameters in mind and may have to be adjusted.
If you find this repo or the paper itself to be relevant for your work, please consider citing our paper. For now, you can use the following BibTeX entry:
@misc{bergthomsen2024complexity,
title={Complexity of Minimizing Regularized Convex Quadratic Functions},
author={Daniel Berg Thomsen and Nikita Doikov},
year={2024},
eprint={2404.17543},
archivePrefix={arXiv},
primaryClass={math.OC},
url={https://arxiv.org/abs/2404.17543},
}