Crandore Hub

diffcp

Differentiating Through Cone Programs

A pure-R 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>.

Versions across snapshots

VersionRepositoryFileSize
0.1.0 rolling linux/jammy R-4.5 diffcp_0.1.0.tar.gz 319.3 KiB
0.1.0 rolling linux/noble R-4.5 diffcp_0.1.0.tar.gz 326.9 KiB
0.1.0 rolling source/ R- diffcp_0.1.0.tar.gz 216.5 KiB
0.1.0 latest linux/jammy R-4.5 diffcp_0.1.0.tar.gz 319.3 KiB
0.1.0 latest linux/noble R-4.5 diffcp_0.1.0.tar.gz 326.9 KiB
0.1.0 latest source/ R- diffcp_0.1.0.tar.gz 216.5 KiB
0.1.0 2026-04-23 source/ R- diffcp_0.1.0.tar.gz 0 B

Dependencies (latest)

Imports

LinkingTo

Suggests