Package: diffcp 0.1.2
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:
diffcp_0.1.2.tar.gz
diffcp_0.1.2.zip(r-4.7-x86_64)diffcp_0.1.2.zip(r-4.7-arm64)diffcp_0.1.2.zip(r-4.6-x86_64)diffcp_0.1.2.zip(r-4.6-arm64)diffcp_0.1.2.zip(r-4.5-x86_64)
diffcp_0.1.2.tgz(r-4.6-x86_64)diffcp_0.1.2.tgz(r-4.6-arm64)diffcp_0.1.2.tgz(r-4.5-x86_64)diffcp_0.1.2.tgz(r-4.5-arm64)
diffcp_0.1.2.tar.gz(r-4.7-arm64)diffcp_0.1.2.tar.gz(r-4.7-x86_64)diffcp_0.1.2.tar.gz(r-4.6-arm64)diffcp_0.1.2.tar.gz(r-4.6-x86_64)
diffcp_0.1.2.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
diffcp/json (API)
| # 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
Last updated from:d494810599. Checks:15 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-arm64 | OK | 155 | ||
| linux-devel-x86_64 | OK | 171 | ||
| source / vignettes | OK | 273 | ||
| linux-release-arm64 | OK | 194 | ||
| linux-release-x86_64 | OK | 195 | ||
| macos-release-arm64 | OK | 131 | ||
| macos-release-x86_64 | OK | 282 | ||
| macos-oldrel-arm64 | OK | 107 | ||
| macos-oldrel-x86_64 | OK | 308 | ||
| windows-devel-arm64 | OK | 283 | ||
| windows-devel-x86_64 | OK | 190 | ||
| windows-release-arm64 | OK | 239 | ||
| windows-release-x86_64 | OK | 158 | ||
| windows-oldrel-x86_64 | OK | 163 | ||
| wasm-release | OK | 215 |
Exports:CONESEQ_DIMEXPEXP_DUALparse_cone_dictpiPOSPSDSOCsolve_and_derivativesolve_onlyunvec_symmupstream_infovec_symmZERO
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Parse an SCS-style cone dictionary into an ordered list | parse_cone_dict |
| Projection onto a Cartesian product of cones | pi |
| Solve a cone program and return forward / adjoint derivative operators | solve_and_derivative |
| Solve a cone program (forward only) | solve_only |
| Inverse of 'vec_symm' | unvec_symm |
| Upstream Python diffcp pin | upstream_info |
| Symmetric vectorization (SCS convention) | vec_symm |
