Skip to main content

QOCOGEN

drawing

PyPI Downloads Documentation License

QOCOGEN is a code generator which takes in an second-order cone program problem family and generates a customized C solver (called qoco_custom) for the specified problem family which implements the same algorithm as QOCO. This customized solver is library-free, only uses static memory allocation, and can be a few times faster than QOCO.

Installation and Usage

You can install qocogen by running pip install qocogen.

For instructions on using QOCOGEN, refer to the documentation.

Tests

To run tests, first install cvxpy and pytest

pip install cvxpy pytest

and execute:

pytest

Bug reports

File any issues or bug reports using the issue tracker.

Citing

@misc{chari2025qoco,
  title         = {QOCO: A Quadratic Objective Conic Optimizer with Custom Solver Generation},
  author        = {Chari, Govind M and A{\c{c}}{\i}kme{\c{s}}e, Beh{\c{c}}et},
  year          = {2025},
  eprint        = {2503.12658},
  archiveprefix = {arXiv},
  primaryclass  = {math.OC},
  url           = {https://arxiv.org/abs/2503.12658}
}

License

QOCOGEN is licensed under the BSD-3-Clause license.

Metadata

Release files for qocogen 0.1.9

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

Source distribution (sdist)

Source distribution for qocogen 0.1.9
File Size Uploaded Provenance
qocogen-0.1.9.tar.gz 21.7 kB Without provenance Details

Built distribution (wheel)

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

Total release size: 39.8 kB

Release files / qocogen-0.1.9.tar.gz

Download URL qocogen-0.1.9.tar.gz
Size 21.7 kB
Tags Source
SHA-256 checksum
How to use checksums
08e932117c2531e5a4bc0fbffbf3583aaa38b04d0855edd11a5c732e792e9ddf
BLAKE2b-256 checksum
How to use checksums
392c9c3715930a7de72dc22f22f8354935b33b261cdf78ded5928f8b3157b05b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.1

Release files / qocogen-0.1.9-py3-none-any.whl

Download URL qocogen-0.1.9-py3-none-any.whl
Size 18.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ab87358df9f044d27105280e6bab2f636ceadcdf71c65d55da7c2fda4aa28f21
BLAKE2b-256 checksum
How to use checksums
94b0e1554f60a755c6e5a1872d69b00174d1254e19c47f013091f58286e19141
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.1

Security for qocogen 0.1.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

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