Skip to main content

gradient-projected-conjugate-gradient

This repository provides a Python implementation of the gradient projected conjugate gradient algorithm (GPCG) presented in [1] for solving bound-constrained quadratic programs of the form

\text{argmin}_{ x_i \in [l_i, u_i] \text{ for } i = 1, \ldots, n } \,\, \frac{1}{2} x^T A x - b^T x

where $b \in \mathbb{R}^n$ and $A \in \mathbb{R}^{n \times n}$ is a SPD matrix. Here the $l_i$ and/or $u_i$ may be infinite, e.g., we can solve quadratic programs with nonnegativity constraints.

This implementation is still experimental. Install with pip install -e . or python setup.py.

References

[1] Moré, J., & Toraldo, G. (1991). On the Solution of Large Quadratic Programming Problems with Bound Constraints. SIAM Journal on Optimization, 1(1), 93-113.

Metadata

Release files for gpcg 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for gpcg 0.0.1
File Size Uploaded
gpcg-0.0.1.tar.gz 9.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for gpcg 0.0.1
File Interpreter ABI Platform
gpcg-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 18.5 kB

Release files / gpcg-0.0.1.tar.gz

Download URL gpcg-0.0.1.tar.gz
Size 9.2 kB
Tags Source
SHA-256 checksum
How to use checksums
d4c0717cc4aa4f0060569f5f62532098434210af857497a99b213deb4892ae7c
BLAKE2b-256 checksum
How to use checksums
5e22138648423d7449819395934f76f42bc23b8810b5a4774b6adafdd1e2dedb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.8.12

Release files / gpcg-0.0.1-py3-none-any.whl

Download URL gpcg-0.0.1-py3-none-any.whl
Size 9.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4c55648dc0c631000e2dd0a733f74c929dbd3d67dcd4a1210113b818725bc768
BLAKE2b-256 checksum
How to use checksums
5fec2dd01bf9be503e67ba640877c9a5f936910fe351e2ff7cd5a939a534d7b1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.8.12

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page