pub fn clarabel_to_copp3_solution(
solution_x: &[f64],
s: &[f64],
num_stationary: (usize, usize),
) -> Topp3ProfileExpand description
Extract a Topp3Profile from Clarabel decision vector for TOPP3/COPP3.
solution_xis expected in the layout[a[0], ..., a[n], b[0], ..., b[n], x_others];sis expected to be the path-grid slice used by the TOPP3/COPP3 optimization interval;- non-stationary segments are copied directly from
solution_x; num_stationaryis carried into the returned profile.
This helper intentionally does not decide status acceptance; pair it with ClarabelOptions::is_allow in caller logic.