Skip to content
@qoco-org

qoco-org

An organization for the QOCO solver and related repositories

QOCO - Quadratic Objective Conic Optimizer

drawing

PyPI Downloads License Documentation

QOCO is a convex solver for Second-Order Cone Programs (SOCPs) which implements a primal-dual interior point method. It is written in C, has a BSD-3-Clause license, and is contained in qoco.

QOCOGEN is a code generator housed in qocogen 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.

QOCO has a python interface, and can be used in CVXPY.

Check out the documentation to learn how to use QOCO and QOCOGEN in your projects.

Installing

C

QOCO's C code can be found here, and build instructions can be found here.

Python

QOCO is available through PyPI by running

pip install qoco

QOCOGEN is only available through PyPI and can be installed by running

pip install qocogen

Matlab

QOCO's matlab wrapper can be found here, and build instructions can be found here.

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}
}

Popular repositories Loading

  1. qoco qoco Public

    Quadratic Objective Conic Optimizer

    C 28 1

  2. qoco-python qoco-python Public

    Python interface for the QOCO solver

    Python 9

  3. qocogen qocogen Public

    Custom solver generator for quadratic objective SOCPs

    Python 7

  4. qoco-matlab qoco-matlab Public

    Matlab interface for the QOCO solver

    MATLAB 3

  5. qoco-benchmarks qoco-benchmarks Public

    Benchmarks for QOCO/QOCOGEN against Gurobi, Mosek, ECOS, and Clarabel

    TeX 2

  6. .github .github Public

Repositories

Showing 6 of 6 repositories
  • qoco Public

    Quadratic Objective Conic Optimizer

    qoco-org/qoco’s past year of commit activity
    C 28 BSD-3-Clause 1 0 0 Updated Mar 27, 2025
  • qocogen Public

    Custom solver generator for quadratic objective SOCPs

    qoco-org/qocogen’s past year of commit activity
    Python 7 BSD-3-Clause 0 0 0 Updated Mar 27, 2025
  • qoco-python Public

    Python interface for the QOCO solver

    qoco-org/qoco-python’s past year of commit activity
    Python 9 BSD-3-Clause 0 0 0 Updated Mar 26, 2025
  • qoco-benchmarks Public

    Benchmarks for QOCO/QOCOGEN against Gurobi, Mosek, ECOS, and Clarabel

    qoco-org/qoco-benchmarks’s past year of commit activity
    TeX 2 0 0 0 Updated Mar 26, 2025
  • qoco-matlab Public

    Matlab interface for the QOCO solver

    qoco-org/qoco-matlab’s past year of commit activity
    MATLAB 3 BSD-3-Clause 0 0 0 Updated Mar 26, 2025
  • .github Public
    qoco-org/.github’s past year of commit activity
    0 0 0 0 Updated Mar 26, 2025

Top languages

Loading…

Most used topics

Loading…