Mirrors diffcp.cone_program.solve_only. Solves
minimize c^T x (+ 0.5 x^T P x)
subject to A x + s = b, s in K
and returns the optimal (x, y, s). Unlike solve_and_derivative
this function does not build the derivative closures.
Arguments
- A
A sparse
dgCMatrixconstraint matrix.- b
A numeric offset vector.
- c
A numeric objective coefficient vector.
- cone_dict
A named list with cone sizes (keys among
"z","l","q","s","ep","ed").- warm_start
Optional warm-start
list(x, y, s).- solve_method
One of
"Clarabel"(default) or"SCS".- P
Optional sparse
dgCMatrixfor QP objective.- ...
Additional control parameters forwarded to the solver.