├── .gitignore ├── LICENSE ├── MANIFEST.in ├── README.md ├── a2dr ├── __init__.py ├── acceleration.py ├── precondition.py ├── proximal │ ├── README.md │ ├── __init__.py │ ├── composition.py │ ├── constraint.py │ ├── elementwise.py │ ├── interface.py │ ├── matrix.py │ ├── misc.py │ ├── norm.py │ ├── projection.py │ └── quadratic.py ├── solver.py ├── tests │ ├── __init__.py │ ├── base_test.py │ ├── test_basic.py │ ├── test_precondition.py │ ├── test_projection.py │ └── test_proximal.py └── utilities.py ├── examples ├── README.md ├── figures │ ├── coupled_qp.pdf │ ├── l1_trend_filter.pdf │ ├── multitask_reglog.pdf │ ├── nnls.pdf │ ├── nnls_rerun.pdf │ ├── opt_cont.pdf │ ├── reg_effect.pdf │ ├── single_com_flow.pdf │ ├── sparse_inv_cov_est_large.pdf │ └── sparse_inv_cov_est_small.pdf ├── notebooks │ ├── coupled_qp.ipynb │ ├── data │ │ └── snp500.txt │ ├── equil.ipynb │ ├── l1_trend_filter.ipynb │ ├── multitask_reg_logistic.ipynb │ ├── nnls.ipynb │ ├── optimal_control.ipynb │ ├── paper_plots.ipynb │ ├── single_commodity_flow.ipynb │ └── sparse_inv_cov_est.ipynb ├── other_examples │ ├── simple_logistic.py │ └── stratified_model.py └── paper_examples │ ├── coupled_qp.py │ ├── l1_trend_filtering.py │ ├── multitask_reg_logistic.py │ ├── nnls.py │ ├── nnls_reg.py │ ├── optimal_control.py │ ├── paper_plots.py │ ├── single_commodity_flow.py │ └── sparse_inv_cov_est.py └── setup.py /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cvxgrp/a2dr/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cvxgrp/a2dr/HEAD/LICENSE -------------------------------------------------------------------------------- /MANIFEST.in: -------------------------------------------------------------------------------- 1 | include LICENSE 2 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cvxgrp/a2dr/HEAD/README.md -------------------------------------------------------------------------------- /a2dr/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cvxgrp/a2dr/HEAD/a2dr/__init__.py -------------------------------------------------------------------------------- /a2dr/acceleration.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cvxgrp/a2dr/HEAD/a2dr/acceleration.py -------------------------------------------------------------------------------- /a2dr/precondition.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cvxgrp/a2dr/HEAD/a2dr/precondition.py -------------------------------------------------------------------------------- /a2dr/proximal/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cvxgrp/a2dr/HEAD/a2dr/proximal/README.md -------------------------------------------------------------------------------- /a2dr/proximal/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cvxgrp/a2dr/HEAD/a2dr/proximal/__init__.py -------------------------------------------------------------------------------- /a2dr/proximal/composition.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cvxgrp/a2dr/HEAD/a2dr/proximal/composition.py -------------------------------------------------------------------------------- /a2dr/proximal/constraint.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cvxgrp/a2dr/HEAD/a2dr/proximal/constraint.py -------------------------------------------------------------------------------- /a2dr/proximal/elementwise.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cvxgrp/a2dr/HEAD/a2dr/proximal/elementwise.py -------------------------------------------------------------------------------- /a2dr/proximal/interface.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cvxgrp/a2dr/HEAD/a2dr/proximal/interface.py -------------------------------------------------------------------------------- /a2dr/proximal/matrix.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cvxgrp/a2dr/HEAD/a2dr/proximal/matrix.py -------------------------------------------------------------------------------- /a2dr/proximal/misc.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cvxgrp/a2dr/HEAD/a2dr/proximal/misc.py -------------------------------------------------------------------------------- /a2dr/proximal/norm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cvxgrp/a2dr/HEAD/a2dr/proximal/norm.py -------------------------------------------------------------------------------- /a2dr/proximal/projection.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cvxgrp/a2dr/HEAD/a2dr/proximal/projection.py -------------------------------------------------------------------------------- /a2dr/proximal/quadratic.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cvxgrp/a2dr/HEAD/a2dr/proximal/quadratic.py -------------------------------------------------------------------------------- /a2dr/solver.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cvxgrp/a2dr/HEAD/a2dr/solver.py -------------------------------------------------------------------------------- /a2dr/tests/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cvxgrp/a2dr/HEAD/a2dr/tests/__init__.py -------------------------------------------------------------------------------- /a2dr/tests/base_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cvxgrp/a2dr/HEAD/a2dr/tests/base_test.py -------------------------------------------------------------------------------- /a2dr/tests/test_basic.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cvxgrp/a2dr/HEAD/a2dr/tests/test_basic.py -------------------------------------------------------------------------------- /a2dr/tests/test_precondition.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cvxgrp/a2dr/HEAD/a2dr/tests/test_precondition.py -------------------------------------------------------------------------------- /a2dr/tests/test_projection.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cvxgrp/a2dr/HEAD/a2dr/tests/test_projection.py -------------------------------------------------------------------------------- /a2dr/tests/test_proximal.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cvxgrp/a2dr/HEAD/a2dr/tests/test_proximal.py -------------------------------------------------------------------------------- /a2dr/utilities.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cvxgrp/a2dr/HEAD/a2dr/utilities.py -------------------------------------------------------------------------------- /examples/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cvxgrp/a2dr/HEAD/examples/README.md -------------------------------------------------------------------------------- /examples/figures/coupled_qp.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cvxgrp/a2dr/HEAD/examples/figures/coupled_qp.pdf -------------------------------------------------------------------------------- /examples/figures/l1_trend_filter.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cvxgrp/a2dr/HEAD/examples/figures/l1_trend_filter.pdf -------------------------------------------------------------------------------- /examples/figures/multitask_reglog.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cvxgrp/a2dr/HEAD/examples/figures/multitask_reglog.pdf -------------------------------------------------------------------------------- /examples/figures/nnls.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cvxgrp/a2dr/HEAD/examples/figures/nnls.pdf -------------------------------------------------------------------------------- /examples/figures/nnls_rerun.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cvxgrp/a2dr/HEAD/examples/figures/nnls_rerun.pdf -------------------------------------------------------------------------------- /examples/figures/opt_cont.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cvxgrp/a2dr/HEAD/examples/figures/opt_cont.pdf -------------------------------------------------------------------------------- /examples/figures/reg_effect.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cvxgrp/a2dr/HEAD/examples/figures/reg_effect.pdf -------------------------------------------------------------------------------- /examples/figures/single_com_flow.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cvxgrp/a2dr/HEAD/examples/figures/single_com_flow.pdf -------------------------------------------------------------------------------- /examples/figures/sparse_inv_cov_est_large.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cvxgrp/a2dr/HEAD/examples/figures/sparse_inv_cov_est_large.pdf -------------------------------------------------------------------------------- /examples/figures/sparse_inv_cov_est_small.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cvxgrp/a2dr/HEAD/examples/figures/sparse_inv_cov_est_small.pdf -------------------------------------------------------------------------------- /examples/notebooks/coupled_qp.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cvxgrp/a2dr/HEAD/examples/notebooks/coupled_qp.ipynb -------------------------------------------------------------------------------- /examples/notebooks/data/snp500.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cvxgrp/a2dr/HEAD/examples/notebooks/data/snp500.txt -------------------------------------------------------------------------------- /examples/notebooks/equil.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cvxgrp/a2dr/HEAD/examples/notebooks/equil.ipynb -------------------------------------------------------------------------------- /examples/notebooks/l1_trend_filter.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cvxgrp/a2dr/HEAD/examples/notebooks/l1_trend_filter.ipynb -------------------------------------------------------------------------------- /examples/notebooks/multitask_reg_logistic.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cvxgrp/a2dr/HEAD/examples/notebooks/multitask_reg_logistic.ipynb -------------------------------------------------------------------------------- /examples/notebooks/nnls.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cvxgrp/a2dr/HEAD/examples/notebooks/nnls.ipynb -------------------------------------------------------------------------------- /examples/notebooks/optimal_control.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cvxgrp/a2dr/HEAD/examples/notebooks/optimal_control.ipynb -------------------------------------------------------------------------------- /examples/notebooks/paper_plots.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cvxgrp/a2dr/HEAD/examples/notebooks/paper_plots.ipynb -------------------------------------------------------------------------------- /examples/notebooks/single_commodity_flow.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cvxgrp/a2dr/HEAD/examples/notebooks/single_commodity_flow.ipynb -------------------------------------------------------------------------------- /examples/notebooks/sparse_inv_cov_est.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cvxgrp/a2dr/HEAD/examples/notebooks/sparse_inv_cov_est.ipynb -------------------------------------------------------------------------------- /examples/other_examples/simple_logistic.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cvxgrp/a2dr/HEAD/examples/other_examples/simple_logistic.py -------------------------------------------------------------------------------- /examples/other_examples/stratified_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cvxgrp/a2dr/HEAD/examples/other_examples/stratified_model.py -------------------------------------------------------------------------------- /examples/paper_examples/coupled_qp.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cvxgrp/a2dr/HEAD/examples/paper_examples/coupled_qp.py -------------------------------------------------------------------------------- /examples/paper_examples/l1_trend_filtering.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cvxgrp/a2dr/HEAD/examples/paper_examples/l1_trend_filtering.py -------------------------------------------------------------------------------- /examples/paper_examples/multitask_reg_logistic.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cvxgrp/a2dr/HEAD/examples/paper_examples/multitask_reg_logistic.py -------------------------------------------------------------------------------- /examples/paper_examples/nnls.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cvxgrp/a2dr/HEAD/examples/paper_examples/nnls.py -------------------------------------------------------------------------------- /examples/paper_examples/nnls_reg.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cvxgrp/a2dr/HEAD/examples/paper_examples/nnls_reg.py -------------------------------------------------------------------------------- /examples/paper_examples/optimal_control.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cvxgrp/a2dr/HEAD/examples/paper_examples/optimal_control.py -------------------------------------------------------------------------------- /examples/paper_examples/paper_plots.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cvxgrp/a2dr/HEAD/examples/paper_examples/paper_plots.py -------------------------------------------------------------------------------- /examples/paper_examples/single_commodity_flow.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cvxgrp/a2dr/HEAD/examples/paper_examples/single_commodity_flow.py -------------------------------------------------------------------------------- /examples/paper_examples/sparse_inv_cov_est.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cvxgrp/a2dr/HEAD/examples/paper_examples/sparse_inv_cov_est.py -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cvxgrp/a2dr/HEAD/setup.py --------------------------------------------------------------------------------