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.
Definition core.h:318
CoppStatus
C ABI status code returned by COPP FFI functions.
Definition core.h:34
Borrowed value descriptor for a COPP3 problem solved from C.
Definition formulation.h:254
Compact COPP3-SOCP expert result returned to C.
Definition copp3.h:40
struct CoppProfile3rd profile
Accepted third-order profile, or an empty profile when has_profile == false.
Definition copp3.h:49
struct CoppVecF64 s
Raw Clarabel primal-cone slack vector.
Definition copp3.h:61
struct CoppVecF64 z
Raw Clarabel dual solution vector.
Definition copp3.h:57
double obj_val
Primal objective value reported by Clarabel.
Definition copp3.h:69
struct CoppVecF64 objective_terms
Per-objective unweighted values computed from accepted profile.
Definition copp3.h:102
double solve_time
Clarabel solve time in seconds.
Definition copp3.h:77
double objective_value
Weighted COPP objective value computed from accepted profile; NaN otherwise.
Definition copp3.h:98
struct CoppClarabelLinearSolverInfo linsolver
Linear solver metadata reported by Clarabel.
Definition copp3.h:93
enum CoppClarabelSolverStatus solver_status
Final Clarabel solver status.
Definition copp3.h:65
double obj_val_dual
Dual objective value reported by Clarabel.
Definition copp3.h:73
bool has_profile
Whether profile contains an accepted third-order profile.
Definition copp3.h:44
double r_prim
Primal residual reported by Clarabel.
Definition copp3.h:85
struct CoppVecF64 x
Raw Clarabel primal solution vector.
Definition copp3.h:53
double r_dual
Dual residual reported by Clarabel.
Definition copp3.h:89
uint32_t iterations
Number of interior-point iterations.
Definition copp3.h:81
Linear solver metadata reported by Clarabel.
Definition core.h:372
Shared Clarabel options for COPP SOCP solvers.
Definition core.h:565
Owned third-order profile returned by TOPP3/COPP3 C ABI solvers.
Definition formulation.h:168
Library-owned f64 vector returned to C.
Definition core.h:743
TOPP3-LP and TOPP3-SOCP APIs.