Core status, memory, matrix, and shared solver option types.
enum CoppStatus copp3_socp(struct Copp3Problem problem, struct CoppClarabelOptions options, struct CoppProfile3rd *out_profile)
Solve a COPP3-SOCP problem.
void copp3_socp_result_free(struct Copp3SocpResult result)
Release memory owned by a Copp3SocpResult.
enum CoppStatus copp3_socp_expert(struct Copp3Problem problem, struct CoppClarabelOptions options, struct Copp3SocpResult *out_result)
Solve a COPP3-SOCP problem and always return Clarabel diagnostics.
CoppClarabelSolverStatus
Clarabel solver status returned by SOCP expert results.
CoppStatus
C ABI status code returned by COPP FFI functions.
Borrowed value descriptor for a COPP3 problem solved from C.
Compact COPP3-SOCP expert result returned to C.
struct CoppProfile3rd profile
Accepted third-order profile, or an empty profile when has_profile == false.
struct CoppVecF64 s
Raw Clarabel primal-cone slack vector.
struct CoppVecF64 z
Raw Clarabel dual solution vector.
double obj_val
Primal objective value reported by Clarabel.
struct CoppVecF64 objective_terms
Per-objective unweighted values computed from accepted profile.
double solve_time
Clarabel solve time in seconds.
double objective_value
Weighted COPP objective value computed from accepted profile; NaN otherwise.
struct CoppClarabelLinearSolverInfo linsolver
Linear solver metadata reported by Clarabel.
enum CoppClarabelSolverStatus solver_status
Final Clarabel solver status.
double obj_val_dual
Dual objective value reported by Clarabel.
bool has_profile
Whether profile contains an accepted third-order profile.
double r_prim
Primal residual reported by Clarabel.
struct CoppVecF64 x
Raw Clarabel primal solution vector.
double r_dual
Dual residual reported by Clarabel.
uint32_t iterations
Number of interior-point iterations.
Linear solver metadata reported by Clarabel.
Shared Clarabel options for COPP SOCP solvers.
Owned third-order profile returned by TOPP3/COPP3 C ABI solvers.
Library-owned f64 vector returned to C.
TOPP3-LP and TOPP3-SOCP APIs.