copp.solver.copp2_socp.Result

COPP2-SOCP expert result with Clarabel diagnostics.

Description

Result is returned by solve_expert(). The accepted a(s) profile is stored in A only when HAS_A is true. A is an s_len-by-1 double column vector. Raw Clarabel vectors X, Z, and S are also stored as double column vectors. Diagnostics are populated regardless of whether the final solver status is accepted.

Input Arguments

has_a

Whether a second-order expert result contains an accepted a profile.

a

Second-order node profile. Element a(k) stores the squared path speed \((ds/dt)^2\) at station s(k).

x

Input value for copp.solver.copp2_socp.Result. See Description for accepted shape and constraints.

z

Input value for copp.solver.copp2_socp.Result. See Description for accepted shape and constraints.

s

Station grid or path-parameter samples. Use a real finite vector; station-grid inputs are usually strictly increasing.

solver_status

Backend solver status normalized to a lower-snake-case MATLAB string.

obj_val

Input value for copp.solver.copp2_socp.Result. See Description for accepted shape and constraints.

obj_val_dual

Input value for copp.solver.copp2_socp.Result. See Description for accepted shape and constraints.

solve_time

Input value for copp.solver.copp2_socp.Result. See Description for accepted shape and constraints.

iterations

Input value for copp.solver.copp2_socp.Result. See Description for accepted shape and constraints.

r_prim

Input value for copp.solver.copp2_socp.Result. See Description for accepted shape and constraints.

r_dual

Input value for copp.solver.copp2_socp.Result. See Description for accepted shape and constraints.

linsolver

Input value for copp.solver.copp2_socp.Result. See Description for accepted shape and constraints.

objective_value

Weighted COPP objective value reported by the solver when available.

objective_terms

Per-objective unweighted values reported by expert solver results.

Properties

has_a

Whether A contains an accepted a(s) profile.

a

Accepted s_len-by-1 node profile \(a = (ds/dt)^2\), or [].

x

Raw Clarabel primal solution vector, stored as a column.

z

Raw Clarabel dual solution vector, stored as a column.

s

Raw Clarabel slack solution vector, stored as a column.

obj_val

Raw Clarabel primal objective value.

solve_time

Clarabel-reported solve time in seconds.

r_prim

Final primal residual reported by Clarabel.

r_dual

Final dual residual reported by Clarabel.

linsolver

Struct with method, threads, direct, nnz_a, and nnz_l.

Methods

See Also

copp.solver.copp2_socp