Package: diffcp 0.1.1

diffcp: Differentiating Through Cone Programs

A port of the 'python' 'diffcp' package. Computes the derivative of the optimal solution map of a convex cone program, treating the program as an implicit function of its data (constraint matrix, offset, objective coefficients, and optionally a quadratic), mirroring Agrawal et al. (2019) <doi:10.48550/arXiv.1904.09043>.

Authors:Balasubramanian Narasimhan [aut, cre], Akshay Agrawal [aut], Shane Barratt [aut], Stephen Boyd [aut], Enzo Busseti [aut], Walaa Moursi [aut]

diffcp_0.1.1.tar.gz
diffcp_0.1.1.zip(r-4.7)diffcp_0.1.1.zip(r-4.6)diffcp_0.1.1.zip(r-4.5)
diffcp_0.1.1.tgz(r-4.6-x86_64)diffcp_0.1.1.tgz(r-4.6-arm64)diffcp_0.1.1.tgz(r-4.5-x86_64)diffcp_0.1.1.tgz(r-4.5-arm64)
diffcp_0.1.1.tar.gz(r-4.7-arm64)diffcp_0.1.1.tar.gz(r-4.7-x86_64)diffcp_0.1.1.tar.gz(r-4.6-arm64)diffcp_0.1.1.tar.gz(r-4.6-x86_64)
diffcp_0.1.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
diffcp/json (API)
NEWS

# Install 'diffcp' in R:
install.packages('diffcp', repos = c('https://bnaras.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/bnaras/diffcp/issues

Pkgdown/docs site:https://bnaras.github.io

Uses libs:
  • c++– GNU Standard C++ Library v3

On CRAN:

Conda:

cpp

4.78 score 1 packages 361 downloads 15 exports 6 dependencies

Last updated from:109c12f152. Checks:13 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK188
linux-devel-x86_64OK189
source / vignettesOK259
linux-release-arm64OK179
linux-release-x86_64OK180
macos-release-arm64OK114
macos-release-x86_64OK332
macos-oldrel-arm64OK161
macos-oldrel-x86_64OK277
windows-develOK161
windows-releaseOK210
windows-oldrelOK158
wasm-releaseOK169

Exports:CONESEQ_DIMEXPEXP_DUALparse_cone_dictpiPOSPSDSOCsolve_and_derivativesolve_onlyunvec_symmupstream_infovec_symmZERO

Dependencies:clarabelclilatticeMatrixRcppRcppEigen

Differentiating Through a Cone Program with diffcp

Rendered fromdiffcp.Rmdusingknitr::rmarkdownon Jun 04 2026.

Last update: 2026-05-26
Started: 2026-05-03